This patch (against CVS as of 01/04/2001) adds application-specific menus to ROX-Filer. If an application has a menu defined, its entries appear above the standard menu when the application is right-clicked.
The menu is defined in a file called AppMenuStatic.txt in the application directory. Its format is:
entryid Menu text
Each line defines one menu entry. When an entry from the application menu is selected, the corresponding AppRun is invoked with the option "--entryid", where "entryid" is the one corresponding to the item selected. It is up to AppRun to correctly interpret the option and do something.
The application menus are re-read automatically when they change, so the application can potentially modify the menu file, and the changes will be seen by ROX-Filer.
For examples of ROX applications that use this feature, see my Trashcan and XEmacs applications at
http://www.cerias.purdue.edu/homes/zamboni/rox/. In particular, the XEmacs wrapper is an example of an AppRun that modifies its menu on the fly, to keep a list of recently-opened files.
See the top of the patch file for additional notes.
The patch was too large and sourceforge refused it. Please download it from http://www.cerias.purdue.edu/homes/zamboni/files/rox-appmenus.patch
Log in to post a comment.