summaryrefslogtreecommitdiff
path: root/capplets/display
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/display
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/display')
-rw-r--r--capplets/display/Makefile.am8
-rw-r--r--capplets/display/ui-a11y.suppr2
2 files changed, 8 insertions, 2 deletions
diff --git a/capplets/display/Makefile.am b/capplets/display/Makefile.am
index 98cd77ce..0b776e70 100644
--- a/capplets/display/Makefile.am
+++ b/capplets/display/Makefile.am
@@ -7,6 +7,10 @@ BUILT_SOURCES = \
mate-display-properties-resources.h \
mate-display-properties-resources.c
+ui_files = display-capplet.ui
+
+include $(top_srcdir)/gla11y.mk
+
bin_PROGRAMS = mate-display-properties
sbin_PROGRAMS = mate-display-properties-install-systemwide
@@ -56,9 +60,9 @@ foo-marshal.h: foo-marshal.list
mate-display-properties-resources.h mate-display-properties-resources.c: org.mate.mcc.display.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.display.gresource.xml)
$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name display $<
-CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES)
+CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) $(GLA11Y_OUTPUT)
-EXTRA_DIST = display-capplet.ui foo-marshal.list $(Desktop_in_files) org.mate.mcc.display.gresource.xml org.mate.randr.policy.in
+EXTRA_DIST = $(ui_files) foo-marshal.list $(Desktop_in_files) org.mate.mcc.display.gresource.xml org.mate.randr.policy.in ui-a11y.suppr
DISTCLEANFILES = org.mate.randr.policy
-include $(top_srcdir)/git.mk
diff --git a/capplets/display/ui-a11y.suppr b/capplets/display/ui-a11y.suppr
new file mode 100644
index 00000000..318cde7c
--- /dev/null
+++ b/capplets/display/ui-a11y.suppr
@@ -0,0 +1,2 @@
+display-capplet.ui://GtkLabel[@id='label8'] orphan-label
+display-capplet.ui://GtkLabel[@id='current_monitor_label'] orphan-label