aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:24:42 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-12-16 17:24:42 +0800
commitfd94ed8f8f4cc5a9766ee2ad2874dc6b2849a2e3 (patch)
treee702b0b958d6b13115d49a80795f6e7c16e12443
parent497c192507ad047a14ab6e0e72693657a55db265 (diff)
downloadgsoc2013-empathy-fd94ed8f8f4cc5a9766ee2ad2874dc6b2849a2e3.tar
gsoc2013-empathy-fd94ed8f8f4cc5a9766ee2ad2874dc6b2849a2e3.tar.gz
gsoc2013-empathy-fd94ed8f8f4cc5a9766ee2ad2874dc6b2849a2e3.tar.bz2
gsoc2013-empathy-fd94ed8f8f4cc5a9766ee2ad2874dc6b2849a2e3.tar.lz
gsoc2013-empathy-fd94ed8f8f4cc5a9766ee2ad2874dc6b2849a2e3.tar.xz
gsoc2013-empathy-fd94ed8f8f4cc5a9766ee2ad2874dc6b2849a2e3.tar.zst
gsoc2013-empathy-fd94ed8f8f4cc5a9766ee2ad2874dc6b2849a2e3.zip
Remove a FIXME which was not a problem and add one for bug #542523
svn path=/trunk/; revision=1995
-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);