Better layout of buttons in editor
authorJose Dapena Paz <jdapena@igalia.com>
Mon, 9 Mar 2009 14:09:02 +0000 (14:09 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Mon, 9 Mar 2009 14:09:02 +0000 (14:09 +0000)
pmo-trunk-r7864

src/hildon2/modest-msg-edit-window.c
src/widgets/modest-recpt-editor.c

index f531771..056d57d 100644 (file)
@@ -780,7 +780,7 @@ init_window (ModestMsgEditWindow *obj)
        priv->to_field      = modest_recpt_editor_new ();
        priv->cc_field      = modest_recpt_editor_new ();
        priv->bcc_field     = modest_recpt_editor_new ();
-       subject_box = gtk_hbox_new (FALSE, 0);
+       subject_box = gtk_hbox_new (FALSE, MODEST_MARGIN_DOUBLE);
        priv->priority_icon = gtk_image_new ();
        gtk_box_pack_start (GTK_BOX (subject_box), priv->priority_icon, FALSE, FALSE, 0);
        priv->subject_field = hildon_entry_new (MODEST_EDITABLE_SIZE);
index b4caefc..d0221af 100644 (file)
@@ -43,6 +43,7 @@
 #include <string.h>
 #include <gdk/gdkkeysyms.h>
 #include <gtk/gtk.h>
+#include <modest-ui-constants.h>
 
 /* FIXNE: we should have no maemo-deps in widgets/ */
 #ifndef MODEST_TOOLKIT_GTK
@@ -121,7 +122,7 @@ modest_recpt_editor_new (void)
 {
        ModestRecptEditor *self = g_object_new (MODEST_TYPE_RECPT_EDITOR, 
                                                "homogeneous", FALSE,
-                                               "spacing", 1,
+                                               "spacing", MODEST_MARGIN_DOUBLE,
                                                NULL);
 
        return GTK_WIDGET (self);