From: Jerome L. <ad...@gm...> - 2013-11-18 12:33:31
|
Is this available in pcmanfm-qt when rebuilding with latest libfm? J. Leclanche On Sun, Nov 17, 2013 at 9:54 PM, Andrej N. Gritsenko <an...@re...> wrote: > Hello everyone! > > I've pushed new branch 'per-folder-modes' into pcmanfm GIT right > away. The branch is implementation of per-folder setting save. Settings > that are to be saved: > - sort mode and attributes (direction, case-sensitivity, etc.) > - the "show hidden" flag > - view mode for the folder > > The settings will be loaded and saved in the file .directory if it > exists, otherwise the file ~/.config/pcmanfm/<profile>/dir-settings.conf > will be used to save all settings. > > The settings will be saved only if 'View'->'Save for This Folder' > checkbox in the main menu is checked, and will be forgotten when it's > unchecked. No big volume of data is expected therefore. > > The format of the file is selected the same as format of pcmanfm's > common settings for the same data (in the file pcmanfm.conf) for few very > obvious reasons: > - not add another format, all existing data are in key file format; > - not add additional dependencies for pcmanfm. > Data are cached in pcmanfm so no impact on performance is expected. Yes, > I remember the suggestions about database, but that will not make it > faster in any way but it will make it more fat (due to additional library > for database). And since search in the implementation is very fast (it is > linked list and check is done by simple pointers comparison) and save of > that data is implemented by safe way, I believe it is still better than > any database. > > Everyone is encouraged to test it thoroughly and I want yours test > results, opinions, suggestions, etc. It should build with LibFM either > 1.0.1, 1.1.x, or 1.2.0, I believe. > > Thank you in advance. > Andriy. > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Lxde-list mailing list > Lxd...@li... > https://lists.sourceforge.net/lists/listinfo/lxde-list |