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



commit 57c4d9fdd31c5cf797bb1c902c3b4b9cee3970bc
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 babae4d..292cabc 100644
--- a/windowpicker/src/task-item.c
+++ b/windowpicker/src/task-item.c
@@ -297,7 +297,7 @@ static gboolean task_item_draw (
         cairo_paint (cr);
     }
     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);
     }
     if (active || priv->mouse_over || attention || !icons_greyscale) {
         gdk_cairo_set_source_pixbuf (


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