From 9cd1f937a26363aa108f3d2b36606b167597a2eb Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 8 Feb 2010 12:02:44 -0500 Subject: =?UTF-8?q?Bug=C2=A0609302=20-=20Quick=20search=20filters=20are=20?= =?UTF-8?q?broken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/e-shell-searchbar.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c index 13ff2ad2b7..272ba0e906 100644 --- a/shell/e-shell-searchbar.c +++ b/shell/e-shell-searchbar.c @@ -656,9 +656,14 @@ shell_searchbar_constructed (GObject *object) widget, "changed", G_CALLBACK (e_shell_searchbar_set_state_dirty), searchbar); - g_signal_connect_swapped ( + /* Use G_CONNECT_AFTER here so the EActionComboBox has a + * chance to update its radio actions before we go sifting + * through the radio group for the current action. */ + g_signal_connect_data ( widget, "changed", - G_CALLBACK (e_shell_view_execute_search), shell_view); + G_CALLBACK (e_shell_view_execute_search), + shell_view, (GClosureNotify) NULL, + G_CONNECT_AFTER | G_CONNECT_SWAPPED); widget = searchbar->priv->search_entry; -- cgit v1.2.3