aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-08-18 21:22:24 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-08-18 23:17:42 +0800
commite1f45e288a00334bc52844f6656cf0f7bb54ddd7 (patch)
treeb4909be57a46483ef4254052d47035a43151f650
parente3414564635d607471317f4cecd14898aa1891b2 (diff)
downloadgsoc2013-evolution-e1f45e288a00334bc52844f6656cf0f7bb54ddd7.tar.gz
gsoc2013-evolution-e1f45e288a00334bc52844f6656cf0f7bb54ddd7.tar.zst
gsoc2013-evolution-e1f45e288a00334bc52844f6656cf0f7bb54ddd7.zip
Add event/memo/task "Save As" item to File menu.
Contacts view already has "File -> Save as vCard". This adds "File -> Save as iCalendar" to Calendar/Memos/Tasks views.
-rw-r--r--modules/calendar/e-cal-shell-view-actions.h2
-rw-r--r--ui/evolution-calendars.ui1
-rw-r--r--ui/evolution-memos.ui1
-rw-r--r--ui/evolution-tasks.ui1
4 files changed, 5 insertions, 0 deletions
diff --git a/modules/calendar/e-cal-shell-view-actions.h b/modules/calendar/e-cal-shell-view-actions.h
index ef2c520d74..079f0ab546 100644
--- a/modules/calendar/e-cal-shell-view-actions.h
+++ b/modules/calendar/e-cal-shell-view-actions.h
@@ -85,6 +85,8 @@
E_SHELL_WINDOW_ACTION ((window), "event-open")
#define E_SHELL_WINDOW_ACTION_EVENT_PRINT(window) \
E_SHELL_WINDOW_ACTION ((window), "event-print")
+#define E_SHELL_WINDOW_ACTION_EVENT_SAVE_AS(window) \
+ E_SHELL_WINDOW_ACTION ((window), "event-save-as")
#define E_SHELL_WINDOW_ACTION_EVENT_SCHEDULE(window) \
E_SHELL_WINDOW_ACTION ((window), "event-schedule")
#define E_SHELL_WINDOW_ACTION_EVENT_SCHEDULE_APPOINTMENT(window) \
diff --git a/ui/evolution-calendars.ui b/ui/evolution-calendars.ui
index 70cb095569..1c06388b1b 100644
--- a/ui/evolution-calendars.ui
+++ b/ui/evolution-calendars.ui
@@ -3,6 +3,7 @@
<menu action='file-menu'>
<placeholder name='file-actions'>
<menuitem action='event-open'/>
+ <menuitem action='event-save-as'/>
</placeholder>
<placeholder name='print-actions'>
#if !EXPRESS
diff --git a/ui/evolution-memos.ui b/ui/evolution-memos.ui
index 430a30e48b..81bad8a378 100644
--- a/ui/evolution-memos.ui
+++ b/ui/evolution-memos.ui
@@ -3,6 +3,7 @@
<menu action='file-menu'>
<placeholder name='file-actions'>
<menuitem action='memo-open'/>
+ <menuitem action='memo-save-as'/>
</placeholder>
<placeholder name='print-actions'>
<menuitem action='memo-list-print-preview'/>
diff --git a/ui/evolution-tasks.ui b/ui/evolution-tasks.ui
index 49631c27ea..90617e97d9 100644
--- a/ui/evolution-tasks.ui
+++ b/ui/evolution-tasks.ui
@@ -3,6 +3,7 @@
<menu action='file-menu'>
<placeholder name='file-actions'>
<menuitem action='task-open'/>
+ <menuitem action='task-save-as'/>
</placeholder>
<placeholder name='print-actions'>
<menuitem action='task-list-print-preview'/>