summaryrefslogtreecommitdiff
path: root/plugins/pythonconsole
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pythonconsole')
-rw-r--r--plugins/pythonconsole/pythonconsole/Makefile.am6
-rw-r--r--plugins/pythonconsole/pythonconsole/ui-a11y.suppr7
2 files changed, 11 insertions, 2 deletions
diff --git a/plugins/pythonconsole/pythonconsole/Makefile.am b/plugins/pythonconsole/pythonconsole/Makefile.am
index 05327ed6..77cb194f 100644
--- a/plugins/pythonconsole/pythonconsole/Makefile.am
+++ b/plugins/pythonconsole/pythonconsole/Makefile.am
@@ -7,9 +7,11 @@ plugin_PYTHON = \
config.py
uidir = $(PLUMA_PLUGINS_DATA_DIR)/pythonconsole/ui
-ui_DATA = config.ui
+ui_files = config.ui
+include $(top_srcdir)/gla11y.mk
+ui_DATA = $(ui_files)
-EXTRA_DIST = $(ui_DATA)
+EXTRA_DIST = $(ui_DATA) ui-a11y.suppr
CLEANFILES =
DISTCLEANFILES =
diff --git a/plugins/pythonconsole/pythonconsole/ui-a11y.suppr b/plugins/pythonconsole/pythonconsole/ui-a11y.suppr
new file mode 100644
index 00000000..8b9e8cb4
--- /dev/null
+++ b/plugins/pythonconsole/pythonconsole/ui-a11y.suppr
@@ -0,0 +1,7 @@
+config.ui://GtkLabel[@id='label-error'] orphan-label
+config.ui://GtkColorButton[@id='colorbutton-error'] button-no-label
+config.ui://GtkColorButton[@id='colorbutton-command'] button-no-label
+config.ui://GtkLabel[@id='label-command'] orphan-label
+config.ui:GtkGrid[@id='widget-config']/GtkLabel orphan-label
+config.ui:GtkGrid[@id='widget-config']/GtkLabel orphan-label
+config.ui://GtkFontButton[@id='fontbutton-font'] no-labelled-by