Add *.phatch files to the system recent file history

Registered by Stani

Linux: use gtk recent manager (gtk is dependency of wxpython)
Windows: win32ui.AddRecentFile(...)

Explore as well how to do this for Mac OS X (Robin?)

Blueprint information

Status:
Complete
Approver:
Stani
Priority:
Low
Drafter:
Stani
Direction:
Approved
Assignee:
Stani
Definition:
Approved
Series goal:
Accepted for 0.2
Implementation:
Implemented
Milestone target:
milestone icon 0.2.8
Started by
Stani
Completed by
Stani

Related branches

Sprints

Whiteboard

20100323 22:14:15PDT

I don't believe there is a desktop/user wide "recently used files" on the Mac (although I think there is in the Windows Start Menu). So most applications have a File/Open Recent -> menu of files.

In general things like "recent files" are stored in ~/Library/Preferences/com.company.product.plist for individual applications. The plist file can read and written from the command-line with the defaults command (or you can process the plist (xml) if you prefer). Using the command 'defaults read' or 'defaults write' is much preferred as it understands the possible heirarchy (chain) of preference files (the ~/Library, then /Library and who knows in future, it may look somewhere on the network).

Stani doesn't believe wxPython provides a cross-platform mechanism for this.
---------------
Use pyxdg:
http://www.rkblog.rk.edu.pl/w/p/pyxdg-freedesktoporg-specifications-support/

Add pyxdg as a dependency.

-> pyxdg uses .recently-used which is deprecated -> use gtk recent manager

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.