projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2290a84
)
* Fixes NB#81189, able to drop a folder in the root MMC account
author
Sergio Villar Senin
<svillar@igalia.com>
Thu, 21 Feb 2008 16:48:10 +0000
(16:48 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Thu, 21 Feb 2008 16:48:10 +0000
(16:48 +0000)
pmo-trunk-r4219
src/widgets/modest-folder-view.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-folder-view.c
b/src/widgets/modest-folder-view.c
index
bf6455b
..
8aedf4c
100644
(file)
--- a/
src/widgets/modest-folder-view.c
+++ b/
src/widgets/modest-folder-view.c
@@
-2231,8
+2231,8
@@
drag_and_drop_from_folder_view (GtkTreeModel *source_model,
forbidden = rules & MODEST_FOLDER_RULES_FOLDER_NON_WRITEABLE;
} else if (TNY_IS_FOLDER_STORE(folder)) {
/* enable local root as destination for folders */
- if (!MODEST_IS_TNY_LOCAL_FOLDERS_ACCOUNT (folder)
- && TNY_IS_ACCOUNT (folder))
+ if (!MODEST_IS_TNY_LOCAL_FOLDERS_ACCOUNT (folder) &&
+ !modest_tny_account_is_memory_card_account (TNY_ACCOUNT (folder)))
forbidden = TRUE;
}
g_object_unref (folder);