projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9517d3d
)
GtkLinkButton: Set the visited state when appropriate
author
Lukáš Tyrychtr
<ltyrycht@redhat.com>
Wed, 8 Mar 2023 08:24:35 +0000
(09:24 +0100)
committer
Lukáš Tyrychtr
<ltyrycht@redhat.com>
Wed, 8 Mar 2023 08:24:35 +0000
(09:24 +0100)
gtk/gtklinkbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtklinkbutton.c
b/gtk/gtklinkbutton.c
index 25ed3d2333409146d64d9205c0c37021e4cad69a..c459acf2397e791f703e0416a251573aa2be449a 100644
(file)
--- a/
gtk/gtklinkbutton.c
+++ b/
gtk/gtklinkbutton.c
@@
-673,6
+673,10
@@
gtk_link_button_set_visited (GtkLinkButton *link_button,
{
link_button->visited = visited;
+ gtk_accessible_update_state (GTK_ACCESSIBLE (link_button),
+ GTK_ACCESSIBLE_STATE_VISITED, visited,
+ -1);
+
if (visited)
{
gtk_widget_unset_state_flags (GTK_WIDGET (link_button), GTK_STATE_FLAG_LINK);