mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
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
This commit is contained in:
parent
d132b616e2
commit
cd8bca1c64
@ -1,3 +1,8 @@
|
||||
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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user