diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-11-04 11:36:52 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-11-04 11:36:52 -0500 |
commit | bb24b350ac1a308310fde5c6c489b23de9d36a49 (patch) | |
tree | 96e99612d575e3ee7854376d8ed6ffd6d2e2cee4 /demos | |
parent | dafb2b0361064e58462d0cb3509bb2d0aaa8cb67 (diff) | |
download | gtk+-bb24b350ac1a308310fde5c6c489b23de9d36a49.tar.gz |
gtk-demo: Set an accessible role
Set an accessible role for the toolbar in the
builder demo. This tests accessibility support
in GtkBuilder.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/demo.ui | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/demos/gtk-demo/demo.ui b/demos/gtk-demo/demo.ui index 22eccc535e..dcbef3d04f 100644 --- a/demos/gtk-demo/demo.ui +++ b/demos/gtk-demo/demo.ui @@ -100,9 +100,8 @@ </child> <child> <object class="GtkBox" id="toolbar1"> - <style> - <class name="toolbar"/> - </style> + <property name="accessible-role">toolbar</property> + <property name="css-classes">toolbar</property> <child> <object class="GtkButton"> <property name="label" translatable="yes">New</property> |