Filter properly mmc and local folders in move to dialog
authorJose Dapena Paz <jdapena@igalia.com>
Mon, 23 Feb 2009 12:42:03 +0000 (12:42 +0000)
committerJose Dapena Paz <jdapena@igalia.com>
Mon, 23 Feb 2009 12:42:03 +0000 (12:42 +0000)
pmo-trunk-r7640

src/hildon2/modest-platform.c

index d782f2b..b99602e 100644 (file)
@@ -2477,11 +2477,11 @@ move_to_dialog_show_folders (GtkWidget *dialog, TnyFolderStore *folder_store)
 
        account = TNY_ACCOUNT (folder_store);
        if (modest_tny_account_is_virtual_local_folders (account)) {
-               account_id = "";
-               selection_label_text = g_strconcat (_("TODO: local folders"), "/", NULL);
+               account_id = tny_account_get_id (account);
+               selection_label_text = g_strconcat (tny_account_get_name (account), "/", NULL);
        } else if (modest_tny_account_is_memory_card_account (account)) {
-               account_id = "";
-               selection_label_text = g_strconcat (_("TODO: MMC ACCOUNT"), "/", NULL);
+               account_id = tny_account_get_id (account);
+               selection_label_text = g_strconcat (tny_account_get_name (account), "/", NULL);
        } else {
                account_id = tny_account_get_id (account);