Patches item #3234958, was opened at 2011-03-22 12:11 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3234958...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: feature Status: Open Resolution: None Priority: 5 Private: No Submitted By: gusano (elgusanorojo) Assigned to: Nobody/Anonymous (nobody) Summary: add gui preferences system via conf files
Initial Comment: this patch adds a gui-preferences system, right now for recent files only. recently opened files are written in the user-app-config directory (i.e. ~/.config/pure-data/recentfiles.conf on linux) and read when pd launches. this was tested on linux and osx only (I don't have access to a win32 machine). see the following related threads: http://www.mail-archive.com/pd-dev@iem.at/msg09330.html http://www.mail-archive.com/pd-dev@iem.at/msg09351.html
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2011-03-24 00:44
Message: This is looking good, I just have a couple comments:
- I think you should manually edit pkgIndex.tcl. the script made a bunch of changes, that are not really relevant and might affect other things. You just need to add a single line for pd_guiprefs.tcl
- preferences on Mac OS X are stored in ~/Library/Preferences rather than ~/Library/Application Support/pure-data. Ideally, this patch would also use the terminal tool 'defaults read' and 'defaults write' to create a proper Mac OS X .plist preferences file. Its not hard to do, you can see how Pd currently does it in pd/src/s_file.c. Windows needs to use the registry, that's even easier because Tcl has the built -in 'registry' command.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3234958...