aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-07-19 04:22:27 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-07-19 04:22:27 +0800
commit14308a5492efa78df23df51e53fbdbea76dba7cc (patch)
treeb9e624b626c5e18876075cfb5884feb3ab9a10b2
parent03c2cfdca865507f1a95ad97b017b77a2186840c (diff)
downloadgsoc2013-evolution-14308a5492efa78df23df51e53fbdbea76dba7cc.tar
gsoc2013-evolution-14308a5492efa78df23df51e53fbdbea76dba7cc.tar.gz
gsoc2013-evolution-14308a5492efa78df23df51e53fbdbea76dba7cc.tar.bz2
gsoc2013-evolution-14308a5492efa78df23df51e53fbdbea76dba7cc.tar.lz
gsoc2013-evolution-14308a5492efa78df23df51e53fbdbea76dba7cc.tar.xz
gsoc2013-evolution-14308a5492efa78df23df51e53fbdbea76dba7cc.tar.zst
gsoc2013-evolution-14308a5492efa78df23df51e53fbdbea76dba7cc.zip
When the dialog gets closed, always make sure the entry widget becomes
2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (rule_editor_destroyed): When the dialog gets closed, always make sure the entry widget becomes sensitive again. (menubar_activated): Don't use FILTER_SOURCE_INCOMING because that's not what we want, we want (I think) NULL (at least with NULL, bug #4490 goes away). svn path=/trunk/; revision=11209
-rw-r--r--widgets/misc/ChangeLog3
-rw-r--r--widgets/misc/e-filter-bar.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 0af8f2bb42..b9f00712a3 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -2,6 +2,9 @@
* e-filter-bar.c (rule_editor_destroyed): When the dialog gets
closed, always make sure the entry widget becomes sensitive again.
+ (menubar_activated): Don't use FILTER_SOURCE_INCOMING because
+ that's not what we want, we want (I think) NULL (at least with
+ NULL, bug #4490 goes away).
2001-07-16 Federico Mena Quintero <federico@ximian.com>
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index b9115590f7..4bdcb69615 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -153,7 +153,8 @@ menubar_activated (ESearchBar *esb, int id, void *data)
if (!efb->save_dialogue) {
GnomeDialog *gd;
- gd = (GnomeDialog *) rule_editor_new (efb->context, FILTER_SOURCE_INCOMING);
+ gd = (GnomeDialog *) rule_editor_new (efb->context, NULL);
+ gtk_window_set_title (GTK_WINDOW (gd), _("Search Editor"));
gtk_signal_connect (GTK_OBJECT (gd), "clicked", full_rule_editor_clicked, efb);
gtk_signal_connect (GTK_OBJECT (gd), "destroy", rule_editor_destroyed, efb);
gtk_widget_show (GTK_WIDGET (gd));