summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <sthibault@hypra.fr>2018-05-04 13:59:53 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-05-24 11:09:56 +0200
commit63f5e757a0453be7a343d74d54f7e61a9070a373 (patch)
tree5b87afe7dee376d24eea290f04f307d027a01f81
parent4a89e3fec30b854dd0d767dfb775451d01f1eaf9 (diff)
libreofficekit: Run gla11y on gtv.ui
Change-Id: I1bb2be7d3636b70018276eb3d6b23ba7ace6e62a Reviewed-on: https://gerrit.libreoffice.org/53926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--Repository.mk1
-rw-r--r--libreofficekit/Module_libreofficekit.mk1
-rw-r--r--libreofficekit/UIConfig_libreofficekit.mk16
-rw-r--r--solenv/sanitizers/ui/libreofficekit.suppr6
4 files changed, 24 insertions, 0 deletions
diff --git a/Repository.mk b/Repository.mk
index be1879cdfc71..2a66608621a5 100644
--- a/Repository.mk
+++ b/Repository.mk
@@ -1136,6 +1136,7 @@ $(eval $(call gb_Helper_register_uiconfigs,\
filter \
formula \
fps \
+ libreofficekit \
$(call gb_Helper_optional,SCRIPTING,modules/BasicIDE) \
$(call gb_Helper_optional,DBCONNECTIVITY,\
modules/dbapp \
diff --git a/libreofficekit/Module_libreofficekit.mk b/libreofficekit/Module_libreofficekit.mk
index 2d7519c46ca1..351f89a33e48 100644
--- a/libreofficekit/Module_libreofficekit.mk
+++ b/libreofficekit/Module_libreofficekit.mk
@@ -30,6 +30,7 @@ endif # ($(ENABLE_GTK3),)
$(eval $(call gb_Module_add_targets,libreofficekit,\
Executable_tilebench \
Package_selectionhandles \
+ UIConfig_libreofficekit \
))
endif
diff --git a/libreofficekit/UIConfig_libreofficekit.mk b/libreofficekit/UIConfig_libreofficekit.mk
new file mode 100644
index 000000000000..7018506db050
--- /dev/null
+++ b/libreofficekit/UIConfig_libreofficekit.mk
@@ -0,0 +1,16 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_UIConfig_UIConfig,libreofficekit))
+
+$(eval $(call gb_UIConfig_add_a11yerrors_uifiles,libreofficekit,\
+ libreofficekit/qa/gtktiledviewer/gtv \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/solenv/sanitizers/ui/libreofficekit.suppr b/solenv/sanitizers/ui/libreofficekit.suppr
new file mode 100644
index 000000000000..8807f96a939a
--- /dev/null
+++ b/solenv/sanitizers/ui/libreofficekit.suppr
@@ -0,0 +1,6 @@
+libreofficekit/qa/gtktiledviewer/gtv.ui://GtkLabel[@id='zoomlabel'] orphan-label
+libreofficekit/qa/gtktiledviewer/gtv.ui://GtkLabel[@id='redlinelabel'] orphan-label
+libreofficekit/qa/gtktiledviewer/gtv.ui://GtkEntry[@id='findbar_entry'] no-labelled-by
+libreofficekit/qa/gtktiledviewer/gtv.ui://GtkLabel[@id='findbar_label'] orphan-label
+libreofficekit/qa/gtktiledviewer/gtv.ui://GtkEntry[@id='addressbar_entry'] no-labelled-by
+libreofficekit/qa/gtktiledviewer/gtv.ui://GtkEntry[@id='formulabar_entry'] no-labelled-by