Le 08/15/2012 12:37 PM, PCMan a écrit :
> Any suggestions on per-folder settings?
> I planned to do this long time ago and even study the source code of
> thunar and decided to use libtdb to store the per-folder config.
> While it's not difficult to implement per-folder settings, it's
> difficult to get it properly done in the GUI. How can a user specified
> that he or she want to use per-folder settings for a folder, and use
> default settings for others? Where should we put the options and how
> to avoid confusion? I think about this for months and did not find a
> solution yet.
If I take my use-case for example, you can have the global settings
available in the menu bar ("View"), and use the context menu when you do
a right click inside a folder to apply custom settings. It may also have
a button to clear custom settings also on the context menu. Changing the
string to specify that it will change the settings only for this folder
should avoid confusion.> Besides, if a folder is deleted outside the file manager, the settings > will remain there and waste the disk space. > The old KDE way is to put the per-folder config file in a hidden file > and put that file in the folder. This works for some folders, but not > for those read-only ones. > Besides, it's annoying to have hidden files in my folder other than home dir. > The ubiquitus "thumbs.db" file in Windows is a pretty good example of > this annoyance. > I want to avoid this for pcmanfm. Yes please, don't do that :-) Regards, Julien Lavergne ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Pcmanfm-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pcmanfm-develop
