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



commit c147824f239afdb54d71b1ce9476623884e37266
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..0ce4963 100644
--- a/windowpicker/src/task-item.c
+++ b/windowpicker/src/task-item.c
@@ -256,7 +256,7 @@ static gboolean task_item_draw (
     GdkPixbuf *pbuf;
     area = priv->area;
     pbuf = priv->pixbuf;
-    gint size = MIN (area.height, area.width);
+    gint size = MIN (area.height, area.width) - 9;
     gboolean active = wnck_window_is_active (priv->window);
     /* load the GSettings key for gray icons */
     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]