aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-theme-manager.c')
-rw-r--r--libempathy-gtk/empathy-theme-manager.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-theme-manager.c b/libempathy-gtk/empathy-theme-manager.c
index 48e2963d3..8b1efa93a 100644
--- a/libempathy-gtk/empathy-theme-manager.c
+++ b/libempathy-gtk/empathy-theme-manager.c
@@ -45,6 +45,8 @@ typedef struct {
gchar *name;
guint name_notify_id;
GtkSettings *settings;
+ GList *irc_views;
+ GList *boxes_views;
} EmpathyThemeManagerPriv;
enum {
@@ -82,9 +84,6 @@ theme_manager_color_hash_notify_cb (EmpathyThemeManager *manager)
FIXME: Make that work, it should update color when theme changes but it
doesnt seems to work with all themes.
-
---------
-
g_object_get (priv->settings,
"color-hash", &color_hash,
NULL);
@@ -247,7 +246,6 @@ theme_manager_create_irc_view (EmpathyThemeManager *manager)
view = EMPATHY_CHAT_TEXT_VIEW (empathy_theme_irc_new ());
/* Define base tags */
- /* FIXME: Missing define for highlight */
empathy_chat_text_view_tag_set (view, EMPATHY_CHAT_TEXT_VIEW_TAG_SPACING,
"size", 2000,
NULL);
@@ -305,6 +303,8 @@ theme_manager_create_boxes_view (EmpathyThemeManager *manager,
view = EMPATHY_CHAT_TEXT_VIEW (empathy_theme_boxes_new ());
+ /* FIXME: GtkTextTag don't support to set color properties to NULL.
+ * See bug #542523 */
#define TAG_SET(prop, value) \
if (value != NULL) { \
g_object_set (tag, prop, value, NULL); \
@@ -376,7 +376,7 @@ theme_manager_create_simple_view (EmpathyThemeManager *manager)
style = gtk_widget_get_default_style ();
- theme_manager_gdk_color_to_hex (&style->base[GTK_STATE_SELECTED], color1);
+ theme_manager_gdk_color_to_hex (&style->base[GTK_STATE_SELECTED], color1);
theme_manager_gdk_color_to_hex (&style->bg[GTK_STATE_SELECTED], color2);
theme_manager_gdk_color_to_hex (&style->dark[GTK_STATE_SELECTED], color3);
theme_manager_gdk_color_to_hex (&style->fg[GTK_STATE_SELECTED], color4);