pidgin: dd17582d: Register the conversation theme loader o...

qulogic at pidgin.im qulogic at pidgin.im
Mon Sep 19 01:50:47 EDT 2011


----------------------------------------------------------------------
Revision: dd17582d6c8c3df40f270910681a119fd1581c3a
Parent:   9198c451f7458077bf72cb0c51277a8095e17c3d
Author:   qulogic at pidgin.im
Date:     09/18/11 22:53:08
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/dd17582d6c8c3df40f270910681a119fd1581c3a

Changelog: 

Register the conversation theme loader on gtkconv initialization.

Changes against parent 9198c451f7458077bf72cb0c51277a8095e17c3d

  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	3353757a6fcdbda18fc84805d5a787e6d304bcc3
+++ pidgin/gtkconv.c	6b8fa8ea575c7f864f9a3373d8bac70e0c9b3a6e
@@ -52,6 +52,8 @@
 #include "notify.h"
 #include "prpl.h"
 #include "request.h"
+#include "theme-loader.h"
+#include "theme-manager.h"
 #include "util.h"
 #include "version.h"
 
@@ -59,6 +61,8 @@
 #include "gtkblist.h"
 #include "gtkconv.h"
 #include "gtkconvwin.h"
+#include "gtkconv-theme.h"
+#include "gtkconv-theme-loader.h"
 #include "gtkdialogs.h"
 #include "gtkimhtml.h"
 #include "gtkimhtmltoolbar.h"
@@ -8120,6 +8124,8 @@ pidgin_conversations_init(void)
 	purple_signal_connect(purple_conversations_get_handle(), "wrote-chat-msg", handle,
 			PURPLE_CALLBACK(wrote_msg_update_unseen_cb), NULL);
 
+	purple_theme_manager_register_type(g_object_new(PIDGIN_TYPE_CONV_THEME_LOADER, "type", "conversation", NULL));
+
 	{
 		/* Set default tab colors */
 		GString *str = g_string_new(NULL);


More information about the Commits mailing list