nautilus not_getting_color_updates.patch



Hi
Emit the APPEARANCE_CHANGED signal when we're setting the color,
as we're ignoring the pending changes after the backgorund ornament is realized 
new tabs, and thus we're not getting color updates

Example (for nautilus 2.26.0 ... 2.28.1):

first tab:
http://forum.lafox.net/index.php?act=attach&type=post&id=6342
second tab:
http://forum.lafox.net/index.php?act=attach&type=post&id=6343

patch:
Emit the APPEARANCE_CHANGED signal when we're setting the color,
as we're ignoring the pending changes after the backgorund ornament is realized 
new tabs, and thus we're not getting color updates . 
elipse <comp_art ymail com>
Index: nautilus-2.28.1/nautilus-2.28.1/eel/eel-background.c 
===================================================================
--- nautilus-2.28.1.orig/eel/eel-background.c	2009-09-25 15:43:18.000000000 +0300
+++ nautilus-2.28.1/eel/eel-background.c	2009-10-30 04:32:20.000000000 +0200
@@ -589,7 +589,7 @@
 	}
 
 	set_image_properties (background);
-	
+	g_signal_emit (background, signals[APPEARANCE_CHANGED], 0);
 	g_free (filename);
 	
 	return TRUE;




      ________________________________________________________
Вы уже с Yahoo!? 
Испытайте обновленную и улучшенную. Yahoo! Почту! http://ru.mail.yahoo.com

Attachment: not_getting_color_updates.patch
Description: Binary data



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