Mercurial > pidgin
comparison finch/gntprefs.c @ 32819:2c6510167895 default tip
propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24)
to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sat, 02 Jun 2012 02:30:49 +0000 |
parents | da81195f635e |
children |
comparison
equal
deleted
inserted
replaced
32818:01ff09d4a463 | 32819:2c6510167895 |
---|---|
60 purple_prefs_add_path("/finch/filelocations/last_save_folder", ""); | 60 purple_prefs_add_path("/finch/filelocations/last_save_folder", ""); |
61 } | 61 } |
62 | 62 |
63 void finch_prefs_update_old() | 63 void finch_prefs_update_old() |
64 { | 64 { |
65 const char *str = NULL; | |
66 | |
67 purple_prefs_rename("/gaim/gnt", "/finch"); | |
68 purple_prefs_rename("/purple/gnt", "/finch"); | |
69 | |
70 if ((str = purple_prefs_get_string("/purple/away/idle_reporting")) && | |
71 strcmp(str, "gaim") == 0) | |
72 purple_prefs_set_string("/purple/away/idle_reporting", "purple"); | |
73 } | 65 } |
74 | 66 |
75 typedef struct | 67 typedef struct |
76 { | 68 { |
77 PurplePrefType type; | 69 PurplePrefType type; |