summaryrefslogtreecommitdiff
path: root/testsuite/gtk/focus-chain
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-04-09 20:24:23 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-04-09 20:43:45 -0400
commit822c2aba36ca0fdb67dc6dee182219fc4f0e91dc (patch)
tree46a678f75c576e6e87829fc1353a9eba8041dc40 /testsuite/gtk/focus-chain
parenta11f9fea7669ba31e4416c13a07a117f6c6422f7 (diff)
downloadgtk+-822c2aba36ca0fdb67dc6dee182219fc4f0e91dc.tar.gz
scalebutton: Don't derive from GtkButton
Make GtkScaleButton a widget that has a toggle button as a child, just like all the other button widgets now. The immediate benefit of this arrangement is to avoid the "double focus" problem when we pop up the popup. Update accessible, demos and tests to match.
Diffstat (limited to 'testsuite/gtk/focus-chain')
-rw-r--r--testsuite/gtk/focus-chain/widget-factory2.tab4
-rw-r--r--testsuite/gtk/focus-chain/widget-factory2.tab-backward4
2 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/gtk/focus-chain/widget-factory2.tab b/testsuite/gtk/focus-chain/widget-factory2.tab
index 139d7417a8..6f7a2eb1d7 100644
--- a/testsuite/gtk/focus-chain/widget-factory2.tab
+++ b/testsuite/gtk/focus-chain/widget-factory2.tab
@@ -1,6 +1,6 @@
GtkSpinButton GtkText
-GtkVolumeButton
-GtkScaleButton
+GtkToggleButton
+GtkToggleButton
GtkTextView
GtkToggleButton
GtkToggleButton
diff --git a/testsuite/gtk/focus-chain/widget-factory2.tab-backward b/testsuite/gtk/focus-chain/widget-factory2.tab-backward
index 942daff4e9..a803ce791f 100644
--- a/testsuite/gtk/focus-chain/widget-factory2.tab-backward
+++ b/testsuite/gtk/focus-chain/widget-factory2.tab-backward
@@ -30,8 +30,8 @@ GtkToggleButton
GtkToggleButton
GtkToggleButton
GtkTextView
-GtkScaleButton
-GtkVolumeButton
+GtkToggleButton
+GtkToggleButton
GtkSpinButton GtkText
GtkToggleButton
GtkToggleButton