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.c9
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;