diff options
author | Milan Crha <mcrha@redhat.com> | 2009-10-27 18:45:17 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-10-27 18:45:17 +0800 |
commit | d00a56d4cc6f3185004f6babdb1a5f7aad729b5e (patch) | |
tree | cd2bc92c9c6863c80d909814dd1ec5f33a912fc3 /plugins/bbdb/bbdb.h | |
parent | 362260797fe0c457ffba8d1c7bb92be469d0460f (diff) | |
download | gsoc2013-evolution-d00a56d4cc6f3185004f6babdb1a5f7aad729b5e.tar.gz gsoc2013-evolution-d00a56d4cc6f3185004f6babdb1a5f7aad729b5e.tar.zst gsoc2013-evolution-d00a56d4cc6f3185004f6babdb1a5f7aad729b5e.zip |
Bug #599199 - Hangs regularly when synchro with pidgin is activated
The sync is done only once on idle after start. The method of checking for
buddy list changes is done by md5 checksum now, as the pidgin start/stop
changed file time, which was the old method of detecting changes. Also not
using getenv("HOME"), but g_get_home_dir() instead.
Diffstat (limited to 'plugins/bbdb/bbdb.h')
-rw-r--r-- | plugins/bbdb/bbdb.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/bbdb/bbdb.h b/plugins/bbdb/bbdb.h index 9b35d85c1e..145da456f9 100644 --- a/plugins/bbdb/bbdb.h +++ b/plugins/bbdb/bbdb.h @@ -26,14 +26,11 @@ #define GCONF_KEY_ENABLE_GAIM "/apps/evolution/autocontacts/auto_sync_gaim" #define GCONF_KEY_WHICH_ADDRESSBOOK "/apps/evolution/autocontacts/addressbook_source" #define GCONF_KEY_WHICH_ADDRESSBOOK_GAIM "/apps/evolution/autocontacts/gaim_addressbook_source" -#define GCONF_KEY_GAIM_LAST_SYNC "/apps/evolution/autocontacts/gaim_last_sync_time" +#define GCONF_KEY_GAIM_LAST_SYNC "/apps/evolution/autocontacts/gaim_last_sync_md5" #define GAIM_ADDRESSBOOK 1 #define AUTOMATIC_CONTACTS_ADDRESSBOOK 0 -/* How often to poll the buddy list for changes (every two minutes) */ -#define BBDB_BLIST_CHECK_INTERVAL (2 * 60) - /* bbdb.c */ EBook *bbdb_open_addressbook (gint type); gboolean bbdb_check_gaim_enabled (void); |