[Xfce4-commits] [xfce/xfce4-panel] 01/01: launcher: Fix tooltip icon size (Bug #14774)

noreply at xfce.org noreply at xfce.org
Sun Nov 18 23:00:19 CET 2018


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 3cdf2a44751823752cf62da58ce4c03aa283bd3d
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Nov 18 22:59:47 2018 +0100

    launcher: Fix tooltip icon size (Bug #14774)
    
    Previously tooltip icons were unscaled if there was no icon available in
    the appropriate size.
---
 plugins/launcher/launcher.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index 6249643..b30702a 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -1449,7 +1449,9 @@ launcher_plugin_tooltip_pixbuf (GdkScreen   *screen,
   else
     theme = gtk_icon_theme_get_default ();
 
-  return gtk_icon_theme_load_icon (theme, icon_name, GTK_ICON_SIZE_DND, 0, NULL);
+  return gtk_icon_theme_load_icon_for_scale (theme, icon_name, GTK_ICON_SIZE_DND,
+                                             GTK_ICON_SIZE_DND,
+                                             GTK_ICON_LOOKUP_FORCE_SIZE, NULL);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list