gtk+ r20968 - in branches/gtk-2-12: . gtk
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20968 - in branches/gtk-2-12: . gtk
- Date: Mon, 4 Aug 2008 14:22:36 +0000 (UTC)
Author: neo
Date: Mon Aug 4 14:22:36 2008
New Revision: 20968
URL: http://svn.gnome.org/viewvc/gtk+?rev=20968&view=rev
Log:
2008-08-04 Sven Neumann <sven gimp org>
Merged from trunk:
* gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
color when the "visited" state is changed.
Modified:
branches/gtk-2-12/ChangeLog
branches/gtk-2-12/gtk/gtklinkbutton.c
Modified: branches/gtk-2-12/gtk/gtklinkbutton.c
==============================================================================
--- branches/gtk-2-12/gtk/gtklinkbutton.c (original)
+++ branches/gtk-2-12/gtk/gtklinkbutton.c Mon Aug 4 14:22:36 2008
@@ -599,7 +599,11 @@
link_button->priv->uri = g_strdup (uri);
g_free (tmp);
- link_button->priv->visited = FALSE;
+ if (link_button->priv->visited)
+ {
+ link_button->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]