Center label of HildonNote
authorAlberto Garcia <agarcia@igalia.com>
Mon, 27 Apr 2009 10:36:20 +0000 (12:36 +0200)
committerAlberto Garcia <agarcia@igalia.com>
Mon, 27 Apr 2009 10:36:20 +0000 (12:36 +0200)
* src/hildon-note.c (hildon_note_init): Center label.

Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
properly)

ChangeLog
src/hildon-note.c

index a972a58..8248f14 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-04-27  Alberto Garcia  <agarcia@igalia.com>
+
+       * src/hildon-note.c (hildon_note_init): Center label.
+
+       Fixes: NB#111962 (mail_in_ui_folder_move_target_error not aligned
+       properly)
+
 2009-04-27  Claudio Saavedra  <csaavedra@igalia.com>
 
        [Release 2.1.68]
index a2359a5..972e64e 100644 (file)
@@ -408,6 +408,7 @@ hildon_note_init                                (HildonNote *dialog)
 
     priv->label = gtk_label_new (NULL);
     gtk_label_set_line_wrap (GTK_LABEL (priv->label), TRUE);
+    gtk_label_set_justify (GTK_LABEL (priv->label), GTK_JUSTIFY_CENTER);
 
     priv->event_box = gtk_event_box_new ();
     priv->icon = NULL;