# HG changeset patch # User Elliott Sales de Andrade # Date 1316400788 0 # Node ID a097ae28c24d8588cafdd9d8b23e7a8d17159428 # Parent 7219f52cdfa330d9d5c3101bd951f97d7afa88d3 Register the conversation theme loader on gtkconv initialization. diff -r 7219f52cdfa3 -r a097ae28c24d pidgin/gtkconv.c --- a/pidgin/gtkconv.c Mon Sep 19 02:42:00 2011 +0000 +++ b/pidgin/gtkconv.c Mon Sep 19 02:53:08 2011 +0000 @@ -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 @@ 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);