aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog8
-rw-r--r--widgets/misc/e-filter-bar.c3
2 files changed, 10 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 2c1046f0a6..d81e52d0a1 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,11 @@
+2009-02-12 Milan Crha <mcrha@redhat.com>
+
+ ** Part of fix for bug #404232
+
+ * e-filter-bar.c: (rule_advanced_response): Emit signal after
+ search bar text is set, thus the text will not be empty, which
+ is considered as "no search" these days.
+
2009-01-30 Suman Manjunath <msuman@novell.com>
** Fix for bug #342446
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index aee6ecad0b..65b25c3986 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -117,7 +117,6 @@ rule_advanced_response (GtkWidget *dialog, int response, void *data)
efb->current_query = rule;
g_object_ref (rule);
- g_signal_emit_by_name (efb, "search_activated");
gtk_widget_modify_base (esb->entry, GTK_STATE_NORMAL, &(style->base[GTK_STATE_SELECTED]));
gtk_widget_modify_text (esb->entry, GTK_STATE_NORMAL, &(style->text[GTK_STATE_SELECTED]));
@@ -126,6 +125,8 @@ rule_advanced_response (GtkWidget *dialog, int response, void *data)
e_search_bar_set_text (esb,_("Advanced Search"));
gtk_widget_set_sensitive (esb->clear_button, TRUE);
+ g_signal_emit_by_name (efb, "search_activated");
+
if (response == GTK_RESPONSE_APPLY) {
if (!rule_context_find_rule (efb->context, rule->name, rule->source))
rule_context_add_rule (efb->context, rule);