* handle the save-settings in all cases, when quiting via menu
[modest] / src / modest-tny-store-actions.c
index ec76439..605d397 100644 (file)
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-
-/* modest-tny-store-actions.c */
-
 #include <tny-msg.h>
 #include <tny-msg-iface.h>                     
-#include <tny-msg-header.h>
-#include <tny-msg-header-iface.h>
+#include <tny-header.h>
+#include <tny-header-iface.h>
 #include <tny-account-iface.h> 
 #include <tny-account-store-iface.h>
 #include <tny-store-account-iface.h>   
@@ -53,11 +50,13 @@ void
 modest_tny_store_actions_update_folders (TnyStoreAccountIface *storage_account)
 {
 
+// FIXME TODO: This results in failure on folder change.       
+       /*
        const TnyListIface* folders;
        TnyIteratorIface* ifolders;
        const TnyMsgFolderIface *cur_folder;
-#warning TODO: This results in failure on folder change.
-/*     folders = tny_store_account_iface_get_folders (storage_account, 
+
+       folders = tny_store_account_iface_get_folders (storage_account, 
                                                       TNY_STORE_ACCOUNT_FOLDER_TYPE_SUBSCRIBED);
        
        ifolders = tny_list_iface_create_iterator (folders);