gimp/app/actions
Michael Natterer 18d2d499b5 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and
2004-05-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemtreeview.h: added GimpContext parameters
	to GimpActivateItemFunc, GimpNewItemFunc and GimpEditItemFunc.

	* app/widgets/gimpdrawabletreeview.c
	* app/widgets/gimpitemtreeview.c: pass the view's context to
	the functions.

	* app/actions/actions.c (action_data_get_context): return
	gimp_get_user_context() if "data" is a Gimp.

	* app/actions/channels-commands.[ch]
	* app/actions/layers-commands.[ch]
	* app/actions/vectors-commands.[ch]: added GimpContext parameters
	to the resp. activate, new and edit functions and use the passed
	context instead of gimp_get_user_context().

	* app/actions/layers-commands.[ch]: removed the merge and flatten
	callbacks.

	* app/actions/image-commands.[ch]: made public layer merge utility
	function private and cleaned the whole file up a lot.

	* app/actions/layers-actions.c: use the callbacks from
	image-commands.c for merge and flatten.

	* app/actions/edit-commands.c
	* app/actions/file-commands.c
	* app/actions/select-commands.c: use action_data_get_context()
	instead of gimp_get_user_context().

	* app/actions/edit-actions.c: some cleanup.
2004-05-25 14:37:02 +00:00
..
.cvsignore More GtkAction stuff (still unused): 2004-04-19 14:54:24 +00:00
Makefile.am app/actions/Makefile.am new files containing factored out code to set up 2004-05-02 10:34:04 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
actions.h added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +00:00
brushes-actions.c added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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 added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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 added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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 reoedered to somehow reflect the class hierarchy. 2004-05-23 10:04:41 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
channels-commands.h added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
colormap-actions.c reoedered to somehow reflect the class hierarchy. 2004-05-23 10:04:41 +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 added "name" attributes to all submenus. 2004-05-13 15:50:55 +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 reoedered to somehow reflect the class hierarchy. 2004-05-23 10:04:41 +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 added "name" attributes to all submenus. 2004-05-13 15:50:55 +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 eek, delete the data only if "OK" was pressed. 2004-05-20 22:35:18 +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 app/actions/debug-actions.c app/actions/debug-commands.[ch] added action & 2004-05-05 15:54:42 +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 configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am 2004-05-06 07:41:53 +00:00
debug-commands.h app/actions/debug-actions.c app/actions/debug-commands.[ch] added action & 2004-05-05 15:54:42 +00:00
dialogs-actions.c Allow plug-ins to register menu icons. Fixes bug #120500. 2004-05-18 21:19:43 +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 app/actions/actions.h. added the various return_if_no_foo() macros here. 2004-05-03 14:46: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 More GimpContainerView chopping: 2004-05-10 17:16:50 +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 More GimpContainerView chopping: 2004-05-10 17:16:50 +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/actions/documents-actions.c app/actions/documents-commands.c 2004-05-12 18:36:33 +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 app/actions/documents-actions.c app/actions/documents-commands.c 2004-05-12 18:36:33 +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 added some utility functions to get a Gimp, GimpImage, GimpDisplay and 2004-05-03 14:03:51 +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 reoedered to somehow reflect the class hierarchy. 2004-05-23 10:04:41 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
edit-commands.h app/actions/documents-actions.c app/actions/documents-commands.c 2004-05-12 18:36:33 +00:00
error-console-actions.c added help IDs to all actions representing the toplevel popups and menus 2004-05-02 08:56:07 +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/actions/file-actions.c removed action "file-new", added action 2004-05-25 12:02:54 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
file-commands.h app/actions/file-actions.c removed action "file-new", added action 2004-05-25 12:02:54 +00:00
file-dialog-actions.c Allow plug-ins to register menu icons. Fixes bug #120500. 2004-05-18 21:19:43 +00:00
file-dialog-actions.h app/actions/Makefile.am new files containing factored out code to set up 2004-05-02 10:34:04 +00:00
file-dialog-commands.c app/actions/Makefile.am new files containing factored out code to set up 2004-05-02 10:34:04 +00:00
file-dialog-commands.h app/actions/Makefile.am new files containing factored out code to set up 2004-05-02 10:34:04 +00:00
file-open-actions.c app/actions/Makefile.am new files containing factored out code to set up 2004-05-02 10:34:04 +00:00
file-open-actions.h app/actions/Makefile.am app/actions/file-open-actions.[ch] actions for the 2004-04-29 17:47:53 +00:00
file-save-actions.c app/actions/Makefile.am new files containing factored out code to set up 2004-05-02 10:34:04 +00:00
file-save-actions.h app/actions/Makefile.am app/actions/file-open-actions.[ch] actions for the 2004-04-29 17:47:53 +00:00
fonts-actions.c added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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 added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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 Fixes for bug #142996: 2004-05-23 21:02:27 +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 app/actions/channels-commands.c app/actions/gradient-editor-commands.c 2004-05-04 14:21:13 +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/actions/gradients-actions.c app/actions/palettes-actions.c added/fixed 2004-05-11 22:57:28 +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 More GimpContainerView chopping: 2004-05-10 17:16:50 +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 added some utility functions to get a Gimp, GimpImage, GimpDisplay and 2004-05-03 14:03:51 +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/actions/file-actions.c removed action "file-new", added action 2004-05-25 12:02:54 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
image-commands.h added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
images-actions.c added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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 added missing #includes. 2004-05-11 16:17:44 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
layers-commands.h added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
palette-editor-actions.c reoedered to somehow reflect the class hierarchy. 2004-05-23 10:04:41 +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/actions/gradients-actions.c app/actions/palettes-actions.c added/fixed 2004-05-11 22:57:28 +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 app/widgets/widgets-types.h made GimpContainerView an interface. Added 2004-05-10 23:22:39 +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/actions/gradients-actions.c app/actions/palettes-actions.c added/fixed 2004-05-11 22:57:28 +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 Allow plug-ins to register menu icons. Fixes bug #120500. 2004-05-18 21:19:43 +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 added some utility functions to get a Gimp, GimpImage, GimpDisplay and 2004-05-03 14:03:51 +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 app/actions/file-actions.c remove "file-close" action and callback... 2004-05-05 11:40:20 +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 libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +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 app/actions/file-actions.c remove "file-close" action and callback... 2004-05-05 11:40:20 +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 libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new_internal) left-align 2004-05-12 11:37:21 +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 don't make "select-invert" insensitive if there is no selection. 2004-05-14 13:43:48 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
select-commands.h reoedered to somehow reflect the class hierarchy. 2004-05-23 10:04:41 +00:00
templates-actions.c added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +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 Long overdue core container cleanup: 2004-05-24 10:49:34 +00:00
templates-commands.h added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +00:00
tool-options-actions.c added icons to the Save, Load, Rename and Delete submenus. 2004-05-17 12:32:27 +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 Long overdue core container cleanup: 2004-05-24 10:49:34 +00:00
tool-options-commands.h added signal "update" which is G_SIGNAL_RUN_LAST, so handlers can hook in 2004-04-30 15:29:11 +00:00
tools-actions.c don't use action_data_get_context() to update the "tools" action group 2004-05-13 13:52:18 +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 added action_data_get_context() and macro return_if_no_context(). 2004-05-11 16:05:21 +00:00
tools-commands.h Started making the toolbox configurable. Addresses bug #105764. Not 2004-05-10 00:41:57 +00:00
vectors-actions.c reoedered to somehow reflect the class hierarchy. 2004-05-23 10:04:41 +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 added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
vectors-commands.h added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and 2004-05-25 14:37:02 +00:00
view-actions.c added a stock icon for "view-zoom-1-1". 2004-05-10 10:33:21 +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 app/actions/file-actions.c remove "file-close" action and callback... 2004-05-05 11:40:20 +00:00
view-commands.h app/actions/file-actions.c remove "file-close" action and callback... 2004-05-05 11:40:20 +00:00