From: Sergio Villar Senin Date: Fri, 21 Aug 2009 14:13:25 +0000 (+0200) Subject: Fixes NB#134457, fixes a "hang" when showing the sort dialog bellow the application... X-Git-Tag: 3.0.17-rc38~11 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=89492a87a614676d0e7eac1a401c7cec729b5a4d Fixes NB#134457, fixes a "hang" when showing the sort dialog bellow the application menu --- diff --git a/src/hildon2/modest-header-window.c b/src/hildon2/modest-header-window.c index c11c9b5..db3f676 100644 --- a/src/hildon2/modest-header-window.c +++ b/src/hildon2/modest-header-window.c @@ -825,8 +825,8 @@ static void setup_menu (ModestHeaderWindow *self) priv->sort_button = hildon_button_new (MODEST_EDITABLE_SIZE, HILDON_BUTTON_ARRANGEMENT_VERTICAL); hildon_button_set_title (HILDON_BUTTON (priv->sort_button), _("mcen_me_sort")); - g_signal_connect (G_OBJECT (priv->sort_button), "clicked", - G_CALLBACK (modest_ui_actions_on_sort), (gpointer) self); + g_signal_connect_after (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);