aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-account-setup
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-07-22 18:21:42 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-07-22 18:21:42 +0800
commit43d10aab847920756af2727082fd9c019ceacc27 (patch)
tree7164dfce8f1124163b92ff58f90e418822294e6e /plugins/groupwise-account-setup
parent452dc1600d0a6ae63474220e3ce74664058ece5c (diff)
downloadgsoc2013-evolution-43d10aab847920756af2727082fd9c019ceacc27.tar
gsoc2013-evolution-43d10aab847920756af2727082fd9c019ceacc27.tar.gz
gsoc2013-evolution-43d10aab847920756af2727082fd9c019ceacc27.tar.bz2
gsoc2013-evolution-43d10aab847920756af2727082fd9c019ceacc27.tar.lz
gsoc2013-evolution-43d10aab847920756af2727082fd9c019ceacc27.tar.xz
gsoc2013-evolution-43d10aab847920756af2727082fd9c019ceacc27.tar.zst
gsoc2013-evolution-43d10aab847920756af2727082fd9c019ceacc27.zip
Added support for Gw notes.
svn path=/trunk/; revision=32379
Diffstat (limited to 'plugins/groupwise-account-setup')
-rw-r--r--plugins/groupwise-account-setup/ChangeLog6
-rw-r--r--plugins/groupwise-account-setup/camel-gw-listener.c7
2 files changed, 13 insertions, 0 deletions
diff --git a/plugins/groupwise-account-setup/ChangeLog b/plugins/groupwise-account-setup/ChangeLog
index d4ef1e5e09..0bcac58c2d 100644
--- a/plugins/groupwise-account-setup/ChangeLog
+++ b/plugins/groupwise-account-setup/ChangeLog
@@ -1,3 +1,9 @@
+2006-07-22 Chenthill Palanisamy <pchenthill@novell.com>
+
+ * camel-gw-listener.c: (add_calendar_tasks_sources),
+ (remove_calendar_tasks_sources), (add_proxy_sources),
+ (account_changed): Added support Gw notes.
+
2006-04-19 Harish Krishnaswamy <kharish@novell.com>
* camel-gw-listener.c: (add_esource):
diff --git a/plugins/groupwise-account-setup/camel-gw-listener.c b/plugins/groupwise-account-setup/camel-gw-listener.c
index b21b948648..f9622d15ac 100644
--- a/plugins/groupwise-account-setup/camel-gw-listener.c
+++ b/plugins/groupwise-account-setup/camel-gw-listener.c
@@ -159,8 +159,10 @@ lookup_account_info (const char *key)
#define CALENDAR_SOURCES "/apps/evolution/calendar/sources"
#define TASKS_SOURCES "/apps/evolution/tasks/sources"
+#define NOTES_SOURCES "/apps/evolution/memos/sources"
#define SELECTED_CALENDARS "/apps/evolution/calendar/display/selected_calendars"
#define SELECTED_TASKS "/apps/evolution/calendar/tasks/selected_tasks"
+#define SELECTED_NOTES "/apps/evolution/calendar/memos/selected_memos"
static void
add_esource (const char *conf_key, const char *group_name, const char *source_name, CamelURL *url)
@@ -385,6 +387,7 @@ add_calendar_tasks_sources (GwAccountInfo *info)
url = camel_url_new (info->source_url, NULL);
add_esource ("/apps/evolution/calendar/sources", info->name, _("Calendar"), url);
add_esource ("/apps/evolution/tasks/sources", info->name, _("Tasks"), url);
+ add_esource ("/apps/evolution/memos/sources", info->name, _("Notes"), url);
camel_url_free (url);
@@ -415,6 +418,8 @@ remove_calendar_tasks_sources (GwAccountInfo *info)
relative_uri = g_strdup_printf ("%s@%s/", url->user, poa_address);
remove_esource ("/apps/evolution/calendar/sources", info->name, _("Calendar"), relative_uri);
remove_esource ("/apps/evolution/tasks/sources", info->name, _("Checklist"), relative_uri);
+ remove_esource ("/apps/evolution/memos/sources", info->name, _("Notes"), relative_uri);
+
camel_url_free (url);
g_free (relative_uri);
@@ -592,6 +597,7 @@ add_proxy_sources (GwAccountInfo *info, const char *parent_name)
url = camel_url_new (info->source_url, NULL);
add_proxy_esource ("/apps/evolution/calendar/sources", info->name, _("Calendar"), url, parent_name);
add_proxy_esource ("/apps/evolution/tasks/sources", info->name, _("Tasks"), url, parent_name);
+ add_proxy_esource ("/apps/evolution/memos/sources", info->name, _("Notes"), url, parent_name);
camel_url_free (url);
}
@@ -949,6 +955,7 @@ account_changed (EAccountList *account_listener, EAccount *account)
modify_esource ("/apps/evolution/calendar/sources", existing_account_info, account->name, new_url);
modify_esource ("/apps/evolution/tasks/sources", existing_account_info, account->name, new_url);
+ modify_esource ("/apps/evolution/memos/sources", existing_account_info, account->name, new_url);
modify_addressbook_sources (account, existing_account_info);
}