aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));