Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - From 21760d00c8e255f4bf83ddce1f387b1c034599f4 Mon Sep 17 00:00:00 2001
 - From: Viktor Odintsev <[email protected]>
 - Date: Thu, 20 Jul 2017 02:20:00 +0300
 - Subject: [PATCH] Always use preferred icon size for GtkIconTheme
 - ---
 - panel-plugin/sn-icon-box.c | 4 ++--
 - 1 file changed, 2 insertions(+), 2 deletions(-)
 - diff --git a/panel-plugin/sn-icon-box.c b/panel-plugin/sn-icon-box.c
 - index 8326f91..2ea64b1 100644
 - --- a/panel-plugin/sn-icon-box.c
 - +++ b/panel-plugin/sn-icon-box.c
 - @@ -270,14 +270,14 @@ sn_icon_box_apply_icon (GtkWidget *image,
 - {
 - work_pixbuf = gtk_icon_theme_load_icon (icon_theme_from_path,
 - sn_preferred_name (),
 - - -1, 0, NULL);
 - + icon_size, 0, NULL);
 - }
 - if (work_pixbuf == NULL)
 - {
 - icon_info = gtk_icon_theme_lookup_icon (icon_theme,
 - sn_preferred_name (),
 - - 16, 0);
 - + icon_size, 0);
 - if (icon_info != NULL)
 - {
 - gtk_image_set_from_icon_name (GTK_IMAGE (image),
 - --
 - 2.13.3
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment