[PATCH] Improve drive icon positioning



Thanks to Sebastien Bacher for bringing this up. The placement grid used
for drives does not match that one used for the tabular desktop layout.
Proposed patch attached.

-- 
Christian Neumair <chris gnome-de org>
Index: libnautilus-private/nautilus-icon-container.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-container.c,v
retrieving revision 1.406
diff -u -p -r1.406 nautilus-icon-container.c
--- libnautilus-private/nautilus-icon-container.c	12 Dec 2005 16:59:10 -0000	1.406
+++ libnautilus-private/nautilus-icon-container.c	23 Jan 2006 23:07:20 -0000
@@ -5649,7 +5641,9 @@ finish_adding_new_icons (NautilusIconCon
 
 		semi_position_icons = g_list_reverse (semi_position_icons);
 
-		grid = placement_grid_new (container, TRUE);
+		/* This is currently only used on the desktop.
+		 * Thus, we pass FALSE for tight, like lay_down_icons_tblr */
+		grid = placement_grid_new (container, FALSE);
 
 		for (p = container->details->icons; p != NULL; p = p->next) {
 			icon = p->data;

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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