aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-02-12 19:09:31 +0800
committerMilan Crha <mcrha@src.gnome.org>2009-02-12 19:09:31 +0800
commit547e40879a899197ca6cc97fd3ff61df8e6b2758 (patch)
tree15d2775c7dd697238f9249a7cf791a28714bcbc2 /widgets/misc
parent73ece6ee4b8abc931609f770ccec7d566da7d40c (diff)
downloadgsoc2013-evolution-547e40879a899197ca6cc97fd3ff61df8e6b2758.tar
gsoc2013-evolution-547e40879a899197ca6cc97fd3ff61df8e6b2758.tar.gz
gsoc2013-evolution-547e40879a899197ca6cc97fd3ff61df8e6b2758.tar.bz2
gsoc2013-evolution-547e40879a899197ca6cc97fd3ff61df8e6b2758.tar.lz
gsoc2013-evolution-547e40879a899197ca6cc97fd3ff61df8e6b2758.tar.xz
gsoc2013-evolution-547e40879a899197ca6cc97fd3ff61df8e6b2758.tar.zst
gsoc2013-evolution-547e40879a899197ca6cc97fd3ff61df8e6b2758.zip
** Fix for bug #404232
2009-02-12 Milan Crha <mcrha@redhat.com> ** Fix for bug #404232 * addressbook/gui/widgets/e-addressbook-view.c: (search_activated): Rebuild view immediately for an advanced search too. * widgets/misc/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. svn path=/trunk/; revision=37253
Diffstat (limited to 'widgets/misc')
-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);