[PATCH] Make range selection of icons work with shift key (bug #136377)



Hi,

Here is a patch for Bug 136377 where range selection of icons with shift
key does not work if the shift key was held down when the first icon was
selected.

http://bugzilla.gnome.org/show_bug.cgi?id=136377

Cheers,
-- 
Tony Tsui <ttsui bigfoot com>
--- nautilus-2.5.8-orig/libnautilus-private/nautilus-icon-container.c	2004-03-07 00:13:27.946783312 +1100
+++ nautilus-2.5.8/libnautilus-private/nautilus-icon-container.c	2004-03-07 00:14:16.744364952 +1100
@@ -4395,6 +4395,7 @@
 		start_icon = details->range_selection_base_icon;
 		if (start_icon == NULL || !start_icon->is_selected) {
 			start_icon = icon;
+			details->range_selection_base_icon = icon;
 		} 
 		if (select_range (container, start_icon, icon)) {
 			g_signal_emit (container,


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