aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-corba-storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-corba-storage.c')
-rw-r--r--shell/e-corba-storage.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/e-corba-storage.c b/shell/e-corba-storage.c
index 0805ccbff0..5745ee8fcf 100644
--- a/shell/e-corba-storage.c
+++ b/shell/e-corba-storage.c
@@ -395,6 +395,8 @@ async_remove_folder (EStorage *storage, const char *path,
priv = corba_storage->priv;
folder = e_storage_get_folder (storage, path);
+ if (e_folder_get_is_stock (folder))
+ (* callback) (storage, E_STORAGE_CANTCHANGESTOCKFOLDER, data);
closure = g_new (struct async_folder_closure, 1);
closure->callback = callback;