#282 Open recent files on the menu

open
nobody
None
5
2013-01-01
2012-04-01
No

This patch adds an "Open Recent" menu to keep track of most recently used files (up to 6). Almost everything that could be opened by menus, command-line and drag&drop operations, and later able to be opened with utils_open_file().

These links need persistence between sessions, so they are stored in the settings file (keeping care of autosaving flag).

On widget UIs, I haven't see a way to dynamically build submenus, so I use a selection dialog that does pretty much the same thing.

On GTK+ UI, the GtkUIManager does a nice job merging and unmerging portions of UIs. There is a GtkRecentManager object that manage the persistence and nicely integrates with desktop managers, but it would need mime-types and libgio so I have shelved for now.

Also has been implemented on win32 UI.

Opinions would be greatly appreciated.

Related

Feature Requests: #91
Wiki: Fuse 1.2 Release Plan
Wiki: Fuse 1.2.2 Release Plan
Wiki: Fuse 1.3.0 Release Plan
Wiki: Fuse 1.3.1 Release Plan
Wiki: Fuse 1.3.2 Release Plan
Wiki: Fuse 1.3.3 Plan
Wiki: Fuse 1.3.4 Release Plan
Wiki: Fuse 1.3.5 Release Plan
Wiki: Fuse 1.3.6 Release Plan
Wiki: Fuse 1.3.7 Release Plan
Wiki: Fuse 1.3.8 Release Plan
Wiki: Fuse 1.4.0 Release Plan
Wiki: Fuse Next Release Plan

Discussion

  • Sergio Baldoví

    Sergio Baldoví - 2012-04-03

    The new patch disable UI-independent code if a UI have not interest in this functionality.

     

Log in to post a comment.