diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-04-18 14:40:33 -0400 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-04-18 14:42:57 -0400 |
commit | 0fc7c92235fa491e935a49e63c615deb72ce1baa (patch) | |
tree | ba2603a0dd0668ab9c1aab89284925e68ce04344 /gtk/gtkmessagedialog.c | |
parent | eea0cb3a68e9848c04c6d49bb725fb1beb315433 (diff) | |
download | gtk+-0fc7c92235fa491e935a49e63c615deb72ce1baa.tar.gz |
messagedialog: also set GtkMisc alignment to zero for dialog labels
Setting xalign to START is not enough to make them left-aligned in every
case. This fixes a regression introduced in commit
cc0be1f949020de1562534fbc31ddf0af4651fe2
https://bugzilla.gnome.org/show_bug.cgi?id=674286
Diffstat (limited to 'gtk/gtkmessagedialog.c')
-rw-r--r-- | gtk/gtkmessagedialog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c index 3cc8053887..e83c36a8ea 100644 --- a/gtk/gtkmessagedialog.c +++ b/gtk/gtkmessagedialog.c @@ -350,6 +350,9 @@ gtk_message_dialog_init (GtkMessageDialog *dialog) gtk_widget_set_halign (priv->secondary_label, GTK_ALIGN_START); gtk_widget_set_valign (priv->secondary_label, GTK_ALIGN_START); + gtk_misc_set_alignment (GTK_MISC (priv->label), 0.0, 0.0); + gtk_misc_set_alignment (GTK_MISC (priv->secondary_label), 0.0, 0.0); + hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); priv->message_area = gtk_box_new (GTK_ORIENTATION_VERTICAL, 12); |