aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-filter-bar.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 7ef9aeddac..0eae5bb105 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-30 <NotZed@Ximian.com>
+
+ * e-filter-bar.c (set_option): Set the item to the option_base on
+ it, so the current item is set. Fix for #7081.
+
2001-10-30 Christopher James Lahey <clahey@ximian.com>
* e-cell-date-edit.c (e_cell_date_edit_get_popup_pos): Adapt to
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index 172080e8d6..b8c33dc093 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -413,6 +413,8 @@ set_option (ESearchBar *esb, ESearchBarItem *items)
menu = build_items (esb, items, 1, &efb->option_base, efb->option_rules);
((ESearchBarClass *)parent_class)->set_option (esb, (ESearchBarItem *)menu->data);
g_array_free (menu, TRUE);
+
+ e_search_bar_set_item_id (esb, efb->option_base);
}
static void