diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-02-09 00:20:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-02-09 00:22:26 +0800 |
commit | 7f3440fc9e5c9fb604fbfe39f0376b5b6fd68902 (patch) | |
tree | 7fe3737c53b5d1c73672fa196ab3c9c5e0cc3709 | |
parent | 5a07799e1f5764bec4537ae2f60dcb14fbae40c7 (diff) | |
download | gsoc2013-evolution-7f3440fc9e5c9fb604fbfe39f0376b5b6fd68902.tar gsoc2013-evolution-7f3440fc9e5c9fb604fbfe39f0376b5b6fd68902.tar.gz gsoc2013-evolution-7f3440fc9e5c9fb604fbfe39f0376b5b6fd68902.tar.bz2 gsoc2013-evolution-7f3440fc9e5c9fb604fbfe39f0376b5b6fd68902.tar.lz gsoc2013-evolution-7f3440fc9e5c9fb604fbfe39f0376b5b6fd68902.tar.xz gsoc2013-evolution-7f3440fc9e5c9fb604fbfe39f0376b5b6fd68902.tar.zst gsoc2013-evolution-7f3440fc9e5c9fb604fbfe39f0376b5b6fd68902.zip |
BugĀ 609304 - Search scope forgotten if search is not performed
-rw-r--r-- | shell/e-shell-searchbar.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/shell/e-shell-searchbar.c b/shell/e-shell-searchbar.c index 2b8ae33bda..13ff2ad2b7 100644 --- a/shell/e-shell-searchbar.c +++ b/shell/e-shell-searchbar.c @@ -974,10 +974,14 @@ shell_searchbar_init (EShellSearchbar *searchbar) searchbar->priv->scope_combo_box = widget; gtk_widget_show (widget); - 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_searchbar_set_state_dirty), - searchbar); + G_CALLBACK (shell_searchbar_save_search_scope), + searchbar, (GClosureNotify) NULL, + G_CONNECT_AFTER | G_CONNECT_SWAPPED); } GType |