Re: [PD-dev] recentfiles_list explanation

2011-03-17 Thread yvan volochine
On 03/16/2011 05:02 AM, yv wrote: also, I created a new file and put all this recentfiles stuff in it, tcl/pd_guiprefs.tcl and I didn't find out where I should add it so it ends up in tcl/pkgIndex.tcl. any hints ? hiho I still don't really know what to do with tcl/pkgIndex.tcl I ran

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread yv
I got it working on linux =) here is a small video showing the behavior: http://www.yvanvolochine.com/tmp/pd_recentfiles.ogg as Iohannes suggested I use ~/.pd/recentfiles.conf I'll try to make it for osx/win in the next days if I get my hands on a win machine comments are welcome! cheers,

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread Hans-Christoph Steiner
On Mar 15, 2011, at 6:20 PM, IOhannes zmölnig wrote: On 03/15/2011 10:15 PM, Yvan Volochine wrote: On 3/15/11, Hans-Christoph Steiner h...@at.or.at wrote: On Tue, 2011-03-15 at 03:45 +0100, Yvan Volochine wrote: I'm trying to get recentfiles written to ~/.pdsettings and I think I'm

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread Hans-Christoph Steiner
On Mar 16, 2011, at 12:02 AM, yv wrote: ~/.pd/recentfiles.conf would always only contain recentfiles configuration. ok I have a couple more questions: now I have a ~/.pd/recentfiles.conf that is parsed and all filenames are added to a new Open Recent submenu when pd launches instead of

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread yvan volochine
On 03/16/2011 06:16 PM, Hans-Christoph Steiner wrote: ~/.pd/recentfiles.conf would always only contain recentfiles configuration. That's a good idea, but I think it should fit into the Free Desktop Standards. Isn't that something like ~/.local/pd? Then that does not cover Windows, which uses

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread yvan volochine
On 03/16/2011 06:28 PM, Hans-Christoph Steiner wrote: The way that the recent files are currently written to the File menu are carefully tailored to the way its normally done on the native platform. GNOME and Windows do it by putting them directly inline on the File menu, Mac OS X does it on the

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread Hans-Christoph Steiner
On Mar 16, 2011, at 1:39 PM, yvan volochine wrote: On 03/16/2011 06:28 PM, Hans-Christoph Steiner wrote: The way that the recent files are currently written to the File menu are carefully tailored to the way its normally done on the native platform. GNOME and Windows do it by putting them

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread Hans-Christoph Steiner
On Mar 16, 2011, at 1:35 PM, yvan volochine wrote: On 03/16/2011 06:16 PM, Hans-Christoph Steiner wrote: ~/.pd/recentfiles.conf would always only contain recentfiles configuration. That's a good idea, but I think it should fit into the Free Desktop Standards. Isn't that something like

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread yvan volochine
On 03/16/2011 08:18 PM, Hans-Christoph Steiner wrote: alright I 'll think about it and write a gui-plugin instead. I don't have neither gnome nor kde but I think inlining 10 recent items in the file menu is a bit too much =) It seems that almost everything that you are doing should go into the

Re: [PD-dev] recentfiles_list explanation

2011-03-16 Thread Hans-Christoph Steiner
On Mar 16, 2011, at 7:55 PM, yvan volochine wrote: On 03/16/2011 08:18 PM, Hans-Christoph Steiner wrote: alright I 'll think about it and write a gui-plugin instead. I don't have neither gnome nor kde but I think inlining 10 recent items in the file menu is a bit too much =) It seems that

Re: [PD-dev] recentfiles_list explanation

2011-03-15 Thread Hans-Christoph Steiner
On Tue, 2011-03-15 at 03:45 +0100, Yvan Volochine wrote: I'm trying to get recentfiles written to ~/.pdsettings and I think I'm missing something obvious. (see my patch attached or here: http://pastebin.com/3apUXLzs ). so far I can read from .pdsettings and get the recentfiles in the

Re: [PD-dev] recentfiles_list explanation

2011-03-15 Thread Yvan Volochine
On 3/15/11, Hans-Christoph Steiner h...@at.or.at wrote: On Tue, 2011-03-15 at 03:45 +0100, Yvan Volochine wrote: I'm trying to get recentfiles written to ~/.pdsettings and I think I'm missing something obvious. [snip] Hey Yvan, It's great that you are taking this on, its definitely

Re: [PD-dev] recentfiles_list explanation

2011-03-15 Thread IOhannes zmölnig
On 03/15/2011 10:15 PM, Yvan Volochine wrote: On 3/15/11, Hans-Christoph Steiner h...@at.or.at wrote: On Tue, 2011-03-15 at 03:45 +0100, Yvan Volochine wrote: I'm trying to get recentfiles written to ~/.pdsettings and I think I'm missing something obvious. [snip] Hey Yvan, It's great that

Re: [PD-dev] recentfiles_list explanation

2011-03-15 Thread yv
~/.pd/recentfiles.conf would always only contain recentfiles configuration. ok I have a couple more questions: now I have a ~/.pd/recentfiles.conf that is parsed and all filenames are added to a new Open Recent submenu when pd launches instead of putting them directly in the File menu (I

Re: [PD-dev] recentfiles_list explanation

2011-03-15 Thread yv
On 03/15/2011 11:20 PM, IOhannes zmölnig wrote: a separate GUI-only preference system would mean a separate dot file then (like .pdgui) ? why not make a ~/.pd/ folder and put your preferences for your plugin in there? this woul dallow for less clutter in the home-directory and bundle all the

[PD-dev] recentfiles_list explanation

2011-03-14 Thread Yvan Volochine
hello sorry if this is obvious but I'm looking into pd source for the 1st time today... I'm trying to get recentfiles written to ~/.pdsettings and I think I'm missing something obvious. (see my patch attached or here: http://pastebin.com/3apUXLzs ). so far I can read from .pdsettings and get

Re: [PD-dev] recentfiles_list explanation

2011-03-14 Thread Yvan Volochine
I'm trying to get recentfiles written to ~/.pdsettings and I think I'm missing something obvious. (see my patch attached or here: http://pastebin.com/3apUXLzs ). so far I can read from .pdsettings and get the recentfiles in the File menu (when I wrote them in theremanually) but, in