aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-04-01 08:43:35 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-04-01 08:43:35 +0800
commit13c09af92ab2a5cbdbf6053ecd3d0fd1b28c98eb (patch)
tree9b12d098bc0a8088a6a34860c8f63ea7dd6f57c8 /mail/em-folder-tree.c
parent94513cd4bed10979f56df454b584a404440b6c04 (diff)
downloadgsoc2013-evolution-13c09af92ab2a5cbdbf6053ecd3d0fd1b28c98eb.tar.gz
gsoc2013-evolution-13c09af92ab2a5cbdbf6053ecd3d0fd1b28c98eb.tar.zst
gsoc2013-evolution-13c09af92ab2a5cbdbf6053ecd3d0fd1b28c98eb.zip
** See bug #72518
2005-03-31 Not Zed <NotZed@Ximian.com> ** See bug #72518 * em-folder-tree.c (emft_popup_delete_folder): prompt for vfolder case differently. svn path=/trunk/; revision=29143
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 7604dba0a9..a663022298 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -2669,9 +2669,10 @@ emft_popup_delete_folder (EPopup *ep, EPopupItem *pitem, void *data)
}
camel_object_ref (store);
-
+
dialog = e_error_new((GtkWindow *)gtk_widget_get_toplevel((GtkWidget *)emft),
- "mail:ask-delete-folder", full_name, NULL);
+ (store && CAMEL_IS_VEE_STORE(store))?"mail:ask-delete-vfolder":"mail:ask-delete-folder",
+ full_name, NULL);
g_object_set_data_full ((GObject *) dialog, "full_name", full_name, g_free);
g_object_set_data_full ((GObject *) dialog, "store", store, camel_object_unref);
g_signal_connect (dialog, "response", G_CALLBACK (emft_popup_delete_response), emft);