[nautilus] Only fade the desktop background, not normal windows
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [nautilus] Only fade the desktop background, not normal windows
- Date: Thu, 10 Dec 2009 17:17:04 +0000 (UTC)
commit c68a696dcb8884ded4571c375e368f3f3375d068
Author: Alexander Larsson <alexl redhat com>
Date: Thu Dec 10 17:57:41 2009 +0100
Only fade the desktop background, not normal windows
All this flashing is just in the way, especially when the
color changes as part of a pane going inactive.
eel/eel-background.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/eel/eel-background.c b/eel/eel-background.c
index 19269bb..e0b3826 100644
--- a/eel/eel-background.c
+++ b/eel/eel-background.c
@@ -813,6 +813,10 @@ init_fade (EelBackground *background, GtkWidget *widget)
if (widget == NULL || !GTK_WIDGET_REALIZED (widget))
return;
+ if (!background->details->is_desktop) {
+ return;
+ }
+
if (background->details->fade == NULL) {
int old_width, old_height, width, height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]