changeset 32114:dcbdee6148e4

save the style path across sessions.
author tdrhq@soc.pidgin.im
date Wed, 14 Oct 2009 02:52:43 +0000
parents 4b53d875529f
children 994e8d214754
files pidgin/plugins/adiumthemes/webkit.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/plugins/adiumthemes/webkit.c	Wed Aug 26 03:19:30 2009 +0000
+++ b/pidgin/plugins/adiumthemes/webkit.c	Wed Oct 14 02:52:43 2009 +0000
@@ -658,6 +658,7 @@
 	g_free (name);
 	g_free (cur_style_dir);
 	cur_style_dir = g_strdup (iter->data);;
+	purple_prefs_set_string ("/plugins/gtk/adiumthemes/stylepath", cur_style_dir);
 
 	/* inform the user that existing conversations haven't changed */
 	dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "The style for existing conversations have not been changed. Please close and re-open the conversation for the changes to take effect.");
@@ -846,7 +847,7 @@
 	purple_prefs_add_none ("/plugins");
 	purple_prefs_add_none ("/plugins/gtk");
 	purple_prefs_add_none ("/plugins/gtk/adiumthemes");
-	purple_prefs_add_string ("/plugins/gtk/adiumthemes/csspath", "");
+	purple_prefs_add_string ("/plugins/gtk/adiumthemes/stylepath", "");
 }
 
 PURPLE_INIT_PLUGIN(webkit, init_plugin, info)