View Full Version : [gnome] Nautilus feature request
Jetze
May 7th, 2008, 06:47 AM
Very simple: allow the size column to display the exact file size, so not rounded to Kb or MB.
DaVince21
May 7th, 2008, 07:01 AM
Isn't this rather something you should discuss on the official Nautilus page, rather than here?
http://www.gnome.org/projects/nautilus/
There doesn't seem to be a forum, but I can see some contact info and a mailing list in the bottom right corner.
Awalton
May 7th, 2008, 07:33 PM
Index: libnautilus-private/nautilus-file.c
================================================== =================
--- libnautilus-private/nautilus-file.c (revision 14143)
+++ libnautilus-private/nautilus-file.c (working copy)
@@ -5000,7 +5000,8 @@
if (file->details->size == -1) {
return NULL;
}
- return g_format_size_for_display (file->details->size);
+ /* hack for Jetze on Ubuntu forums */
+ return g_strdup_printf ("%"G_GUINT64_FORMAT, (guint64)file->details->size);
}
Grab the source, patch p0 < that_patch.diff, ./autogen && make && sudo make install, enjoy.
Jetze
May 8th, 2008, 09:22 AM
Excellent! If I feel bold and adventurous one fine day, I'll try it.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.