diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-02-09 01:02:44 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-02-09 01:02:44 +0800 |
commit | 9cd1f937a26363aa108f3d2b36606b167597a2eb (patch) | |
tree | 17e5dd79944cc41a2722ffc9583b225321a747c9 /shell | |
parent | 7f3440fc9e5c9fb604fbfe39f0376b5b6fd68902 (diff) | |
download | gsoc2013-evolution-9cd1f937a26363aa108f3d2b36606b167597a2eb.tar.gz gsoc2013-evolution-9cd1f937a26363aa108f3d2b36606b167597a2eb.tar.zst gsoc2013-evolution-9cd1f937a26363aa108f3d2b36606b167597a2eb.zip |
BugĀ 609302 - Quick search filters are broken
Diffstat (limited to 'shell')
-rw-r--r-- | shell/e-shell-searchbar.c | 9 |
1 files 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; |