On Mar 25, 2007, at 7:11 AM, Mark wrote: come on.. this is a patch. a reply would be very welcome!!
This isn't actually a patch. It would be more helpful of you generated the diff and submitted it attached to the mail along with an explanation for the changes.
It sounds like you have already given yourself the best advice you are going to get here. Learn how to create the keys in gconf, or learn about the preference mechanism that Nautilus already uses, and add keys and values for the settings.
Once you figure that out, you can generate a diff and send in a patch for review.
Hard coding settings like min and max icon sizes is usually a bad idea. I am not convinced you should expose these settings in a preferences window, but having a way to dynamically set them (via gconf) would be a good first step.
Gene
2007/3/21, Mark <markg85 gmail com>: Hey,
since i use Gnome in fedora i really HATE it that the thumbnails are always oversized!!! they are giant compared to the icons and this patch solves this problem.
You need to edit this file: libnautilus-private/nautilus- icon-factory.h
find this line: #define NAUTILUS_ICON_SIZE_THUMBNAIL 96
change the value of it ("96" in this case) to: "48" than it`s in sync with the standard icon size. result should be: #define NAUTILUS_ICON_SIZE_THUMBNAIL 48
i also edited this: #define NAUTILUS_ICON_MAXIMUM_SIZE 320
into this: #define NAUTILUS_ICON_MAXIMUM_SIZE 150
i don`t think this is a good patch. better would be to have this in the nautilus preferences window but i don`t know how to do that.. so i can`t adjust it that far. this will do fine.
i hope this makes it`s way into the nautilus package by default.. otherwise i need to patch it manually all the time ^_-
or if someone could tell me how i can grab a entry from gconf... cause i rather have the above values in gconf than hardcoded in nautilus.
please let me know what you think of it.
-- nautilus-list mailing list
|