aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-10-30 20:05:12 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-30 20:05:12 +0800
commit5677e9e40bca5000e2b27df6f8a9c953115676a0 (patch)
tree5a556a12349ad3264828f6b0b912fbee479e5376
parent31939ff3475dfb6a29a0eff08298ecfc674d7e9c (diff)
downloadgsoc2013-evolution-5677e9e40bca5000e2b27df6f8a9c953115676a0.tar
gsoc2013-evolution-5677e9e40bca5000e2b27df6f8a9c953115676a0.tar.gz
gsoc2013-evolution-5677e9e40bca5000e2b27df6f8a9c953115676a0.tar.bz2
gsoc2013-evolution-5677e9e40bca5000e2b27df6f8a9c953115676a0.tar.lz
gsoc2013-evolution-5677e9e40bca5000e2b27df6f8a9c953115676a0.tar.xz
gsoc2013-evolution-5677e9e40bca5000e2b27df6f8a9c953115676a0.tar.zst
gsoc2013-evolution-5677e9e40bca5000e2b27df6f8a9c953115676a0.zip
Set the item to the option_base on it, so the current item is set. Fix for
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. svn path=/trunk/; revision=14451
-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