aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-06-21 10:04:39 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-21 13:31:56 +0800
commitd6ad0c22a24fd871f31db3edff98b83765ce32ad (patch)
tree77ff4e08bbf9ed9f0e68ae3bd104f82d5ab51a10 /plugins
parent50a5e067d50806371110f54dce77628cbc548ab1 (diff)
downloadgsoc2013-evolution-d6ad0c22a24fd871f31db3edff98b83765ce32ad.tar
gsoc2013-evolution-d6ad0c22a24fd871f31db3edff98b83765ce32ad.tar.gz
gsoc2013-evolution-d6ad0c22a24fd871f31db3edff98b83765ce32ad.tar.bz2
gsoc2013-evolution-d6ad0c22a24fd871f31db3edff98b83765ce32ad.tar.lz
gsoc2013-evolution-d6ad0c22a24fd871f31db3edff98b83765ce32ad.tar.xz
gsoc2013-evolution-d6ad0c22a24fd871f31db3edff98b83765ce32ad.tar.zst
gsoc2013-evolution-d6ad0c22a24fd871f31db3edff98b83765ce32ad.zip
Bug 678397 - Move "mail-to-task" actions to a submenu
Shortens the Message menu a little for low screen resolutions.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mail-to-task/mail-to-task.c8
-rw-r--r--plugins/mail-to-task/org-gnome-mail-to-task.eplug.xml54
2 files changed, 34 insertions, 28 deletions
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c
index 89ba097611..3014388e4c 100644
--- a/plugins/mail-to-task/mail-to-task.c
+++ b/plugins/mail-to-task/mail-to-task.c
@@ -54,8 +54,8 @@
#include <calendar/gui/dialogs/memo-editor.h>
#include <calendar/gui/dialogs/task-editor.h>
-#define E_SHELL_WINDOW_ACTION_CONVERT_TO_EVENT(window) \
- E_SHELL_WINDOW_ACTION ((window), "mail-convert-to-event")
+#define E_SHELL_WINDOW_ACTION_CONVERT_TO_APPOINTMENT(window) \
+ E_SHELL_WINDOW_ACTION ((window), "mail-convert-to-appointment")
#define E_SHELL_WINDOW_ACTION_CONVERT_TO_MEETING(window) \
E_SHELL_WINDOW_ACTION ((window), "mail-convert-to-meeting")
#define E_SHELL_WINDOW_ACTION_CONVERT_TO_MEMO(window) \
@@ -1266,9 +1266,9 @@ action_mail_convert_to_task_cb (GtkAction *action,
static GtkActionEntry multi_selection_entries[] = {
- { "mail-convert-to-event",
+ { "mail-convert-to-appointment",
"appointment-new",
- N_("Create an _Event"),
+ N_("Create an _Appointment"),
NULL,
N_("Create a new event from the selected message"),
G_CALLBACK (action_mail_convert_to_event_cb) },
diff --git a/plugins/mail-to-task/org-gnome-mail-to-task.eplug.xml b/plugins/mail-to-task/org-gnome-mail-to-task.eplug.xml
index d904d295d6..792023fb10 100644
--- a/plugins/mail-to-task/org-gnome-mail-to-task.eplug.xml
+++ b/plugins/mail-to-task/org-gnome-mail-to-task.eplug.xml
@@ -8,21 +8,23 @@
<ui-manager id="org.gnome.evolution.mail.browser"
callback="mail_browser_init">
#if !EXPRESS
- <menubar name='main-menu'>
- <placeholder name='custom-menus'>
+ <menubar name="main-menu">
+ <placeholder name="custom-menus">
<menu action="mail-message-menu">
- <placeholder name="mail-message-actions">
- <menuitem action="mail-convert-to-event"/>
- <menuitem action="mail-convert-to-meeting"/>
- <menuitem action="mail-convert-to-task"/>
- <menuitem action="mail-convert-to-memo"/>
- </placeholder>
+ <menu action="mail-create-menu">
+ <placeholder name="mail-conversion-actions">
+ <menuitem action="mail-convert-to-appointment"/>
+ <menuitem action="mail-convert-to-meeting"/>
+ <menuitem action="mail-convert-to-task"/>
+ <menuitem action="mail-convert-to-memo"/>
+ </placeholder>
+ </menu>
</menu>
</placeholder>
</menubar>
<popup name="mail-preview-popup">
<placeholder name="mail-message-popup-actions">
- <menuitem action="mail-convert-to-event"/>
+ <menuitem action="mail-convert-to-appointment"/>
<menuitem action="mail-convert-to-meeting"/>
<menuitem action="mail-convert-to-task"/>
<menuitem action="mail-convert-to-memo"/>
@@ -33,29 +35,33 @@
<ui-manager id="org.gnome.evolution.mail"
callback="mail_shell_view_init">
#if !EXPRESS
- <menubar name='main-menu'>
- <placeholder name='custom-menus'>
+ <menubar name="main-menu">
+ <placeholder name="custom-menus">
<menu action="mail-message-menu">
- <placeholder name="mail-message-actions">
- <menuitem action="mail-convert-to-event"/>
- <menuitem action="mail-convert-to-meeting"/>
- <menuitem action="mail-convert-to-task"/>
- <menuitem action="mail-convert-to-memo"/>
- </placeholder>
+ <menu action="mail-create-menu">
+ <placeholder name="mail-conversion-actions">
+ <menuitem action="mail-convert-to-appointment"/>
+ <menuitem action="mail-convert-to-meeting"/>
+ <menuitem action="mail-convert-to-task"/>
+ <menuitem action="mail-convert-to-memo"/>
+ </placeholder>
+ </menu>
</menu>
</placeholder>
</menubar>
<popup name="mail-message-popup">
- <placeholder name="mail-message-popup-actions">
- <menuitem action="mail-convert-to-event"/>
- <menuitem action="mail-convert-to-meeting"/>
- <menuitem action="mail-convert-to-task"/>
- <menuitem action="mail-convert-to-memo"/>
- </placeholder>
+ <menu action="mail-create-menu">
+ <placeholder name="mail-conversion-actions">
+ <menuitem action="mail-convert-to-appointment"/>
+ <menuitem action="mail-convert-to-meeting"/>
+ <menuitem action="mail-convert-to-task"/>
+ <menuitem action="mail-convert-to-memo"/>
+ </placeholder>
+ </menu>
</popup>
<popup name="mail-preview-popup">
<placeholder name="mail-message-popup-actions">
- <menuitem action="mail-convert-to-event"/>
+ <menuitem action="mail-convert-to-appointment"/>
<menuitem action="mail-convert-to-meeting"/>
<menuitem action="mail-convert-to-task"/>
<menuitem action="mail-convert-to-memo"/>