[Xfce4-commits] [xfce/xfce4-panel] 01/01: windowmenu: Fix icon size in menu
noreply at xfce.org
noreply at xfce.org
Thu Jul 20 23:07:05 CEST 2017
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-panel.
commit a0e7da104248593003c9842fb90c03105779fa58
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Thu Jul 20 23:00:57 2017 +0200
windowmenu: Fix icon size in menu
---
plugins/windowmenu/windowmenu.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/windowmenu/windowmenu.c b/plugins/windowmenu/windowmenu.c
index 1b51481..f47e993 100644
--- a/plugins/windowmenu/windowmenu.c
+++ b/plugins/windowmenu/windowmenu.c
@@ -1168,7 +1168,8 @@ window_menu_plugin_menu_new (WindowMenuPlugin *plugin)
italic = pango_font_description_from_string ("italic");
bold = pango_font_description_from_string ("bold");
- w = h = GTK_ICON_SIZE_MENU;
+ if (!gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h))
+ w = h = 16;
menu = gtk_menu_new ();
g_signal_connect (G_OBJECT (menu), "key-press-event",
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list