empathy r1995 - trunk/libempathy-gtk



Author: xclaesse
Date: Tue Dec 16 09:24:42 2008
New Revision: 1995
URL: http://svn.gnome.org/viewvc/empathy?rev=1995&view=rev

Log:
Remove a FIXME which was not a problem and add one for bug #542523

Modified:
   trunk/libempathy-gtk/empathy-theme-manager.c

Modified: trunk/libempathy-gtk/empathy-theme-manager.c
==============================================================================
--- trunk/libempathy-gtk/empathy-theme-manager.c	(original)
+++ trunk/libempathy-gtk/empathy-theme-manager.c	Tue Dec 16 09:24:42 2008
@@ -45,6 +45,8 @@
 	gchar       *name;
 	guint        name_notify_id;
 	GtkSettings *settings;
+	GList       *irc_views;
+	GList       *boxes_views;
 } EmpathyThemeManagerPriv;
 
 enum {
@@ -82,9 +84,6 @@
 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 @@
 	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 @@
 
 	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 @@
 
 	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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]