aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-06-19 03:38:12 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-06-19 03:38:12 +0800
commit0fd51afe4b406290ded74f3412db84dfd424345b (patch)
tree65bec1bac2ecaea9c5a0b53a5941717abf1851ac /widgets/misc
parent121cf4e064ab3e0c9400549693c08fb76aed8f48 (diff)
downloadgsoc2013-evolution-0fd51afe4b406290ded74f3412db84dfd424345b.tar
gsoc2013-evolution-0fd51afe4b406290ded74f3412db84dfd424345b.tar.gz
gsoc2013-evolution-0fd51afe4b406290ded74f3412db84dfd424345b.tar.bz2
gsoc2013-evolution-0fd51afe4b406290ded74f3412db84dfd424345b.tar.lz
gsoc2013-evolution-0fd51afe4b406290ded74f3412db84dfd424345b.tar.xz
gsoc2013-evolution-0fd51afe4b406290ded74f3412db84dfd424345b.tar.zst
gsoc2013-evolution-0fd51afe4b406290ded74f3412db84dfd424345b.zip
(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
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-filter-bar.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 4cdc0aa3c8..f43cc1556f 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -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.
diff --git a/widgets/misc/e-filter-bar.c b/widgets/misc/e-filter-bar.c
index 6bc6d383e3..9863b8f294 100644
--- a/widgets/misc/e-filter-bar.c
+++ b/widgets/misc/e-filter-bar.c
@@ -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 {