From 709c5d94d2c24bff83ab3267b05b1c30c9ec38b9 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Mon, 9 Mar 2009 14:09:02 +0000 Subject: [PATCH] Better layout of buttons in editor pmo-trunk-r7864 --- src/hildon2/modest-msg-edit-window.c | 2 +- src/widgets/modest-recpt-editor.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/hildon2/modest-msg-edit-window.c b/src/hildon2/modest-msg-edit-window.c index f531771..056d57d 100644 --- a/src/hildon2/modest-msg-edit-window.c +++ b/src/hildon2/modest-msg-edit-window.c @@ -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); diff --git a/src/widgets/modest-recpt-editor.c b/src/widgets/modest-recpt-editor.c index b4caefc..d0221af 100644 --- a/src/widgets/modest-recpt-editor.c +++ b/src/widgets/modest-recpt-editor.c @@ -43,6 +43,7 @@ #include #include #include +#include /* 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); -- 1.7.9.5