diff options
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-filter-bar.c | 4 |
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; |