From 3cf5f982d9a66a05e7fafbcd3fd4ff6f4f3c9740 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Sat, 3 Nov 2018 20:07:45 +0100 Subject: Add a preference to force enable/disable menu icons By default the theme decides whether it wants to display icons or not by using the "show-icons" attribute in the menus.xml file. This attribute is properly inherited an can therefore be used to selectively enable and disable icons globally (by setting it on the root element), in certain submenus, or individually per menu item. --- share/ui/menus.xml | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) (limited to 'share') diff --git a/share/ui/menus.xml b/share/ui/menus.xml index 03cd74d74..1c7cc8c29 100644 --- a/share/ui/menus.xml +++ b/share/ui/menus.xml @@ -228,27 +228,23 @@ - -#if HAVE_POTRACE - -#endif - + - - - - - - + + + + + + - - + + - - - - + + + + @@ -270,9 +266,8 @@ - - + -- cgit v1.2.3