Mercurial > pidgin
comparison libpurple/plugins/joinpart.c @ 16430:f8eb3e7c4fbd
Fix GTK Plugin prefs
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Thu, 26 Apr 2007 01:41:35 +0000 |
| parents | 4999bbc52881 |
| children | 5205dd2bd035 |
comparison
equal
deleted
inserted
replaced
| 16429:f9597f375b07 | 16430:f8eb3e7c4fbd |
|---|---|
| 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/purple/joinpart/delay" | 36 #define DELAY_PREF "/plugins/core/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/purple/joinpart/threshold" | 41 #define THRESHOLD_PREF "/plugins/core/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/purple/joinpart"); | 288 purple_prefs_add_none("/plugins/core/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 |
