Commit cd8bca1c authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

update the link color when the "visited" state is changed.

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.


svn path=/trunk/; revision=20966
parent d132b616
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.
2008-08-04 Michael Natterer <mitch@imendio.com>
* gtk/gtkwindow.c: move the code of the deprecated
......
......@@ -630,7 +630,11 @@ gtk_link_button_set_uri (GtkLinkButton *link_button,
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");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment