* Fixes NB#100026, show new email notifications in order
authorSergio Villar Senin <svillar@igalia.com>
Tue, 3 Feb 2009 10:51:42 +0000 (10:51 +0000)
committerSergio Villar Senin <svillar@igalia.com>
Tue, 3 Feb 2009 10:51:42 +0000 (10:51 +0000)
pmo-trunk-r7367

src/modest-mail-operation.c

index 6f8e13e..75aa517 100644 (file)
@@ -1329,8 +1329,7 @@ G_DEFINE_TYPE_WITH_CODE (InternalFolderObserver,
 static void
 foreach_add_item (gpointer header, gpointer user_data)
 {
 static void
 foreach_add_item (gpointer header, gpointer user_data)
 {
-       tny_list_prepend (TNY_LIST (user_data), 
-                         G_OBJECT (header));
+       tny_list_append (TNY_LIST (user_data), G_OBJECT (header));
 }
 
 /* This is the method that looks for new messages in a folder */
 }
 
 /* This is the method that looks for new messages in a folder */