diff --git a/demos/gtk-demo/clipboard.ui b/demos/gtk-demo/clipboard.ui index f8a2146fa6..b632d96e4a 100644 --- a/demos/gtk-demo/clipboard.ui +++ b/demos/gtk-demo/clipboard.ui @@ -4,6 +4,9 @@ 1 Clipboard + + label + vertical @@ -13,7 +16,7 @@ 12 12 - + “Copy” will copy the selected data the clipboard, “Paste” will show the current clipboard contents. You can also drag the data to the bottom. 1 40 diff --git a/demos/gtk-demo/demo3widget.c b/demos/gtk-demo/demo3widget.c index e2ddf744e1..e34908ffa2 100644 --- a/demos/gtk-demo/demo3widget.c +++ b/demos/gtk-demo/demo3widget.c @@ -387,6 +387,8 @@ demo3_widget_class_init (Demo3WidgetClass *class) gtk_widget_class_set_template_from_resource (widget_class, "/menu/demo3widget.ui"); gtk_widget_class_bind_template_child (widget_class, Demo3Widget, menu); gtk_widget_class_bind_template_callback (widget_class, pressed_cb); + + gtk_widget_class_set_accessible_role (widget_class, GTK_ACCESSIBLE_ROLE_IMG); } GtkWidget * diff --git a/demos/gtk-demo/demo3widget.ui b/demos/gtk-demo/demo3widget.ui index ca82d29128..b09c62001a 100644 --- a/demos/gtk-demo/demo3widget.ui +++ b/demos/gtk-demo/demo3widget.ui @@ -19,8 +19,14 @@