aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-popup.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-05-15 02:43:36 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-15 02:43:36 +0800
commit04b9512099706699c2caf48aefa45540c1412bc3 (patch)
tree265148d12183528cbb04b4a86db9daf5bc41d1c6 /mail/em-popup.c
parentbfe4d349ad7c9102f4234f13a641b17e28bf69e7 (diff)
downloadgsoc2013-evolution-04b9512099706699c2caf48aefa45540c1412bc3.tar.gz
gsoc2013-evolution-04b9512099706699c2caf48aefa45540c1412bc3.tar.zst
gsoc2013-evolution-04b9512099706699c2caf48aefa45540c1412bc3.zip
s/RESEND/EDIT/
2004-05-14 Jeffrey Stedfast <fejj@novell.com> * em-popup.h: s/RESEND/EDIT/ * em-popup.c (em_popup_target_new_select): s/RESEND/EDIT/ * em-folder-view.c: s/RESEND/EDIT/ (emfv_popup_edit): Renamed from emfv_popup_resend. Part of the fix for bug #58358 (The main fix was just a change to the ui file). svn path=/trunk/; revision=25910
Diffstat (limited to 'mail/em-popup.c')
-rw-r--r--mail/em-popup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-popup.c b/mail/em-popup.c
index 6b08aa71fe..6277151b6d 100644
--- a/mail/em-popup.c
+++ b/mail/em-popup.c
@@ -473,10 +473,10 @@ em_popup_target_new_select(struct _CamelFolder *folder, const char *folder_uri,
camel_object_ref(folder);
mask &= ~EM_POPUP_SELECT_FOLDER;
-
+
if (em_utils_folder_is_sent(folder, folder_uri))
- mask &= ~EM_POPUP_SELECT_RESEND;
-
+ mask &= ~EM_POPUP_SELECT_EDIT;
+
if (!(em_utils_folder_is_drafts(folder, folder_uri)
|| em_utils_folder_is_outbox(folder, folder_uri)))
mask &= ~EM_POPUP_SELECT_ADD_SENDER;
@@ -670,7 +670,7 @@ emp_popup_open(GtkWidget *w, EMFolderView *emfv)
}
static void
-emp_popup_resend(GtkWidget *w, EMPopupTarget *t)
+emp_popup_edit (GtkWidget *w, EMPopupTarget *t)
{
if (!em_utils_check_user_can_send_mail(t->widget))
return;
@@ -686,7 +686,7 @@ emp_popup_saveas(GtkWidget *w, EMPopupTarget *t)
static EMPopupItem emp_standard_select_popups[] = {
/*{ EM_POPUP_ITEM, "00.select.00", N_("_Open"), G_CALLBACK(emp_popup_open), NULL, NULL, 0 },*/
- { EM_POPUP_ITEM, "00.select.01", N_("_Edit as New Message..."), G_CALLBACK(emp_popup_resend), NULL, NULL, EM_POPUP_SELECT_RESEND },
+ { EM_POPUP_ITEM, "00.select.01", N_("_Edit as New Message..."), G_CALLBACK(emp_popup_edit), NULL, NULL, EM_POPUP_SELECT_EDIT },
{ EM_POPUP_ITEM, "00.select.02", N_("_Save As..."), G_CALLBACK(emp_popup_saveas), NULL, "stock_save_as", 0 },
};
#endif