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 putting them directly in the File menu (I removed one of the bottom separators in there). (that looks nice!)
so the new layout of the file menu would be:
[New]
[Open]
[Open Recent >]
[---]
[Save]
[Save As]
[---]
[Message]
[Print]
[---]
[Close]
[Quit]

what do you think of this idea ?

then I wonder when it would be better to write this file.
I'd like to do it only when closing pd but I'm not sure..

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 ?

cheers,
_y


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 Open Recent menu. I think KDE does a "Open Recent" menu like Mac OS X, but GNOME is quite a bit more prevalent from what I've seen.

I think this should stay like it is by default, but you can do anything you want in a GUI plugin.

.hc

----------------------------------------------------------------------------

"We have nothing to fear from love and commitment." - New York Senator Diane Savino, trying to convince the NY Senate to pass a gay marriage bill


_______________________________________________
Pd-dev mailing list
Pd-dev@iem.at
http://lists.puredata.info/listinfo/pd-dev

Reply via email to