diff options
author | Ted Gould <ted@gould.cx> | 2012-02-23 08:53:58 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-02-23 08:53:58 -0600 |
commit | d37d11adeb30b3ef5c9668a67fd906e79a69286b (patch) | |
tree | fd3087a343a1ef4e929e01336ae6394b295a2545 /src/user-widget.c | |
parent | fb82208c7c5a593eb89f1a53174978b562fcdae7 (diff) | |
parent | 1d8f0ba5ee4fcd54f51ad8727429add3639d2444 (diff) | |
download | ayatana-indicator-session-d37d11adeb30b3ef5c9668a67fd906e79a69286b.tar.gz ayatana-indicator-session-d37d11adeb30b3ef5c9668a67fd906e79a69286b.tar.bz2 ayatana-indicator-session-d37d11adeb30b3ef5c9668a67fd906e79a69286b.zip |
Updating to U. Desktop
Diffstat (limited to 'src/user-widget.c')
-rw-r--r-- | src/user-widget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/user-widget.c b/src/user-widget.c index 88ac11c..33b9e40 100644 --- a/src/user-widget.c +++ b/src/user-widget.c @@ -136,11 +136,13 @@ user_widget_init (UserWidget *self) gtk_misc_set_padding (GTK_MISC(priv->user_image),0, 4.0); priv->user_name = gtk_label_new (""); + #if HAVE_GTK3 priv->container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); #else priv->container = gtk_hbox_new (FALSE, 0); #endif + priv->tick_icon = gtk_image_new_from_icon_name ("account-logged-in", GTK_ICON_SIZE_MENU); gtk_misc_set_alignment(GTK_MISC(priv->tick_icon), 1.0, 0.5); |