gimp/app/actions
Michael Natterer 4654280114 Switch from GtkItemFactory to GtkUIManager. The migration is almost
2004-04-29  Michael Natterer  <mitch@gimp.org>

	Switch from GtkItemFactory to GtkUIManager. The migration is
	almost complete, still stuff missing/incomplete, definitely added
	a bunch of new bugs...

	* app/actions/*-commands.[ch]: converted all callback from
	GtkItemFactory callbacks to GtkAction callbacks.

	* app/actions/debug-actions.c
	* app/actions/gradient-editor-actions.c
	* app/actions/help-actions.c
	* app/actions/plug-in-actions.c
	* app/actions/qmask-actions.c
	* app/actions/tool-options-actions.c: various fixes.

	* app/display/gimpdisplay.[ch]
	* app/display/gimpdisplayshell-appearance.[ch]
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell.[ch]: move everything from
	GtkItemFactory to GtkUIManager.

	* app/gui/dialogs.[ch]: added new function dialogs_get_toolbox().
	Needed because the action callbacks don't have a widget parameter
	and sometimes we need a parent window for showing dialogs.

	* app/gui/Makefile.am
	* app/gui/brushes-menu.[ch]
	* app/gui/buffers-menu.[ch]
	* app/gui/channels-menu.[ch]
	* app/gui/colormap-editor-menu.[ch]
	* app/gui/dialogs-menu.[ch]
	* app/gui/documents-menu.[ch]
	* app/gui/error-console-menu.[ch]
	* app/gui/fonts-menu.[ch]
	* app/gui/gradient-editor-menu.[ch]
	* app/gui/gradients-menu.[ch]
	* app/gui/images-menu.[ch]
	* app/gui/layers-menu.[ch]
	* app/gui/palette-editor-menu.[ch]
	* app/gui/palettes-menu.[ch]
	* app/gui/patterns-menu.[ch]
	* app/gui/qmask-menu.[ch]
	* app/gui/templates-menu.[ch]
	* app/gui/vectors-menu.[ch]: removed these files.

	* app/gui/gui.c: create a global UI manager for the image popup
	menu and the toolbox menubar.

	* app/gui/menus.[ch]: removed all GtkItemFactory code.

	* app/gui/image-menu.[ch]
	* app/gui/toolbox-menu.[ch]: removed everything except the trivial
	setup_funcs.

	* app/gui/file-open-menu.c
	* app/gui/file-save-menu.c
	* app/gui/tool-options-menu.c: don't use the macros from menus.h
	any more, they are gone.

	* app/gui/gui-vtable.c
	* app/gui/plug-in-menus.[ch]: create/destroy the dynamic plug-in
	menu entries.

	* app/tools/gimpimagemaptool.c: s/gimp_item_factory_update/
	gimp_ui_manager_update/g

	* app/widgets/gimpuimanager.[ch]: added API to get an action
	group by name.

	* app/widgets/gimpmenufactory.c: don't choke on the item_factory
	entries being NULL.

	* app/widgets/gimpactiongroup.c: make sure booleans set using
	g_object_set() only have TRUE or FALSE values.

	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcomponenteditor.c
	* app/widgets/gimpcontainereditor.[ch]
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpdockable.[ch]
	* app/widgets/gimpdocked.[ch]
	* app/widgets/gimpeditor.[ch]
	* app/widgets/gimperrorconsole.c
	* app/widgets/gimpgradienteditor.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimppaletteeditor.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gimptooloptionseditor.c: removed all GtkItemFactory
	code and enable the #if 0'ed UI manager stuff.

	* menus/gradient-editor-menu.xml: fixed typos.

	* menus/image-menu.xml: duplicate everything so we have both
	an image menubar and an image popup menu. Badly cries for an
	XSL processor.

	* menus/toolbox-menu.xml: added an "Extensions" placeholder.
2004-04-29 12:52:29 +00:00
..
.cvsignore More GtkAction stuff (still unused): 2004-04-19 14:54:24 +00:00
actions-types.h app/actions/Makefile.am oops, forgot to commit this one. 2004-04-19 15:19:14 +00:00
actions.c forgot to register the "patterns" actions. 2004-04-21 16:10:00 +00:00
actions.h More unused action stuff: 2004-04-20 23:04:50 +00:00
brushes-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
brushes-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
buffers-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
buffers-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
buffers-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
buffers-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
channels-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
channels-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
channels-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
channels-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
colormap-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
colormap-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
colormap-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
colormap-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
colormap-editor-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
colormap-editor-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
colormap-editor-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
colormap-editor-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
data-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
data-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
debug-actions.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
debug-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
debug-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
debug-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
dialogs-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
dialogs-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
dialogs-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
dialogs-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
dockable-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
dockable-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
dockable-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
dockable-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
documents-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
documents-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
documents-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
documents-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
drawable-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
drawable-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
drawable-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
drawable-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
edit-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
edit-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
edit-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
edit-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
error-console-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
error-console-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
error-console-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
error-console-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
file-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
file-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
file-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
file-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
fonts-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
fonts-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
fonts-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
fonts-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
gradient-editor-actions.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
gradient-editor-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
gradient-editor-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
gradient-editor-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
gradients-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
gradients-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
gradients-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
gradients-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
help-actions.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
help-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
help-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
help-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
image-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
image-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
image-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
image-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
images-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
images-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
images-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
images-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
layers-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
layers-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
layers-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
layers-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
Makefile.am More unused action stuff: 2004-04-20 23:04:50 +00:00
palette-editor-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
palette-editor-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
palette-editor-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
palette-editor-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
palettes-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
palettes-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
palettes-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
palettes-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
patterns-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
patterns-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
plug-in-actions.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
plug-in-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
plug-in-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
plug-in-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
qmask-actions.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
qmask-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
qmask-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
qmask-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
quick-mask-actions.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
quick-mask-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
quick-mask-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
quick-mask-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
select-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
select-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
select-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
select-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
templates-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
templates-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
templates-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
templates-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
tool-options-actions.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
tool-options-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
tool-options-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
tool-options-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
tools-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
tools-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
tools-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
tools-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
vectors-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
vectors-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
vectors-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
vectors-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
view-actions.c app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
view-actions.h app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass 2004-04-27 13:55:26 +00:00
view-commands.c Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00
view-commands.h Switch from GtkItemFactory to GtkUIManager. The migration is almost 2004-04-29 12:52:29 +00:00