[evolution] Bug #594573 - Label dropdown box in the rule editor does not work



commit c9dfbd7769e51c491b9606d0eb4812dc0dadaaf5
Author: Matt McCutchen <matt mattmccutchen net>
Date:   Wed Sep 9 18:28:50 2009 +0200

    Bug #594573 - Label dropdown box in the rule editor does not work

 modules/mail/e-mail-shell-backend.c |    3 ++-
 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 d94d9e3..0d945c6 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);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]