diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-24 16:23:26 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-24 16:23:26 +0800 |
commit | 12f71865cfdf20295f5cd98b145f6d83df8ee8df (patch) | |
tree | ad3f4c8dbd1541adace8ffb2a2a23e4dad8392cd /mail | |
parent | ebe75e422f87a95579ede56e9637462d083805a7 (diff) | |
download | gsoc2013-evolution-12f71865cfdf20295f5cd98b145f6d83df8ee8df.tar.gz 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/ChangeLog | 3 | ||||
-rw-r--r-- | mail/em-popup.c | 3 |
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) |