(build_items): Put the numbers in front of the
rules only if type is zero [i.e. not in the option menu]. svn path=/trunk/; revision=17224
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2002-06-18 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* e-filter-bar.c (build_items): Put the numbers in front of the
|
||||
rules only if type is zero [i.e. not in the option menu].
|
||||
|
||||
2002-05-30 Ettore Perazzoli <ettore@ximian.com>
|
||||
|
||||
* e-filter-bar.c (dup_item_no_subitems): New helper function.
|
||||
|
||||
@ -329,7 +329,7 @@ build_items (ESearchBar *esb, ESearchBarItem *items, int type, int *start, GPtrA
|
||||
while ((rule = rule_context_next_rule (efb->context, rule, source))) {
|
||||
item.id = id++;
|
||||
|
||||
if (num <= 10) {
|
||||
if (type == 0 && num <= 10) {
|
||||
item.text = g_strdup_printf ("_%d. %s", num % 10, rule->name);
|
||||
num ++;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user