From eeee5f34fc0a758dcd3aed183c93291c95d50be1 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Tue, 9 Jun 2009 19:19:22 +0200 Subject: [PATCH] "New message" buttons are themed now --- src/hildon2/modest-accounts-window.c | 3 ++- src/hildon2/modest-folder-window.c | 2 +- src/hildon2/modest-header-window.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/hildon2/modest-accounts-window.c b/src/hildon2/modest-accounts-window.c index b05e8dc..8723c4f 100644 --- a/src/hildon2/modest-accounts-window.c +++ b/src/hildon2/modest-accounts-window.c @@ -292,7 +292,8 @@ modest_accounts_window_new_real (void) G_CALLBACK (on_queue_changed), self); - priv->new_message_button = hildon_button_new (0, HILDON_BUTTON_ARRANGEMENT_HORIZONTAL); + priv->new_message_button = hildon_button_new (MODEST_EDITABLE_SIZE, + HILDON_BUTTON_ARRANGEMENT_HORIZONTAL); hildon_button_set_title (HILDON_BUTTON (priv->new_message_button), _("mcen_ti_new_message")); hildon_button_set_image (HILDON_BUTTON (priv->new_message_button), gtk_image_new_from_pixbuf (new_message_pixbuf)); diff --git a/src/hildon2/modest-folder-window.c b/src/hildon2/modest-folder-window.c index 9de1b80..181ae00 100644 --- a/src/hildon2/modest-folder-window.c +++ b/src/hildon2/modest-folder-window.c @@ -299,7 +299,7 @@ modest_folder_window_new (TnyFolderStoreQuery *query) G_CALLBACK (edit_mode_changed), (gpointer) self); action_area_box = hildon_tree_view_get_action_area_box (GTK_TREE_VIEW (priv->folder_view)); - priv->new_message_button = hildon_button_new (0, HILDON_BUTTON_ARRANGEMENT_HORIZONTAL); + priv->new_message_button = hildon_button_new (MODEST_EDITABLE_SIZE, HILDON_BUTTON_ARRANGEMENT_HORIZONTAL); hildon_button_set_title (HILDON_BUTTON (priv->new_message_button), _("mcen_ti_new_message")); new_message_pixbuf = modest_platform_get_icon ("general_add", MODEST_ICON_SIZE_BIG); diff --git a/src/hildon2/modest-header-window.c b/src/hildon2/modest-header-window.c index a33ac50..6fa33f2 100644 --- a/src/hildon2/modest-header-window.c +++ b/src/hildon2/modest-header-window.c @@ -506,7 +506,7 @@ modest_header_window_new (TnyFolder *folder, const gchar *account_name, const gc G_CALLBACK (edit_mode_changed), (gpointer) self); action_area_box = hildon_tree_view_get_action_area_box (GTK_TREE_VIEW (priv->header_view)); - priv->new_message_button = hildon_button_new (0, HILDON_BUTTON_ARRANGEMENT_HORIZONTAL); + priv->new_message_button = hildon_button_new (MODEST_EDITABLE_SIZE, HILDON_BUTTON_ARRANGEMENT_HORIZONTAL); hildon_button_set_title (HILDON_BUTTON (priv->new_message_button), _("mcen_ti_new_message")); new_message_pixbuf = modest_platform_get_icon ("general_add", MODEST_ICON_SIZE_BIG); -- 1.7.9.5