diff options
author | Not Zed <NotZed@Ximian.com> | 2005-04-01 08:43:35 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-04-01 08:43:35 +0800 |
commit | 13c09af92ab2a5cbdbf6053ecd3d0fd1b28c98eb (patch) | |
tree | 9b12d098bc0a8088a6a34860c8f63ea7dd6f57c8 /mail/em-folder-tree.c | |
parent | 94513cd4bed10979f56df454b584a404440b6c04 (diff) | |
download | gsoc2013-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.c | 5 |
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); |