aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt McCutchen <matt@mattmccutchen.net>2009-09-10 00:28:50 +0800
committerMilan Crha <mcrha@redhat.com>2009-09-10 00:28:50 +0800
commitc9dfbd7769e51c491b9606d0eb4812dc0dadaaf5 (patch)
treef40e6659bb04afdc3fdcfe04c53f48f566745d0d
parentf41979c499aa770e81441c66eb316abbcd8c4f7a (diff)
downloadgsoc2013-evolution-c9dfbd7769e51c491b9606d0eb4812dc0dadaaf5.tar.gz
gsoc2013-evolution-c9dfbd7769e51c491b9606d0eb4812dc0dadaaf5.tar.zst
gsoc2013-evolution-c9dfbd7769e51c491b9606d0eb4812dc0dadaaf5.zip
Bug #594573 - Label dropdown box in the rule editor does not work
-rw-r--r--modules/mail/e-mail-shell-backend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index d94d9e318f..0d945c64d7 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -980,6 +980,7 @@ e_mail_labels_get_filter_options (void)
option = g_new0 (struct _filter_option, 1);
option->title = e_str_without_underscores (name);
option->value = tag; /* takes ownership */
+ list = g_slist_prepend (list, option);
g_free (name);
@@ -988,5 +989,5 @@ e_mail_labels_get_filter_options (void)
g_object_unref (list_store);
- return list;
+ return g_slist_reverse (list);
}