aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorHarish Krishnaswamy <kharish@novell.com>2007-01-08 21:19:42 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2007-01-08 21:19:42 +0800
commit9a3d4ed00dfb4ca54ca00c9b12c5584f80eabb63 (patch)
tree82ea33a813eb716ab693321da47b7221f383726f /widgets
parentcbcb065ce068b271c660fda907e168b691c54ab2 (diff)
downloadgsoc2013-evolution-9a3d4ed00dfb4ca54ca00c9b12c5584f80eabb63.tar.gz
gsoc2013-evolution-9a3d4ed00dfb4ca54ca00c9b12c5584f80eabb63.tar.zst
gsoc2013-evolution-9a3d4ed00dfb4ca54ca00c9b12c5584f80eabb63.zip
Initialize ESearchBarItem type to ESB_ITEMTYPE_RADIO. Fixes #382860.
2006-12-04 Harish Krishnaswamy <kharish@novell.com> * e-filter-bar.c: (build_items): Initialize ESearchBarItem type to ESB_ITEMTYPE_RADIO. Fixes #382860. svn path=/trunk/; revision=33123
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-filter-bar.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 7430cbfa34..98e511a6c9 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-04 Harish Krishnaswamy <kharish@novell.com>
+
+ * e-filter-bar.c: (build_items): Initialize ESearchBarItem
+ type to ESB_ITEMTYPE_RADIO. Fixes #382860.
+
2006-12-04 Matthew Barnes <mbarnes@redhat.com>
Fixes bug #357970
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index 1142b8ccc6..807c0e707a 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -351,7 +351,7 @@ build_items (ESearchBar *esb, ESearchBarItem *items, int type, int *start, GPtrA
EFilterBar *efb = (EFilterBar *)esb;
int id = 0, i;
GArray *menu = g_array_new (FALSE, FALSE, sizeof (ESearchBarItem));
- ESearchBarItem item = { NULL, -1, 0 };
+ ESearchBarItem item = { NULL, -1, 2 };
char *source;
GSList *gtksux = NULL;
int num;
@@ -365,7 +365,7 @@ build_items (ESearchBar *esb, ESearchBarItem *items, int type, int *start, GPtrA
/* find a unique starting point for the id's of our items */
for (i = 0; items[i].id != -1; i++) {
- ESearchBarItem dup_item = { NULL, -1, 0 };
+ ESearchBarItem dup_item = { NULL, -1, 2 };
if (items[i].id >= id)
id = items[i].id + 1;