Mercurial > pidgin
comparison finch/gntprefs.c @ 16566:45773df910e0
merge of 'a8caeb1c79d1daf68ca89b1cc36cef4578306ea1'
and 'e33fd060bfb78ebc76bd2ce4b79eeb82dc3ad48f'
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 28 Apr 2007 04:10:18 +0000 |
parents | ac0d07c7fd90 |
children | beb960114f7d |
comparison
equal
deleted
inserted
replaced
16564:40b90b191ff3 | 16566:45773df910e0 |
---|---|
40 purple_prefs_add_none("/finch/plugins"); | 40 purple_prefs_add_none("/finch/plugins"); |
41 purple_prefs_add_path_list("/finch/plugins/loaded", NULL); | 41 purple_prefs_add_path_list("/finch/plugins/loaded", NULL); |
42 | 42 |
43 purple_prefs_add_none("/finch/conversations"); | 43 purple_prefs_add_none("/finch/conversations"); |
44 purple_prefs_add_bool("/finch/conversations/timestamps", TRUE); | 44 purple_prefs_add_bool("/finch/conversations/timestamps", TRUE); |
45 purple_prefs_add_bool("/finch/conversations/notify_typing", FALSE); /* XXX: Not functional yet */ | 45 purple_prefs_add_bool("/finch/conversations/notify_typing", FALSE); |
46 } | |
47 | |
48 void finch_prefs_update_old() | |
49 { | |
50 const char *str = NULL; | |
51 | |
46 purple_prefs_rename("/gaim/gnt", "/finch"); | 52 purple_prefs_rename("/gaim/gnt", "/finch"); |
47 purple_prefs_rename("/purple/gnt", "/finch"); | 53 purple_prefs_rename("/purple/gnt", "/finch"); |
54 | |
55 if ((str = purple_prefs_get_string("/purple/away/idle_reporting")) && | |
56 strcmp(str, "gaim") == 0) | |
57 purple_prefs_set_string("/purple/away/idle_reporting", "purple"); | |
48 } | 58 } |
49 | 59 |
50 typedef struct | 60 typedef struct |
51 { | 61 { |
52 PurplePrefType type; | 62 PurplePrefType type; |