[gnome-control-center/wip/jsparber/background: 6/41] background: add space around slide icon



commit a687c65951d31e27c3ef380d54b6ff7401333a20
Author: Julian Sparber <julian sparber net>
Date:   Wed Nov 8 20:26:56 2017 +0100

    background: add space around slide icon
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788515

 panels/background/cc-background-panel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/background/cc-background-panel.c b/panels/background/cc-background-panel.c
index 7c547fd49..1a47d0daa 100644
--- a/panels/background/cc-background-panel.c
+++ b/panels/background/cc-background-panel.c
@@ -815,8 +815,8 @@ add_slideshow_emblem (GdkPixbuf *pixbuf,
       ew = gdk_pixbuf_get_width (slideshow_emblem);
       h = gdk_pixbuf_get_height (pixbuf);
       w = gdk_pixbuf_get_width (pixbuf);
-      x = w - ew;
-      y = h - eh;
+      x = w - ew - 5;
+      y = h - eh - 5;
 
       gdk_pixbuf_composite (slideshow_emblem, pixbuf, x, y, ew, eh, x, y, 1.0, 1.0, GDK_INTERP_BILINEAR, 
255);
     }


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