[Tutor] Recent Documents

John Storta Jr. js at storta.net
Thu May 27 20:45:25 CEST 2010


I am working on an app that runs in gnome and uses gtk.  I am extremely
new to Python.  (been working with it for all of 2 days).

I am wanting to add a 'Recent Documents' menu option to the app.  Gnome
tracks your recent documents -- apparently in a file called
'.recently-used.xbel' in your home directory.

So as to avoid reinventing the wheel, does anyone know of any examples
of accessing the Gnome recently used file list from within Python?  Or
is there some samples of how to implement something independently?

It seems like the type of thing that would be fairly common as part of
integrating a Python app with Gnome.  I cannot image every app maintains
their own list of recently used docs when it is already stored within
the desktop.

If anyone has any ideas, please let me know.


Thanks,
John S.



More information about the Tutor mailing list