[gnome-applets/gnome-3-18] windowpicker: reduce the size of icons by 8 pixels



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

    windowpicker: 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 389d8c5..26a6ac7 100644
--- a/windowpicker/src/task-item.c
+++ b/windowpicker/src/task-item.c
@@ -259,7 +259,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) - 8;
     gboolean active = wnck_window_is_active (priv->window);
     /* load the GSettings key for gray icons */
     gboolean icons_greyscale = wp_applet_get_icons_greyscale (priv->windowPickerApplet);


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