summaryrefslogtreecommitdiff
path: root/capplets/keybindings
diff options
context:
space:
mode:
authorSamuel Thibault <[email protected]>2019-05-09 18:41:39 +0200
committerraveit65 <[email protected]>2019-06-15 17:22:02 +0200
commit06970a77f4d1d7aefd9b468a4ac75f737ebf5431 (patch)
tree3f450989808ef36e2e839c377aea16b0ec9c6fcd /capplets/keybindings
parent55bc2d3f00656af5732066aa59447512882ff7ee (diff)
downloadmate-control-center-06970a77f4d1d7aefd9b468a4ac75f737ebf5431.tar.bz2
mate-control-center-06970a77f4d1d7aefd9b468a4ac75f737ebf5431.tar.xz
Add support for checking .ui accessibility with gla11y
Diffstat (limited to 'capplets/keybindings')
-rw-r--r--capplets/keybindings/Makefile.am12
-rw-r--r--capplets/keybindings/ui-a11y.suppr3
2 files changed, 12 insertions, 3 deletions
diff --git a/capplets/keybindings/Makefile.am b/capplets/keybindings/Makefile.am
index 24c95a56..2b86f75f 100644
--- a/capplets/keybindings/Makefile.am
+++ b/capplets/keybindings/Makefile.am
@@ -1,6 +1,8 @@
# This is used in MATECC_CAPPLETS_CFLAGS
cappletname = keybinding
+ui_files = mate-keybinding-properties.ui
+
bin_PROGRAMS = mate-keybinding-properties
mate_keybinding_properties_LDADD = $(MATECC_CAPPLETS_LIBS)
@@ -16,6 +18,8 @@ mate_keybinding_properties_SOURCES = \
@INTLTOOL_DESKTOP_RULE@
+include $(top_srcdir)/gla11y.mk
+
desktopdir = $(datadir)/applications
Desktop_in_files = mate-keybinding.desktop.in
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
@@ -40,11 +44,13 @@ CLEANFILES = \
$(BUILT_SOURCES) \
$(MATECC_CAPPLETS_CLEANFILES) \
$(desktop_DATA) \
- $(xml_DATA)
+ $(xml_DATA) \
+ $(GLA11Y_OUTPUT)
EXTRA_DIST = $(xml_in_files) \
mate-keybindings.pc.in \
- mate-keybinding-properties.ui \
+ $(ui_files) \
$(Desktop_in_files) \
- org.mate.mcc.keybindings.gresource.xml
+ org.mate.mcc.keybindings.gresource.xml \
+ ui-a11y.suppr
-include $(top_srcdir)/git.mk
diff --git a/capplets/keybindings/ui-a11y.suppr b/capplets/keybindings/ui-a11y.suppr
new file mode 100644
index 00000000..6720b650
--- /dev/null
+++ b/capplets/keybindings/ui-a11y.suppr
@@ -0,0 +1,3 @@
+mate-keybinding-properties.ui://GtkTreeView[@id='shortcut_treeview'] no-labelled-by
+mate-keybinding-properties.ui://GtkImage[@id='image1'] no-labelled-by
+mate-keybinding-properties.ui://GtkLabel[@id='label-suggest'] orphan-label