summaryrefslogtreecommitdiff
path: root/capplets/accessibility/at-properties
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/accessibility/at-properties
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/accessibility/at-properties')
-rw-r--r--capplets/accessibility/at-properties/Makefile.am7
-rw-r--r--capplets/accessibility/at-properties/ui-a11y.suppr4
2 files changed, 9 insertions, 2 deletions
diff --git a/capplets/accessibility/at-properties/Makefile.am b/capplets/accessibility/at-properties/Makefile.am
index a49e54b0..62b1ed5a 100644
--- a/capplets/accessibility/at-properties/Makefile.am
+++ b/capplets/accessibility/at-properties/Makefile.am
@@ -22,17 +22,20 @@ pixmap_DATA = \
at-startup.png \
at-support.png
+include $(top_srcdir)/gla11y.mk
+
AM_CPPFLAGS = $(AT_CAPPLET_CFLAGS) \
$(MATECC_CAPPLETS_CFLAGS) \
-DPIXMAPDIR=\""$(pixmapdir)"\" \
-DMATECC_DATA_DIR="\"$(pkgdatadir)\"" \
-DMATELOCALEDIR="\"$(datadir)/locale\""
-CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES)
+CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) $(GLA11Y_OUTPUT)
EXTRA_DIST = \
$(ui_files) \
$(pixmap_DATA) \
$(Desktop_in_files) \
- org.mate.mcc.accessibility.at.gresource.xml
+ org.mate.mcc.accessibility.at.gresource.xml \
+ ui-a11y.suppr
# Generate resources
mate-at-properties-resources.h mate-at-properties-resources.c: org.mate.mcc.accessibility.at.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.accessibility.at.gresource.xml)
diff --git a/capplets/accessibility/at-properties/ui-a11y.suppr b/capplets/accessibility/at-properties/ui-a11y.suppr
new file mode 100644
index 00000000..e3375981
--- /dev/null
+++ b/capplets/accessibility/at-properties/ui-a11y.suppr
@@ -0,0 +1,4 @@
+at-enable-dialog.ui://GtkLabel[@id='label4'] orphan-label
+at-enable-dialog.ui://GtkImage[@id='at_enable_image'] no-labelled-by
+at-enable-dialog.ui://GtkLabel[@id='pref_label'] orphan-label
+at-enable-dialog.ui://GtkImage[@id='at_applications_image'] no-labelled-by