[nautilus] Fix up background setting for non-desktop windows



commit 3fab1d20298552000369480a694186fd7354f586
Author: Alexander Larsson <alexl redhat com>
Date:   Fri Dec 11 10:30:48 2009 +0100

    Fix up background setting for non-desktop windows

 eel/eel-background.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/eel/eel-background.c b/eel/eel-background.c
index e0b3826..b4e16eb 100644
--- a/eel/eel-background.c
+++ b/eel/eel-background.c
@@ -776,8 +776,8 @@ eel_background_set_up_widget (EelBackground *background, GtkWidget *widget)
 		if (background->details->is_desktop) {
 			gdk_window_set_back_pixmap (window, pixmap, FALSE);
 		} else {
-			gdk_window_set_back_pixmap (window, NULL, FALSE);
 			gdk_window_set_background (window, &color);
+			gdk_window_set_back_pixmap (window, pixmap, FALSE);
 		}
 	}
 



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