# HG changeset patch # User Christian Hammond # Date 1058581690 0 # Node ID 6b95da075de99b20093ca312cfeefe8381f47bc2 # Parent d0d68bf3908191a6327a2d7ecf24796af6b8e033 [gaim-migrate @ 6719] Moved the docklet gaim_prefs_add_* code to the plugin's init function. committer: Tailor Script diff -r d0d68bf39081 -r 6b95da075de9 plugins/docklet/docklet.c --- 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)