From d00a56d4cc6f3185004f6babdb1a5f7aad729b5e Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 27 Oct 2009 11:45:17 +0100 Subject: 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. --- plugins/bbdb/bbdb.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/bbdb/bbdb.h') 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); -- cgit v1.2.3