[nautilus/gnome-3-0] icon-container: don't setup the regular background on the desktop
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-0] icon-container: don't setup the regular background on the desktop
- Date: Mon, 25 Apr 2011 17:50:46 +0000 (UTC)
commit 2b0237af94c0f83e2ee881ada5a4f3499ac4cd7e
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Apr 6 12:16:51 2011 -0400
icon-container: don't setup the regular background on the desktop
libnautilus-private/nautilus-icon-container.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index ee04a8a..92fc51f 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -4105,6 +4105,10 @@ setup_background (NautilusIconContainer *container)
GdkRGBA color;
GtkStyleContext *style;
+ if (container->details->is_desktop) {
+ return;
+ }
+
style = gtk_widget_get_style_context (GTK_WIDGET (container));
DEBUG ("Container %p: setting up background, is_active %d", container,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]