Mercurial > pidgin.yaz
comparison libpurple/plugins/joinpart.c @ 16427:4999bbc52881
Works for me! Renames prefs: /core to /purple, /gaim/gtk to /pidgin, /gaim/gnt to /finch
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 25 Apr 2007 23:55:56 +0000 |
parents | 32c366eeeb99 |
children | f8eb3e7c4fbd |
comparison
equal
deleted
inserted
replaced
16426:0fb719b5dc0e | 16427:4999bbc52881 |
---|---|
31 | 31 |
32 /* Preferences */ | 32 /* Preferences */ |
33 | 33 |
34 /* The number of minutes before a person is considered | 34 /* The number of minutes before a person is considered |
35 * to have stopped being part of active conversation. */ | 35 * to have stopped being part of active conversation. */ |
36 #define DELAY_PREF "/plugins/core/joinpart/delay" | 36 #define DELAY_PREF "/plugins/purple/joinpart/delay" |
37 #define DELAY_DEFAULT 10 | 37 #define DELAY_DEFAULT 10 |
38 | 38 |
39 /* The number of people that must be in a room for this | 39 /* The number of people that must be in a room for this |
40 * plugin to have any effect */ | 40 * plugin to have any effect */ |
41 #define THRESHOLD_PREF "/plugins/core/joinpart/threshold" | 41 #define THRESHOLD_PREF "/plugins/purple/joinpart/threshold" |
42 #define THRESHOLD_DEFAULT 20 | 42 #define THRESHOLD_DEFAULT 20 |
43 | 43 |
44 struct joinpart_key | 44 struct joinpart_key |
45 { | 45 { |
46 PurpleConversation *conv; | 46 PurpleConversation *conv; |
283 }; | 283 }; |
284 | 284 |
285 static void | 285 static void |
286 init_plugin(PurplePlugin *plugin) | 286 init_plugin(PurplePlugin *plugin) |
287 { | 287 { |
288 purple_prefs_add_none("/plugins/core/joinpart"); | 288 purple_prefs_add_none("/plugins/purple/joinpart"); |
289 | 289 |
290 purple_prefs_add_int(DELAY_PREF, DELAY_DEFAULT); | 290 purple_prefs_add_int(DELAY_PREF, DELAY_DEFAULT); |
291 purple_prefs_add_int(THRESHOLD_PREF, THRESHOLD_DEFAULT); | 291 purple_prefs_add_int(THRESHOLD_PREF, THRESHOLD_DEFAULT); |
292 } | 292 } |
293 | 293 |