Commit e6c8efa1 authored by Christian Neumair's avatar Christian Neumair Committed by Christian Neumair

Only queue a redraw if widget state actually changed. Fixes massive

2008-07-31  Christian Neumair  <cneumair@gnome.org>

	* libnautilus-private/nautilus-tree-view-drag-dest.c
	(set_widget_highlight):
	Only queue a redraw if widget state actually changed. Fixes massive
	flickering issues when dragging over list view. Fixes #524282.

svn path=/trunk/; revision=14430
parent bce5290a
2008-07-31 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-tree-view-drag-dest.c
(set_widget_highlight):
Only queue a redraw if widget state actually changed. Fixes massive
flickering issues when dragging over list view. Fixes #524282.
2008-07-30 Christian Neumair <cneumair@gnome.org>
* libnautilus-private/nautilus-search-directory-file.c
......
......@@ -197,6 +197,7 @@ set_widget_highlight (NautilusTreeViewDragDest *dest, gboolean highlight)
g_signal_handler_disconnect (dest->details->tree_view,
dest->details->highlight_id);
dest->details->highlight_id = 0;
gtk_widget_queue_draw (GTK_WIDGET (dest->details->tree_view));
}
if (highlight && !dest->details->highlight_id) {
......@@ -205,8 +206,8 @@ set_widget_highlight (NautilusTreeViewDragDest *dest, gboolean highlight)
"expose_event",
G_CALLBACK (highlight_expose),
dest, 0);
gtk_widget_queue_draw (GTK_WIDGET (dest->details->tree_view));
}
gtk_widget_queue_draw (GTK_WIDGET (dest->details->tree_view));
}
static void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment