gtk+ r20966 - in trunk: . gtk



Author: neo
Date: Mon Aug  4 14:13:12 2008
New Revision: 20966
URL: http://svn.gnome.org/viewvc/gtk+?rev=20966&view=rev

Log:
2008-08-04  Sven Neumann  <sven gimp org>

	* gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
	color when the "visited" state is changed.



Modified:
   trunk/ChangeLog
   trunk/gtk/gtklinkbutton.c

Modified: trunk/gtk/gtklinkbutton.c
==============================================================================
--- trunk/gtk/gtklinkbutton.c	(original)
+++ trunk/gtk/gtklinkbutton.c	Mon Aug  4 14:13:12 2008
@@ -630,7 +630,11 @@
   g_free (priv->uri);
   priv->uri = g_strdup (uri);
 
-  priv->visited = FALSE;
+  if (priv->visited)
+    {
+      priv->visited = FALSE;
+      set_link_color (link_button);
+    }
 
   g_object_notify (G_OBJECT (link_button), "uri");
 }



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