soc.2009.webkitmessageview: 5cdf9355: save the style path across sessions.

tdrhq at soc.pidgin.im tdrhq at soc.pidgin.im
Tue Oct 13 23:05:42 EDT 2009


-----------------------------------------------------------------
Revision: 5cdf9355ba7a6f7004193cbe87f5944ebb768dd8
Ancestor: 75ffceeee02a5b5f52aac4008a35ac04f5f5a5f4
Author: tdrhq at soc.pidgin.im
Date: 2009-10-14T02:52:43
Branch: im.pidgin.soc.2009.webkitmessageview
URL: http://d.pidgin.im/viewmtn/revision/info/5cdf9355ba7a6f7004193cbe87f5944ebb768dd8

Modified files:
        pidgin/plugins/adiumthemes/webkit.c

ChangeLog: 

save the style path across sessions.

-------------- next part --------------
============================================================
--- pidgin/plugins/adiumthemes/webkit.c	5c04da3f452580866d8ad343b112999010602bde
+++ pidgin/plugins/adiumthemes/webkit.c	cedb620c285e9cc008f85a6139c6ce1accbb7755
@@ -658,6 +658,7 @@ style_changed (GtkWidget* combobox, gpoi
 	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 @@ init_plugin(PurplePlugin *plugin) {
 	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)


More information about the Commits mailing list