X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fhildon2%2Fmodest-platform.c;h=3b73d4767c6376517cdc100b4bd49a1f69bfde7f;hp=17bec8d6f9b29afdf266ff57143e4cb003010003;hb=b048941e3e5dfd7ef5605a504526524c6470a27f;hpb=4d39841513a3a7f7aa9d38ab97cb9fcc9171e80b diff --git a/src/hildon2/modest-platform.c b/src/hildon2/modest-platform.c index 17bec8d..3b73d47 100644 --- a/src/hildon2/modest-platform.c +++ b/src/hildon2/modest-platform.c @@ -958,7 +958,9 @@ folder_picker_new (TnyFolderStore *suggested, FolderPickerHelper *helper) folder_picker_set_store (GTK_BUTTON (button), suggested); - if (TNY_IS_ACCOUNT (suggested)) { + if (TNY_IS_ACCOUNT (suggested) && + !modest_tny_account_is_virtual_local_folders (TNY_ACCOUNT (suggested)) && + !modest_tny_account_is_memory_card_account (TNY_ACCOUNT (suggested))) { acc_id = tny_account_get_id ((TnyAccount *) suggested); } else { TnyAccount *account = modest_tny_folder_get_account ((TnyFolder *) suggested);