From 13c09af92ab2a5cbdbf6053ecd3d0fd1b28c98eb Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 1 Apr 2005 00:43:35 +0000 Subject: ** See bug #72518 2005-03-31 Not Zed ** See bug #72518 * em-folder-tree.c (emft_popup_delete_folder): prompt for vfolder case differently. svn path=/trunk/; revision=29143 --- mail/ChangeLog | 7 +++++++ mail/em-folder-tree.c | 5 +++-- mail/mail-errors.xml | 7 +++++++ mail/mail-errors.xml.h | 4 ++++ 4 files changed, 21 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 12bea76cf7..a38bd74ec7 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2005-03-31 Not Zed + + ** See bug #72518 + + * em-folder-tree.c (emft_popup_delete_folder): prompt for vfolder + case differently. + 2005-03-31 Not Zed * message-list.c (on_selection_changed_cmd): only noop if we only 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); diff --git a/mail/mail-errors.xml b/mail/mail-errors.xml index 045cf9326a..c19cdf5fce 100644 --- a/mail/mail-errors.xml +++ b/mail/mail-errors.xml @@ -189,6 +189,13 @@ The message is stored in the Outbox folder. Check the message for errors and re