aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@gnome-db.org>2011-11-18 00:19:48 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-11-18 00:19:48 +0800
commit73656ae57ee8a42678e09b07c5d85fe45b9844a6 (patch)
treeb8e127c47eea456c27c9d534384801c74c9e7cfe /data
parent30f7d3788f7dad3dee700d36570baa11f4612634 (diff)
downloadgsoc2013-evolution-73656ae57ee8a42678e09b07c5d85fe45b9844a6.tar.gz
gsoc2013-evolution-73656ae57ee8a42678e09b07c5d85fe45b9844a6.tar.zst
gsoc2013-evolution-73656ae57ee8a42678e09b07c5d85fe45b9844a6.zip
Port autocontacts plugin to GSettings
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am1
-rw-r--r--data/evolution.convert9
-rw-r--r--data/org.gnome.evolution.eplugin.autocontacts.gschema.xml.in39
3 files changed, 49 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 4a4cc278d2..1aed9b3afe 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -18,6 +18,7 @@ gsettings_SCHEMAS = \
org.gnome.evolution.mail.gschema.xml \
org.gnome.evolution.shell.gschema.xml \
org.gnome.evolution.eplugin.attachment-reminder.gschema.xml \
+ org.gnome.evolution.eplugin.autocontacts.gschema.xml \
org.gnome.evolution.eplugin.bogo-junk.gschema.xml \
org.gnome.evolution.eplugin.email-custom-header.gschema.xml \
org.gnome.evolution.eplugin.external-editor.gschema.xml \
diff --git a/data/evolution.convert b/data/evolution.convert
index ecb5236406..190b9ee555 100644
--- a/data/evolution.convert
+++ b/data/evolution.convert
@@ -235,6 +235,15 @@ vfolder-editor-width = /apps/evolution/mail/vfolder_editor_width
[org.gnome.evolution.eplugin.attachment-reminder]
attachment-reminder-clues = /apps/evolution/mail/attachment_reminder_clues
+[org.gnome.evolution.eplugin.autocontacts]
+addressbook-source = /apps/evolution/autocontacts/addressbook_source
+auto-sync-gaim = /apps/evolution/autocontacts/auto_sync_gaim
+enable = /apps/evolution/autocontacts/enable_autocontacts
+gaim-addressbook-source = /apps/evolution/autocontacts/gaim_addressbook_source
+gaim-check-interval = /apps/evolution/autocontacts/gaim_check_interval
+gaim-last-sync-md5 = /apps/evolution/autocontacts/gaim_last_sync_md5
+gaim-last-sync-time = /apps/evolution/autocontacts/gaim_last_sync_time
+
[org.gnome.evolution.eplugin.bogo-junk]
utf8-for-spam-filter = /apps/evolution/mail/junk/bogofilter/unicode
diff --git a/data/org.gnome.evolution.eplugin.autocontacts.gschema.xml.in b/data/org.gnome.evolution.eplugin.autocontacts.gschema.xml.in
new file mode 100644
index 0000000000..f1ff4a12e2
--- /dev/null
+++ b/data/org.gnome.evolution.eplugin.autocontacts.gschema.xml.in
@@ -0,0 +1,39 @@
+<schemalist>
+ <schema gettext-domain="evolution" id="org.gnome.evolution.eplugin.autocontacts" path="/org/gnome/evolution/eplugin/autocontacts/">
+ <key name="addressbook-source" type="s">
+ <default>''</default>
+ <_summary>Address book source</_summary>
+ <_description>Address book to use for storing automatically synced contacts</_description>
+ </key>
+ <key name="auto-sync-gaim" type="b">
+ <default>false</default>
+ <_summary>Auto sync GAIM contacts</_summary>
+ <_description>Whether GAIM contacts should be automaticall synced</_description>
+ </key>
+ <key name="enable" type="b">
+ <default>false</default>
+ <_summary>Enable autocontacts</_summary>
+ <_description>Whether contacts should be automatically added to the user's addressbook</_description>
+ </key>
+ <key name="gaim-addressbook-source" type="s">
+ <default>''</default>
+ <_summary>GAIM address book source</_summary>
+ <_description>Address book to use for storing automatically synced contacts from GAIM</_description>
+ </key>
+ <key name="gaim-check-interval" type="i">
+ <default>10</default>
+ <_summary>GAIM check interval</_summary>
+ <_description>Check interval for GAIM syncing of contacts</_description>
+ </key>
+ <key name="gaim-last-sync-md5" type="s">
+ <default>''</default>
+ <_summary>GAIM last sync MD5</_summary>
+ <_description>GAIM last sync MD5</_description>
+ </key>
+ <key name="gaim-last-sync-time" type="s">
+ <default>''</default>
+ <_summary>GAIM last sync time</_summary>
+ <_description>GAIM last sync time</_description>
+ </key>
+ </schema>
+</schemalist>