gtk+ r17524 - in trunk: . gtk tests



Author: ebassi
Date: 2007-03-15 19:33:57 +0000 (Thu, 15 Mar 2007)
New Revision: 17524
ViewCVS link: http://svn.gnome.org/viewcvs/gtk+?rev=17524&view=rev

Added:
   trunk/gtk/gtkrecentaction.c
   trunk/gtk/gtkrecentaction.h
Modified:
   trunk/ChangeLog
   trunk/gtk/Makefile.am
   trunk/gtk/gtk.h
   trunk/gtk/gtk.symbols
   trunk/gtk/gtkaction.c
   trunk/gtk/gtkaction.h
   trunk/gtk/gtkactiongroup.c
   trunk/gtk/gtkuimanager.c
   trunk/tests/testactions.c
Log:
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.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]