aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-10-07 17:15:58 +0800
committerMilan Crha <mcrha@redhat.com>2009-10-07 17:15:58 +0800
commitc01df5acc66b878c5c46a0b68f9dc959526d7247 (patch)
tree8a7154023000e4c1018cdc01e094e16325e81230
parentadd2920ff519ff3ef898f10d357bd59b3e7531a4 (diff)
downloadgsoc2013-evolution-c01df5acc66b878c5c46a0b68f9dc959526d7247.tar
gsoc2013-evolution-c01df5acc66b878c5c46a0b68f9dc959526d7247.tar.gz
gsoc2013-evolution-c01df5acc66b878c5c46a0b68f9dc959526d7247.tar.bz2
gsoc2013-evolution-c01df5acc66b878c5c46a0b68f9dc959526d7247.tar.lz
gsoc2013-evolution-c01df5acc66b878c5c46a0b68f9dc959526d7247.tar.xz
gsoc2013-evolution-c01df5acc66b878c5c46a0b68f9dc959526d7247.tar.zst
gsoc2013-evolution-c01df5acc66b878c5c46a0b68f9dc959526d7247.zip
Enable File->Empty Trash menu item for all folders
-rw-r--r--modules/mail/e-mail-shell-view-actions.c9
-rw-r--r--ui/evolution-mail.ui2
2 files changed, 9 insertions, 2 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index e47c9fd7c6..22aa88edcf 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -1048,13 +1048,20 @@ static GtkActionEntry mail_entries[] = {
N_("Download messages of accounts and folders marked for offline"),
G_CALLBACK (action_mail_download_cb) },
- { "mail-empty-trash",
+ { "mail-empty-trashes", /* this is File->Empty Trash action */
NULL,
N_("Empty _Trash"),
NULL,
N_("Permanently remove all the deleted messages from all folders"),
G_CALLBACK (action_mail_empty_trash_cb) },
+ { "mail-empty-trash", /* this is a popup action over the trash folder */
+ NULL,
+ N_("_Empty Trash"),
+ NULL,
+ N_("Permanently remove all the deleted messages from all folders"),
+ G_CALLBACK (action_mail_empty_trash_cb) },
+
{ "mail-flush-outbox",
"mail-send",
N_("Fl_ush Outbox"),
diff --git a/ui/evolution-mail.ui b/ui/evolution-mail.ui
index 6b43270ddc..c35ddbc8d4 100644
--- a/ui/evolution-mail.ui
+++ b/ui/evolution-mail.ui
@@ -2,7 +2,7 @@
<menubar name='main-menu'>
<menu action='file-menu'>
<placeholder name='long-running-actions'>
- <menuitem action='mail-empty-trash'/>
+ <menuitem action='mail-empty-trashes'/>
<menuitem action='mail-download'/>
</placeholder>
</menu>