[gnome-panel] panel-background: retransform all style background images



commit 96a79da9ab3bc94704c103ed14ad147f1690f052
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Oct 13 03:03:02 2015 +0300

    panel-background: retransform all style background images
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755004

 gnome-panel/panel-background.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gnome-panel/panel-background.c b/gnome-panel/panel-background.c
index 998dec8..c448450 100644
--- a/gnome-panel/panel-background.c
+++ b/gnome-panel/panel-background.c
@@ -811,8 +811,7 @@ panel_background_change_region (PanelBackground *background,
                        /* if orientation changes and we are rotating */
                        need_to_retransform = TRUE;
                } else if ((background->region.width != width ||
-                           background->region.height != height) &&
-                          (background->style_image != PANEL_BACKGROUND_IMAGE_STYLE_NONE)) {
+                           background->region.height != height)) {
                        /* or if the size changes and we are 
                           stretching or fitting the image */
                        need_to_retransform = TRUE;


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