gimp/app/menus
Michael Natterer b4ea222c23 Ported GimpNavigationView to use actions for its buttons:
2004-09-26  Michael Natterer  <mitch@gimp.org>

	Ported GimpNavigationView to use actions for its buttons:

	* app/menus/menus.c (menus_init): register a <GimpNaviagaionEditor>
	UI manager containing the "view" action group.

	* app/actions/actions.c (action_data_get_foo): handle "data" being
	a GimpNavigationEditor.

	* app/actions/view-actions.c (view_actions): added tooltips for
	the actions used in the editor.

	(view_actions_update): use action_data_get_display() instead of
	checking the type of "data" manually.

	* app/widgets/gimpeditor.c (gimp_editor_add_action_button): use
	a GtkToggleButton instead of GimpButton for GtkToggleActions.

	* app/display/gimpnavigationeditor.[ch]: added a GimpMenuFactory
	parameter to the public constructor and removed all other
	parameters. Simplified gimp_navigation_editor_new_private() and
	use gimp_editor_add_action_button() instead of just add_button()
	for creating the buttons. Made gimp_navigation_view_set_shell()
	private. Update the UI manager when the shell zooms or scrolls.

	* app/dialogs/dialogs-constructors.c (dialogs_navigation_view_new):
	pass the menu_factory to gimp_navigation_editor_new().

	Removed #includes which are not needed any more.
2004-09-26 15:21:44 +00:00
..
.cvsignore configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +00:00
Makefile.am app/actions/Makefile.am app/actions/file-dialog-actions.[ch] 2004-07-17 12:19:58 +00:00
file-menu.c added new PDB function gimp_register_file_handler_mime() that allows to 2004-05-14 00:01:11 +00:00
file-menu.h added file-menu.[ch] and file-dialog-menu.[ch] 2004-05-13 11:17:29 +00:00
image-menu.c put the image popup menu into a dummy menubar to work around the silly 2004-05-17 13:38:03 +00:00
image-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
makefile.msc build but *dont link* display-enums.obj, widget-enums.obj and 2004-08-01 20:51:12 +00:00
menus-types.h removed enum GimpContextSelectType. 2004-06-23 00:23:25 +00:00
menus.c Ported GimpNavigationView to use actions for its buttons: 2004-09-26 15:21:44 +00:00
menus.h added GimpMenuFactory parameter and removed inclusion on "menus/menus.h". 2004-09-20 14:41:54 +00:00
plug-in-menus.c app/plug-in/Makefile.am removed... ...and added with a new name. 2004-09-22 15:12:24 +00:00
plug-in-menus.h Enabled multiple menu entries per plug-in procedure: 2004-05-06 13:51:56 +00:00
tool-options-menu.c added "name" attributes to all submenus. 2004-05-13 15:50:55 +00:00
tool-options-menu.h added signal "update" which is G_SIGNAL_RUN_LAST, so handlers can hook in 2004-04-30 15:29:11 +00:00
toolbox-menu.c added file-menu.[ch] and file-dialog-menu.[ch] 2004-05-13 11:17:29 +00:00
toolbox-menu.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00