Mercurial > pidgin.yaz
comparison pidgin/plugins/adiumthemes/webkit.c @ 32575:dcbdee6148e4
save the style path across sessions.
author | tdrhq@soc.pidgin.im |
---|---|
date | Wed, 14 Oct 2009 02:52:43 +0000 |
parents | 5c53eabcea93 |
children | 23b16f51e15a |
comparison
equal
deleted
inserted
replaced
32574:4b53d875529f | 32575:dcbdee6148e4 |
---|---|
656 | 656 |
657 g_assert (iter); | 657 g_assert (iter); |
658 g_free (name); | 658 g_free (name); |
659 g_free (cur_style_dir); | 659 g_free (cur_style_dir); |
660 cur_style_dir = g_strdup (iter->data);; | 660 cur_style_dir = g_strdup (iter->data);; |
661 purple_prefs_set_string ("/plugins/gtk/adiumthemes/stylepath", cur_style_dir); | |
661 | 662 |
662 /* inform the user that existing conversations haven't changed */ | 663 /* inform the user that existing conversations haven't changed */ |
663 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."); | 664 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."); |
664 g_assert (dialog); | 665 g_assert (dialog); |
665 gtk_widget_show (dialog); | 666 gtk_widget_show (dialog); |
844 info.description = "You can chat in Pidgin using Adium's WebKit view."; | 845 info.description = "You can chat in Pidgin using Adium's WebKit view."; |
845 | 846 |
846 purple_prefs_add_none ("/plugins"); | 847 purple_prefs_add_none ("/plugins"); |
847 purple_prefs_add_none ("/plugins/gtk"); | 848 purple_prefs_add_none ("/plugins/gtk"); |
848 purple_prefs_add_none ("/plugins/gtk/adiumthemes"); | 849 purple_prefs_add_none ("/plugins/gtk/adiumthemes"); |
849 purple_prefs_add_string ("/plugins/gtk/adiumthemes/csspath", ""); | 850 purple_prefs_add_string ("/plugins/gtk/adiumthemes/stylepath", ""); |
850 } | 851 } |
851 | 852 |
852 PURPLE_INIT_PLUGIN(webkit, init_plugin, info) | 853 PURPLE_INIT_PLUGIN(webkit, init_plugin, info) |