2007-06-21 Murray Cumming <murrayc@murrayc.com>
authorMurray Cumming <murrayc@murrayc.com>
Thu, 21 Jun 2007 17:44:44 +0000 (17:44 +0000)
committerMurray Cumming <murrayc@murrayc.com>
Thu, 21 Jun 2007 17:44:44 +0000 (17:44 +0000)
* src/dbus_api/modest-dbus-callbacks.c: (add_folders_to_list):
Do not use a query, so that we get all folders, including for POP and
local-folders. They work as search criteria too.
This fixes projects.maemo.org bug NB#57740.

pmo-trunk-r2371

ChangeLog
ChangeLog2
src/dbus_api/modest-dbus-callbacks.c

index 147f81a..acb6b92 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1 @@
-2007-06-21  Murray Cumming,,,  <murrayc@murrayc-desktop>
-
-       reviewed by: <delete if not using a buddy>
-
-       * src/maemo/modest-platform.c: (modest_platform_on_new_msg):
-
 * please check the svn log instead
index a8e4b72..8314ae4 100644 (file)
@@ -1,5 +1,12 @@
 2007-06-21  Murray Cumming  <murrayc@murrayc.com>
 
+       * src/dbus_api/modest-dbus-callbacks.c: (add_folders_to_list):
+       Do not use a query, so that we get all folders, including for POP and 
+       local-folders. They work as search criteria too.
+       This fixes projects.maemo.org bug NB#57740.
+
+2007-06-21  Murray Cumming  <murrayc@murrayc.com>
+
        * src/maemo/modest-platform.c: (modest_platform_on_new_msg):
        Comment out the use of hildon_notification_set_sound() because it is 
        not declared, to fix the build. Warnings are serious, people.
index 1d874a9..a5c8a24 100644 (file)
@@ -1159,13 +1159,15 @@ add_folders_to_list (TnyFolderStore *folder_store, GList** list)
        /* Recurse into child folders: */
                
        /* Get the folders list: */
+       /*
        TnyFolderStoreQuery *query = tny_folder_store_query_new ();
        tny_folder_store_query_add_item (query, NULL, 
                TNY_FOLDER_STORE_QUERY_OPTION_SUBSCRIBED);
+       */
        TnyList *all_folders = tny_simple_list_new ();
        tny_folder_store_get_folders (folder_store,
                                      all_folders,
-                                     query,
+                                     NULL /* query */,
                                      NULL /* error */);
 
        TnyIterator *iter = tny_list_create_iterator (all_folders);