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



commit 58c21be9c2b54a0c2c7a358f0dca074c2371b9ca
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]