From 06970a77f4d1d7aefd9b468a4ac75f737ebf5431 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 9 May 2019 18:41:39 +0200 Subject: Add support for checking .ui accessibility with gla11y --- capplets/display/Makefile.am | 8 ++++++-- capplets/display/ui-a11y.suppr | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 capplets/display/ui-a11y.suppr (limited to 'capplets/display') 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 -- cgit v1.2.1