From 3c2f0da0fd951f3f362dc61920ea394b12d8e015 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Thu, 16 Apr 2009 11:02:44 +0000 Subject: [PATCH] Fixes NB#111362, center the title,value of sort button pmo-trunk-r8845 --- src/hildon2/modest-header-window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hildon2/modest-header-window.c b/src/hildon2/modest-header-window.c index 8924cc7..409cc25 100644 --- a/src/hildon2/modest-header-window.c +++ b/src/hildon2/modest-header-window.c @@ -619,6 +619,8 @@ static void setup_menu (ModestHeaderWindow *self) g_signal_connect (G_OBJECT (priv->sort_button), "clicked", G_CALLBACK (modest_ui_actions_on_sort), (gpointer) self); hildon_button_set_style(HILDON_BUTTON (priv->sort_button), HILDON_BUTTON_STYLE_PICKER); + hildon_button_set_title_alignment (HILDON_BUTTON (priv->sort_button), 0.5, 0.5); + hildon_button_set_value_alignment (HILDON_BUTTON (priv->sort_button), 0.5, 0.5); modest_hildon2_window_add_button_to_menu (MODEST_HILDON2_WINDOW (self), GTK_BUTTON (priv->sort_button), modest_ui_dimming_rules_on_sort); modest_hildon2_window_add_to_menu (MODEST_HILDON2_WINDOW (self), _("mcen_me_inbox_sendandreceive"), NULL, -- 1.7.9.5