diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-09-30 12:48:24 +0200 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-09-30 12:48:24 +0200 |
commit | a5ee7a6136d3ad7c714272f402f7399171b68680 (patch) | |
tree | 9f90baeb6837cd4085f7cf717d674ae834a5cba9 | |
parent | 8a9333d1013c41a643504835ecab602f89955db8 (diff) | |
download | ayatana-ido-a5ee7a6136d3ad7c714272f402f7399171b68680.tar.gz ayatana-ido-a5ee7a6136d3ad7c714272f402f7399171b68680.tar.bz2 ayatana-ido-a5ee7a6136d3ad7c714272f402f7399171b68680.zip |
idousermenuitem: center user avatars and adjust spacing
-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, |