changeset 6226:6b95da075de9

[gaim-migrate @ 6719] Moved the docklet gaim_prefs_add_* code to the plugin's init function. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 19 Jul 2003 02:28:10 +0000
parents d0d68bf39081
children 750a5055def6
files plugins/docklet/docklet.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/docklet/docklet.c	Sat Jul 19 02:13:25 2003 +0000
+++ b/plugins/docklet/docklet.c	Sat Jul 19 02:28:10 2003 +0000
@@ -433,9 +433,6 @@
 	gaim_signal_connect(plugin, event_buddy_away, gaim_buddy_away, NULL);
 	gaim_signal_connect(plugin, event_buddy_back, gaim_buddy_back, NULL); */
 
-	gaim_prefs_add_none("/plugins/gtk/docklet");
-	gaim_prefs_add_bool("/plugins/gtk/docklet/queue_messages", FALSE);
-
 	return TRUE;
 }
 
@@ -518,6 +515,8 @@
 static void
 plugin_init(GaimPlugin *plugin)
 {
+	gaim_prefs_add_none("/plugins/gtk/docklet");
+	gaim_prefs_add_bool("/plugins/gtk/docklet/queue_messages", FALSE);
 }
 
 GAIM_INIT_PLUGIN(docklet, plugin_init, info)