nautilus r14984 - in trunk: . libnautilus-private



Author: alexl
Date: Fri Feb 20 16:23:23 2009
New Revision: 14984
URL: http://svn.gnome.org/viewvc/nautilus?rev=14984&view=rev

Log:
2009-02-20  Alexander Larsson  <alexl redhat com>

	* libnautilus-private/nautilus-icon-container.c (style_set):
	Don't chain up on style_set, as this causes flicker.




Modified:
   trunk/ChangeLog
   trunk/libnautilus-private/nautilus-icon-container.c

Modified: trunk/libnautilus-private/nautilus-icon-container.c
==============================================================================
--- trunk/libnautilus-private/nautilus-icon-container.c	(original)
+++ trunk/libnautilus-private/nautilus-icon-container.c	Fri Feb 20 16:23:23 2009
@@ -4171,8 +4171,9 @@
 		invalidate_label_sizes (container);
 		nautilus_icon_container_request_update_all (container);
 	}
-	
-	GTK_WIDGET_CLASS (nautilus_icon_container_parent_class)->style_set (widget, previous_style);
+
+	/* Don't chain up to parent, because that sets the background of the window and we're doing
+	   that ourself with some delay, so this would cause flickering */
 }
 
 static gboolean



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