From c9dfbd7769e51c491b9606d0eb4812dc0dadaaf5 Mon Sep 17 00:00:00 2001 From: Matt McCutchen Date: Wed, 9 Sep 2009 18:28:50 +0200 Subject: Bug #594573 - Label dropdown box in the rule editor does not work --- modules/mail/e-mail-shell-backend.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit