aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-searchbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-searchbar.c')
-rw-r--r--shell/e-shell-searchbar.c10
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