[gtk/ebassi/new-a11y: 78/87] a11y: Set the role for GtkScale
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/new-a11y: 78/87] a11y: Set the role for GtkScale
- Date: Fri, 17 Jul 2020 13:12:59 +0000 (UTC)
commit f35a561b1e837d89b713553e2a7a89ac51399803
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Jul 13 16:22:44 2020 +0100
a11y: Set the role for GtkScale
gtk/gtkscale.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index cbc7226fa3..09fb5b55b3 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -816,6 +816,8 @@ gtk_scale_class_init (GtkScaleClass *class)
GTK_SCROLL_END);
gtk_widget_class_set_css_name (widget_class, I_("scale"));
+
+ gtk_widget_class_set_accessible_role (widget_class, GTK_ACCESSIBLE_ROLE_SLIDER);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]