diff options
author | Samuel Thibault <[email protected]> | 2019-07-01 17:10:44 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-08 15:11:17 +0200 |
commit | 45145244b6dd9dc11b6d9a6daf4e442cef9457fa (patch) | |
tree | 7a177dc7e47804d72766a6b852ab34c9523ee8e5 /plugins/pythonconsole | |
parent | db655f3fb2f67b695d36369e584fcb598e0e1bea (diff) | |
download | pluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.bz2 pluma-45145244b6dd9dc11b6d9a6daf4e442cef9457fa.tar.xz |
Add support for checking .ui accessibility with gla11y
Diffstat (limited to 'plugins/pythonconsole')
-rw-r--r-- | plugins/pythonconsole/pythonconsole/Makefile.am | 6 | ||||
-rw-r--r-- | plugins/pythonconsole/pythonconsole/ui-a11y.suppr | 7 |
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 |