aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mark-calendar-offline
diff options
context:
space:
mode:
authorGilles Dartiguelongue <gdartigu@src.gnome.org>2007-11-18 06:11:53 +0800
committerGilles Dartiguelongue <gdartigu@src.gnome.org>2007-11-18 06:11:53 +0800
commitaad95f711ac77ec640f250449453aed0a522a2ed (patch)
treec1103edc1eceafa4f2258ce0206c0cc380bacba5 /plugins/mark-calendar-offline
parentdd92a1c0e4f9d13ad58d4d1a0d7367a85e4bd038 (diff)
downloadgsoc2013-evolution-aad95f711ac77ec640f250449453aed0a522a2ed.tar.gz
gsoc2013-evolution-aad95f711ac77ec640f250449453aed0a522a2ed.tar.zst
gsoc2013-evolution-aad95f711ac77ec640f250449453aed0a522a2ed.zip
** Fix bug #495872
uniformization of actions with memos/calendars/tasks svn path=/trunk/; revision=34547
Diffstat (limited to 'plugins/mark-calendar-offline')
-rw-r--r--plugins/mark-calendar-offline/ChangeLog9
-rw-r--r--plugins/mark-calendar-offline/mark-calendar-offline.c8
-rw-r--r--plugins/mark-calendar-offline/org-gnome-mark-calendar-offline.eplug.xml21
3 files changed, 30 insertions, 8 deletions
diff --git a/plugins/mark-calendar-offline/ChangeLog b/plugins/mark-calendar-offline/ChangeLog
index cb95a16aa0..989a282ea2 100644
--- a/plugins/mark-calendar-offline/ChangeLog
+++ b/plugins/mark-calendar-offline/ChangeLog
@@ -1,3 +1,12 @@
+2007-11-11 Gilles Dartiguelongue <gdartigu@svn.gnome.org>
+
+ ** Fix bug #495872
+
+ * mark-calendar-offline.c: (org_gnome_mark_no_offline),
+ (org_gnome_mark_offline):
+ * org-gnome-mark-calendar-offline.eplug.xml:
+ add tasks and memos support
+
2007-04-02 Sankar P <psankar@novell.com>
* Committed on behalf of Gilles Dartiguelongue <dartigug@esiee.fr>
diff --git a/plugins/mark-calendar-offline/mark-calendar-offline.c b/plugins/mark-calendar-offline/mark-calendar-offline.c
index fee8595883..d9e6714de6 100644
--- a/plugins/mark-calendar-offline/mark-calendar-offline.c
+++ b/plugins/mark-calendar-offline/mark-calendar-offline.c
@@ -31,11 +31,11 @@
#include <libedataserverui/e-source-selector.h>
#include <calendar/gui/e-cal-popup.h>
-void org_gnome_mark_calendar_offline (EPlugin *ep, ECalPopupTargetSource *target);
-void org_gnome_mark_calendar_no_offline (EPlugin *ep, ECalPopupTargetSource *target);
+void org_gnome_mark_offline (EPlugin *ep, ECalPopupTargetSource *target);
+void org_gnome_mark_no_offline (EPlugin *ep, ECalPopupTargetSource *target);
void
-org_gnome_mark_calendar_no_offline (EPlugin *ep, ECalPopupTargetSource *target)
+org_gnome_mark_no_offline (EPlugin *ep, ECalPopupTargetSource *target)
{
ESource *source;
@@ -44,7 +44,7 @@ org_gnome_mark_calendar_no_offline (EPlugin *ep, ECalPopupTargetSource *target)
}
void
-org_gnome_mark_calendar_offline (EPlugin *ep, ECalPopupTargetSource *target)
+org_gnome_mark_offline (EPlugin *ep, ECalPopupTargetSource *target)
{
ESource *source;
diff --git a/plugins/mark-calendar-offline/org-gnome-mark-calendar-offline.eplug.xml b/plugins/mark-calendar-offline/org-gnome-mark-calendar-offline.eplug.xml
index ecf5b67d60..bde9805396 100644
--- a/plugins/mark-calendar-offline/org-gnome-mark-calendar-offline.eplug.xml
+++ b/plugins/mark-calendar-offline/org-gnome-mark-calendar-offline.eplug.xml
@@ -8,13 +8,26 @@
<hook class="org.gnome.evolution.calendar.popup:1.0">
<menu id="org.gnome.evolution.calendar.source.popup" target="source">
- <item type="item" path="28.mark_calendar_offline" _label="_Mark Calendar for offline use" icon="stock_disconnect" visible="offline" activate="org_gnome_mark_calendar_offline"/>
+ <item type="item" path="38.mark_calendar_offline" _label="_Make available for offline use" icon="stock_disconnect" visible="offline" activate="org_gnome_mark_offline"/>
</menu>
- </hook>
- <hook class="org.gnome.evolution.calendar.popup:1.0">
<menu id="org.gnome.evolution.calendar.source.popup" target="source">
- <item type="item" path="28.mark_calendar_no_offline" _label="_Do not make this available offline" icon="stock_connect" visible="no-offline" activate="org_gnome_mark_calendar_no_offline"/>
+ <item type="item" path="38.mark_calendar_no_offline" _label="_Do not make available for offline use" icon="stock_connect" visible="no-offline" activate="org_gnome_mark_no_offline"/>
+ </menu>
+
+ <menu id="org.gnome.evolution.memos.source.popup" target="source">
+ <item type="item" path="38.mark_memos_offline" _label="_Make available for offline use" icon="stock_disconnect" visible="offline" activate="org_gnome_mark_offline"/>
+ </menu>
+ <menu id="org.gnome.evolution.memos.source.popup" target="source">
+ <item type="item" path="38.mark_memos_no_offline" _label="_Do not make available for offline use" icon="stock_connect" visible="no-offline" activate="org_gnome_mark_no_offline"/>
+ </menu>
+
+ <menu id="org.gnome.evolution.tasks.source.popup" target="source">
+ <item type="item" path="38.mark_tasks_offline" _label="_Make available for offline use" icon="stock_disconnect" visible="offline" activate="org_gnome_mark_offline"/>
+ </menu>
+ <menu id="org.gnome.evolution.tasks.source.popup" target="source">
+ <item type="item" path="38.mark_tasks_no_offline" _label="_Do not make available for offline use" icon="stock_connect" visible="no-offline" activate="org_gnome_mark_no_offline"/>
</menu>
</hook>
+
</e-plugin>
</e-plugin-list>