path: root/data
diff options
authorlukefromdc <[email protected]>2018-06-21 18:35:13 -0400
committerlukefromdc <[email protected]>2018-06-25 18:47:53 -0400
commit5ca1fb1a1b34bdbaf0c966d9cc786ecf71d0df21 (patch)
tree34b3c2b7ba72f3f6cb414aea2d8532265f891727 /data
parent2d3406f482a341805f9827b95e4b588feb0218ce (diff)
Panel-gtk.c: Show menu icons only when "menus-have-icons" is set
Most panel menus excluding main menus. Bind gsettings preference "menus have icons" to visibility of icon. Pack the icon into a box with a 16px min-width set in panel.css to hold the space when the icons are not shown Duplicate as much as possible behavior of now-deprecated GtkImageMenuItem replaced by Use only one icon-settings gsettings object to control this in all menuitems controlled by panel-gtk.c The use of a single gsettings object is based on code by Albert Muktupavels
Diffstat (limited to 'data')
1 files changed, 3 insertions, 0 deletions
diff --git a/data/theme/mate-panel.css b/data/theme/mate-panel.css
index bfa890d1..e53950d2 100644
--- a/data/theme/mate-panel.css
+++ b/data/theme/mate-panel.css
@@ -8,3 +8,6 @@ MatePanelAppletFrameDBus > MatePanelAppletFrameDBus {
background-size: 12px 22px;
+ min-width: 16px;