diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-09-30 14:34:36 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-09-30 14:34:36 +0000 |
commit | ebffc6d30549b293cf1882a89f3007af7aa9cf15 (patch) | |
tree | 5d2deb12d8b09b408fc020c9c54803d84db849da /src | |
parent | 5c5055d3846e118ec3ac2447fd10a950efd42edb (diff) | |
parent | a5ee7a6136d3ad7c714272f402f7399171b68680 (diff) | |
download | ayatana-ido-ebffc6d30549b293cf1882a89f3007af7aa9cf15.tar.gz ayatana-ido-ebffc6d30549b293cf1882a89f3007af7aa9cf15.tar.bz2 ayatana-ido-ebffc6d30549b293cf1882a89f3007af7aa9cf15.zip |
idousermenuitem: center avatar and adjust spacing.
Approved by Sebastien Bacher, PS Jenkins bot.
Diffstat (limited to 'src')
-rw-r--r-- | src/idousermenuitem.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/idousermenuitem.c b/src/idousermenuitem.c index 160df4d..c92a890 100644 --- a/src/idousermenuitem.c +++ b/src/idousermenuitem.c @@ -301,11 +301,10 @@ ido_user_menu_item_init (IdoUserMenuItem *self) // Create the UI elements. priv->user_image = gtk_image_new (); - gtk_misc_set_alignment(GTK_MISC(priv->user_image), 0.0, 0.0); priv->user_name = gtk_label_new (NULL); - priv->container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4); + priv->container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0); priv->tick_icon = gtk_image_new_from_icon_name ("account-logged-in", GTK_ICON_SIZE_MENU); @@ -315,7 +314,7 @@ ido_user_menu_item_init (IdoUserMenuItem *self) gtk_box_pack_start (GTK_BOX (priv->container), priv->user_image, FALSE, - FALSE, + TRUE, 0); gtk_box_pack_start (GTK_BOX (priv->container), priv->user_name, |