[PATCH] In icon view, wrapping to next row after pressing "right" fails in compact layout
- From: Nelson Benítez León <nbenitezl gmail com>
- To: nautilus-list <nautilus-list gnome org>
- Subject: [PATCH] In icon view, wrapping to next row after pressing "right" fails in compact layout
- Date: Sat, 19 Dec 2009 15:43:14 +0100
Hi!,
I've submitted a patch for http://bugs.gnome.org/604604 , patch also
attached to this mail, please review.
Thanks :-)
From ba6fea6df79c80e6cbfe37c24cb8d94d62421b1b Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Nelson=20Ben=C3=ADtez=20Le=C3=B3n?= <nbenitezl+gnome gmail com>
Date: Sat, 19 Dec 2009 14:44:56 +0100
Subject: [PATCH] Fix wrap to next row in compact layout, bug #604604
diff --git a/libnautilus-private/nautilus-icon-container.c b/libnautilus-private/nautilus-icon-container.c
index 7bf4c12..6de8dbc 100644
--- a/libnautilus-private/nautilus-icon-container.c
+++ b/libnautilus-private/nautilus-icon-container.c
@@ -3134,18 +3134,12 @@ next_row_leftmost (NautilusIconContainer *container,
if (compare_icons_vertical_first (container,
best_so_far,
candidate) > 0) {
/* candidate is above best choice, but below the current row */
return TRUE;
}
-
- if (compare_icons_horizontal_first (container,
- best_so_far,
- candidate) > 0) {
- return TRUE;
- }
}
return best_so_far == NULL;
}
static gboolean
--
1.6.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]