org.guifications.plugins: 37f972f4a7444a9a45077e9788e68f546ce488cd

rekkanoryo at guifications.org rekkanoryo at guifications.org
Sat Jan 26 13:10:08 CST 2008


-----------------------------------------------------------------
Revision: 37f972f4a7444a9a45077e9788e68f546ce488cd
Ancestor: 412eb4d049ed85d2d7c1ffbab755b54ba0625ff1
Author: rekkanoryo at guifications.org
Date: 2008-01-26T19:06:25
Branch: org.guifications.plugins

Modified files:
        enhancedhist/enhancedhist.c

ChangeLog: 

Add a couple more parent prefs.  Just a thought, but it may fix toblerone3472's problem.

-----------------------------------------------------------------
This revision's diffstat output:
 enhancedhist.c |    4 ++++
 1 file changed, 4 insertions(+)
-------------- next part --------------
============================================================
--- enhancedhist/enhancedhist.c	85dcd33c7f24904f9de24de075394596fe1c278e
+++ enhancedhist/enhancedhist.c	f66357d936d69294d3a5fc268b846c1a0a1d676e
@@ -52,6 +52,8 @@
 
 #define ENHANCED_HISTORY_ID "gtk-plugin_pack-enhanced_history"
 
+#define PREF_ROOT_GPPATH	"/plugins/gtk"
+#define PREF_ROOT_PPATH		"/plugins/gtk/plugin_pack"
 #define PREF_ROOT_PATH		"/plugins/gtk/plugin_pack/enhanced_history"
 #define PREF_NUMBER_PATH	"/plugins/gtk/plugin_pack/enhanced_history/number"
 #define PREF_MINS_PATH		"/plugins/gtk/plugin_pack/enhanced_history/minutes"
@@ -343,6 +345,8 @@ init_plugin(PurplePlugin *plugin)
 {
 	gboolean dates = FALSE, ims = FALSE, chats = FALSE;
 
+	purple_prefs_add_none(PREF_ROOT_GPPATH);
+	purple_prefs_add_none(PREF_ROOT_PPATH);
 	purple_prefs_add_none(PREF_ROOT_PATH);
 
 	if(purple_prefs_exists("/plugins/core/enhanced_history/int")) {


More information about the Plugins-commits mailing list