[gnome-applets/wip/segeiger/window-picker-in-process: 8/11] windowpicker/task-item.c: Reduce the size of icons by 8 pixels



commit cfff36ba01d1ada0d737709baf0e98450e75d85a
Author: Sebastian Geiger <sbastig gmx net>
Date:   Mon Jun 8 21:18:34 2015 +0200

    windowpicker/task-item.c: Reduce the size of icons by 8 pixels
    
    This is a cosmetic change that makes the icons appear less
    constricted on the panel.

 windowpicker/src/task-item.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/windowpicker/src/task-item.c b/windowpicker/src/task-item.c
index 20b85d3..f0b37b0 100644
--- a/windowpicker/src/task-item.c
+++ b/windowpicker/src/task-item.c
@@ -297,7 +297,7 @@ static gboolean task_item_draw (
         pbuf = NULL;
     }
     if (!pbuf) {
-        pbuf = priv->pixbuf = task_item_sized_pixbuf_for_window (item, priv->window, size);
+        pbuf = priv->pixbuf = task_item_sized_pixbuf_for_window (item, priv->window, size - 8);
     }
 
     gboolean icons_greyscale = window_picker_applet_get_icons_greyscale (priv->windowPickerApplet);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]