Comment 8 for bug 1522316

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

Oh right...about padding...I forgot ( I am not getting any notifications for these comments?)

The grid width was changed from 155 to 80. We can restore that if we want it.

Here is the patch for it:

Index: nautilus-3.18.2/libnautilus-private/nautilus-canvas-container.c
===================================================================
--- nautilus-3.18.2.orig/libnautilus-private/nautilus-canvas-container.c
+++ nautilus-3.18.2/libnautilus-private/nautilus-canvas-container.c
@@ -98,7 +98,7 @@
  * where a 76px canvas item would only take one.
  * Canvas items are then centered in the extra available space.
  */
-#define STANDARD_ICON_GRID_WIDTH 80
+#define STANDARD_ICON_GRID_WIDTH 155

It will look like this: http://i.imgur.com/ihpLNPE.png

However for some reason these doesn't change the thumbnail size that nautilus generates. It was bigger than before. I guess thumbnail sizes are defined somewhere else.