diff options
author | Ted Gould <ted@gould.cx> | 2012-02-07 21:14:45 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-02-07 21:14:45 -0600 |
commit | c49024a21eb6d36afe67fc5bd6eead55e7bfbbc7 (patch) | |
tree | 2e8148be67c0d980232be867fb1ff78406444f84 /src/user-widget.c | |
parent | 669d032147326fadfd606eb22efd5ca3e5c4d39a (diff) | |
parent | 455f5df69319c0feb5e64317bef16925623e8ac5 (diff) | |
download | ayatana-indicator-session-c49024a21eb6d36afe67fc5bd6eead55e7bfbbc7.tar.gz ayatana-indicator-session-c49024a21eb6d36afe67fc5bd6eead55e7bfbbc7.tar.bz2 ayatana-indicator-session-c49024a21eb6d36afe67fc5bd6eead55e7bfbbc7.zip |
* New upstream release.
* Screensaver code cleanup
* Fix ordering of items on request
* Removing GOA support
* Fix GTK3 Box Deprecation
* Updating to dbusmenu 0.5.90
* Making the gtk logout helper and apt optional build time choices
* Add name hints to the indicators
* bump version for release
Diffstat (limited to 'src/user-widget.c')
-rw-r--r-- | src/user-widget.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user-widget.c b/src/user-widget.c index 937a9eb..88ac11c 100644 --- a/src/user-widget.c +++ b/src/user-widget.c @@ -136,7 +136,11 @@ 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); |