aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-12 04:28:57 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-12 04:28:57 +0800
commit38e29c619141acd85876b74d8f4e122833f4a491 (patch)
tree33398faddd0b587d994d54607070afdd1ba65bb6
parent2087067750cbb6cf0124a464af06d08b3974f082 (diff)
downloadgsoc2013-evolution-38e29c619141acd85876b74d8f4e122833f4a491.tar
gsoc2013-evolution-38e29c619141acd85876b74d8f4e122833f4a491.tar.gz
gsoc2013-evolution-38e29c619141acd85876b74d8f4e122833f4a491.tar.bz2
gsoc2013-evolution-38e29c619141acd85876b74d8f4e122833f4a491.tar.lz
gsoc2013-evolution-38e29c619141acd85876b74d8f4e122833f4a491.tar.xz
gsoc2013-evolution-38e29c619141acd85876b74d8f4e122833f4a491.tar.zst
gsoc2013-evolution-38e29c619141acd85876b74d8f4e122833f4a491.zip
Fix for bug #55267.
2004-03-11 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55267. * e-filter-bar.c (set_property): Use efb->setquery properly (set to TRUE before calling set_item_id and FLASE afterwards). Also setquery to TRUE before emitting the "search-activated" signal so that we don't run the callback for the signal we are emitting. svn path=/trunk/; revision=25032
-rw-r--r--widgets/misc/ChangeLog2
-rw-r--r--widgets/misc/e-filter-bar.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 9bd88a5342..358818ff3b 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,5 +1,7 @@
2004-03-11 Jeffrey Stedfast <fejj@ximian.com>
+ Fix for bug #55267
+
* e-filter-bar.c (set_property): Use efb->setquery properly (set
to TRUE before calling set_item_id and FLASE afterwards). Also
setquery to TRUE before emitting the "search-activated" signal so
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index edfc3c68ee..cda7dec1b0 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -686,12 +686,10 @@ set_property (GObject *object, guint property_id, const GValue *value, GParamSpe
item_id = xml_get_prop_int (node, "item_id");
subitem_id = xml_get_prop_int (node, "subitem_id");
- efb->setquery = TRUE;
if (subitem_id >= 0)
e_search_bar_set_ids ((ESearchBar *) efb, item_id, subitem_id);
else
e_search_bar_set_item_id ((ESearchBar *) efb, item_id);
- efb->setquery = FALSE;
break;
}