From 149c8a6d3f8ad9cea140fa7ae95b600c8e6e73a6 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 23 Apr 2008 14:30:28 +0000 Subject: Do not apply different theme to chat and chatrooms svn path=/trunk/; revision=1033 --- libempathy-gtk/empathy-theme-manager.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'libempathy-gtk/empathy-theme-manager.c') diff --git a/libempathy-gtk/empathy-theme-manager.c b/libempathy-gtk/empathy-theme-manager.c index 490fe6ace..09b68e0a7 100644 --- a/libempathy-gtk/empathy-theme-manager.c +++ b/libempathy-gtk/empathy-theme-manager.c @@ -39,7 +39,6 @@ typedef struct { gchar *name; guint name_notify_id; - guint room_notify_id; gboolean show_avatars; guint show_avatars_notify_id; @@ -56,9 +55,7 @@ static void theme_manager_finalize (GObject *o static void theme_manager_notify_name_cb (EmpathyConf *conf, const gchar *key, gpointer user_data); -static void theme_manager_notify_room_cb (EmpathyConf *conf, - const gchar *key, - gpointer user_data); + static void theme_manager_notify_show_avatars_cb (EmpathyConf *conf, const gchar *key, gpointer user_data); @@ -224,12 +221,6 @@ empathy_theme_manager_init (EmpathyThemeManager *manager) theme_manager_notify_name_cb, manager); - priv->room_notify_id = - empathy_conf_notify_add (empathy_conf_get (), - EMPATHY_PREFS_CHAT_THEME_CHAT_ROOM, - theme_manager_notify_room_cb, - manager); - empathy_conf_get_string (empathy_conf_get (), EMPATHY_PREFS_CHAT_THEME, &priv->name); @@ -289,7 +280,6 @@ theme_manager_finalize (GObject *object) priv = GET_PRIV (object); empathy_conf_notify_remove (empathy_conf_get (), priv->name_notify_id); - empathy_conf_notify_remove (empathy_conf_get (), priv->room_notify_id); empathy_conf_notify_remove (empathy_conf_get (), priv->show_avatars_notify_id); g_free (priv->name); @@ -328,14 +318,6 @@ theme_manager_notify_name_cb (EmpathyConf *conf, g_signal_emit (manager, signals[THEME_CHANGED], 0, NULL); } -static void -theme_manager_notify_room_cb (EmpathyConf *conf, - const gchar *key, - gpointer user_data) -{ - g_signal_emit (user_data, signals[THEME_CHANGED], 0, NULL); -} - static void theme_manager_notify_show_avatars_cb (EmpathyConf *conf, const gchar *key, -- cgit v1.2.3