• Emmanuele Bassi's avatar
    Add GtkActionClass::get_submenu() vfunc: actions providing a menu item or · ccf49466
    Emmanuele Bassi authored
    2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
    
    	* gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
    	actions providing a menu item or a menu tool button with already
    	a submenu should return the GtkMenu widget.
    
    	* gtk/gtkuimanager.c (update_node): If an action provides its
    	own submenu, use it instead of adding an empty one
    
    	* gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
    	implementing the GtkRecentChooser interface for displaying the
    	list of recently used files into menus and toolbars generated
    	using GtkUIManager. (#338843)
    
    	* gtk/Makefile.am:
    	* gtk/gtk.h:
    	* gtk/gtk.symbols: Add GtkRecentAction API to the build.
    
    	* tests/testactions.c: Exercise the GtkRecentAction API.
    
    svn path=/trunk/; revision=17524
    ccf49466
gtkrecentaction.h 2.98 KB