Merge lp:~larsu/ido/center-user-avatar into lp:ido/13.10

Proposed by Lars Karlitski
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 150
Merged at revision: 151
Proposed branch: lp:~larsu/ido/center-user-avatar
Merge into: lp:ido/13.10
Diff against target: 25 lines (+2/-3)
1 file modified
src/idousermenuitem.c (+2/-3)
To merge this branch: bzr merge lp:~larsu/ido/center-user-avatar
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+188293@code.launchpad.net

Description of the change

idousermenuitem: center avatar and adjust spacing

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

that indeed fixes the issue!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/idousermenuitem.c'
2--- src/idousermenuitem.c 2013-07-03 02:13:03 +0000
3+++ src/idousermenuitem.c 2013-09-30 10:49:43 +0000
4@@ -301,11 +301,10 @@
5
6 // Create the UI elements.
7 priv->user_image = gtk_image_new ();
8- gtk_misc_set_alignment(GTK_MISC(priv->user_image), 0.0, 0.0);
9
10 priv->user_name = gtk_label_new (NULL);
11
12- priv->container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 4);
13+ priv->container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
14
15 priv->tick_icon = gtk_image_new_from_icon_name ("account-logged-in",
16 GTK_ICON_SIZE_MENU);
17@@ -315,7 +314,7 @@
18 gtk_box_pack_start (GTK_BOX (priv->container),
19 priv->user_image,
20 FALSE,
21- FALSE,
22+ TRUE,
23 0);
24 gtk_box_pack_start (GTK_BOX (priv->container),
25 priv->user_name,

Subscribers

People subscribed via source and target branches