aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-05-24 16:23:26 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-05-24 16:23:26 +0800
commit12f71865cfdf20295f5cd98b145f6d83df8ee8df (patch)
treead3f4c8dbd1541adace8ffb2a2a23e4dad8392cd /mail
parentebe75e422f87a95579ede56e9637462d083805a7 (diff)
downloadgsoc2013-evolution-12f71865cfdf20295f5cd98b145f6d83df8ee8df.tar
gsoc2013-evolution-12f71865cfdf20295f5cd98b145f6d83df8ee8df.tar.gz
gsoc2013-evolution-12f71865cfdf20295f5cd98b145f6d83df8ee8df.tar.bz2
gsoc2013-evolution-12f71865cfdf20295f5cd98b145f6d83df8ee8df.tar.lz
gsoc2013-evolution-12f71865cfdf20295f5cd98b145f6d83df8ee8df.tar.xz
gsoc2013-evolution-12f71865cfdf20295f5cd98b145f6d83df8ee8df.tar.zst
gsoc2013-evolution-12f71865cfdf20295f5cd98b145f6d83df8ee8df.zip
only enable add sender if we also have 1 selected. #56663.
2004-05-24 Not Zed <NotZed@Ximian.com> * em-popup.c (em_popup_target_new_select): only enable add sender if we also have 1 selected. #56663. svn path=/trunk/; revision=26061
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/em-popup.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 4dd43d6f86..f65ee96cf3 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2004-05-24 Not Zed <NotZed@Ximian.com>
+ * em-popup.c (em_popup_target_new_select): only enable add sender
+ if we also have 1 selected. #56663.
+
* em-folder-view.c (emfv_enable_menus): remove some debug.
* em-format-html.c (efh_format_header): output commas between
diff --git a/mail/em-popup.c b/mail/em-popup.c
index 6277151b6d..c7adaafe70 100644
--- a/mail/em-popup.c
+++ b/mail/em-popup.c
@@ -478,7 +478,8 @@ em_popup_target_new_select(struct _CamelFolder *folder, const char *folder_uri,
mask &= ~EM_POPUP_SELECT_EDIT;
if (!(em_utils_folder_is_drafts(folder, folder_uri)
- || em_utils_folder_is_outbox(folder, folder_uri)))
+ || em_utils_folder_is_outbox(folder, folder_uri))
+ && uids->len == 1)
mask &= ~EM_POPUP_SELECT_ADD_SENDER;
if (uids->len == 1)