[nautilus] Emit APPEARANCE_CHANGED when setting the bg color



commit 7b86b78e2ff6a0f1b45ac8f8a9c30cf3d0c6ae96
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu May 28 14:28:55 2009 +0200

    Emit APPEARANCE_CHANGED when setting the bg color
    
    Emit the APPEARANCE_CHANGED signal when we're setting the color, as
    we're ignoring the pending changes after the backgorund is realized, and
    thus we're not getting color updates (#578136).
---
 eel/eel-background.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/eel/eel-background.c b/eel/eel-background.c
index 3891bab..942e94c 100644
--- a/eel/eel-background.c
+++ b/eel/eel-background.c
@@ -563,6 +563,8 @@ eel_background_set_color (EelBackground *background,
 		background->details->color = g_strdup (color);
 		
 		set_image_properties (background);
+
+		g_signal_emit (background, signals[APPEARANCE_CHANGED], 0);
 	}
 }
 



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