summaryrefslogtreecommitdiff
path: root/capplets/mouse
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/mouse
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/mouse')
-rw-r--r--capplets/mouse/Makefile.am8
-rw-r--r--capplets/mouse/ui-a11y.suppr25
2 files changed, 31 insertions, 2 deletions
diff --git a/capplets/mouse/Makefile.am b/capplets/mouse/Makefile.am
index 158806a4..607979a7 100644
--- a/capplets/mouse/Makefile.am
+++ b/capplets/mouse/Makefile.am
@@ -1,6 +1,8 @@
# This is used in MATECC_CAPPLETS_CFLAGS
cappletname = mouse
+ui_files = mate-mouse-properties.ui
+
bin_PROGRAMS = mate-mouse-properties
mate_mouse_properties_LDADD = $(MATECC_CAPPLETS_LIBS)
@@ -20,6 +22,8 @@ pixmap_DATA = \
double-click-off.svg \
double-click-maybe.svg
+include $(top_srcdir)/gla11y.mk
+
desktopdir = $(datadir)/applications
Desktop_in_files = mate-settings-mouse.desktop.in
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
@@ -31,7 +35,7 @@ AM_CPPFLAGS = \
$(MATECC_CAPPLETS_CFLAGS) \
-DMATELOCALEDIR="\"$(datadir)/locale\"" \
-DMATECC_DATA_DIR="\"$(pkgdatadir)\""
-CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES)
-EXTRA_DIST = mate-mouse-properties.ui $(pixmap_DATA) $(Desktop_in_files) org.mate.mcc.mouse.gresource.xml
+CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_DATA) $(BUILT_SOURCES) $(GLA11Y_OUTPUT)
+EXTRA_DIST = $(ui_files) $(pixmap_DATA) $(Desktop_in_files) org.mate.mcc.mouse.gresource.xml ui-a11y.suppr
-include $(top_srcdir)/git.mk
diff --git a/capplets/mouse/ui-a11y.suppr b/capplets/mouse/ui-a11y.suppr
new file mode 100644
index 00000000..cf515054
--- /dev/null
+++ b/capplets/mouse/ui-a11y.suppr
@@ -0,0 +1,25 @@
+mate-mouse-properties.ui://GtkLabel[@id='label27'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='label5'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='label29'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='acceleration_slow_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='acceleration_fast_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='sensitivity_low_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='sensitivity_high_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='label8'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='threshold_small_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='threshold_large_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='label31'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='timeout_short_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='timeout_long_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='label33'] orphan-label
+mate-mouse-properties.ui://GtkImage[@id='double_click_image'] no-labelled-by
+mate-mouse-properties.ui://GtkLabel[@id='label18'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='label6'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='label9'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='multi_finger_warning'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='label34'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='label40'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='touchpad_acceleration_slow_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='touchpad_acceleration_fast_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='touchpad_sensitivity_low_label'] orphan-label
+mate-mouse-properties.ui://GtkLabel[@id='touchpad_sensitivity_high_label'] orphan-label