1. 25 Sep, 2005 1 commit
    • Sven Neumann's avatar
      libgimpwidgets/gimpwidgets.def added gimp_zoom_model_zoom() and changed · 1f0aff2b
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpzoommodel.[ch]: added gimp_zoom_model_zoom()
      	and changed gimp_zoom_model_get_fraction() to take a model instead
      	of the zoom factor.
      
      	* app/display/gimpdisplayshell.[ch]: use a GimpZoomModel for the
      	display scale factor.
      
      	* app/actions/image-commands.c
      	* app/actions/view-actions.c
      	* app/actions/view-commands.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpnavigationeditor.c
      	* app/display/gimpstatusbar.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmagnifytool.c: changed accordingly.
      1f0aff2b
  2. 24 Sep, 2005 1 commit
  3. 18 Sep, 2005 2 commits
  4. 19 Jul, 2005 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am new files keeping the render acceleration check · 19ea2a9d
      Michael Natterer authored
      2005-07-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimprender.[ch]: new files keeping the render
      	acceleration check buffers.
      
      	* app/display/gimpdisplayshell-render.[ch]: removed them here.
      
      	* app/gui/gui.c: initialize/shutdown the new buffers.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpviewrenderer.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/actions/view-actions.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell.c: use the new stuff. Removes
      	lots of broken widgets -> display dependencies.
      19ea2a9d
  5. 05 Apr, 2005 1 commit
  6. 04 Apr, 2005 1 commit
    • Michael Natterer's avatar
      app/dialogs/Makefile.am removed. · ac8e7db9
      Michael Natterer authored
      2005-04-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/info-window.[ch]: removed.
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* menus/image-menu.xml.in: removed its action and menu stuff.
      
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.[ch]: removed info window stuff.
      	This was the last display -> dialogs dependency.
      
      	* app/dialogs/dialogs.c: added ugly hack that references
      	info_dialog. Otherwise the still existing tools -> dialogs
      	dependency breaks the build.
      ac8e7db9
  7. 16 Mar, 2005 1 commit
    • Sven Neumann's avatar
      app/actions/layers-actions.c app/actions/plug-in-actions.c · d08584c0
      Sven Neumann authored
      2005-03-17  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/actions/plug-in-actions.c
      	* app/actions/view-actions.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/dog.c
      	* plug-ins/pygimp/plug-ins/py-slice.py
      	* plug-ins/script-fu/scripts/i26-gunya2.scm
      	* plug-ins/script-fu/scripts/news-text.scm
      	* plug-ins/script-fu/scripts/text-circle.scm: applied patch from
      	Michael Terry that adds missing mnemonics (bug #106991).
      d08584c0
  8. 05 Mar, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/view-actions.c app/actions/view-commands.[ch] · be6a9d2a
      Michael Natterer authored
      2005-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* app/config/gimprc-blurbs.h
      	* app/core/core-enums.[ch]
      	* app/core/gimp.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimpimage.c
      	* app/display/gimpdisplayoptions.[ch]
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-draw.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: reordered stuff to be in guides, grid,
      	sample points order. Some cleanup and indentation.
      be6a9d2a
  9. 04 Mar, 2005 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · ea267753
      William Skaggs authored
      	* app/core/gimpimage-sample-points.c
      	* app/core/gimpimage-sample-points.h: new files
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.c
      	* app/actions/view-commands.h
      	* app/config/gimprc-blurbs.h
      	* app/core/Makefile.am
      	* app/core/core-enums.c
      	* app/core/core-enums.h
      	* app/core/core-types.h
      	* app/core/gimp.c
      	* app/core/gimp.h
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage-undo-push.h
      	* app/core/gimpimage.c
      	* app/core/gimpimage.h
      	* app/display/gimpdisplayoptions.c
      	* app/display/gimpdisplayoptions.h
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-appearance.h
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-draw.h
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell.h
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: add support for a list of "sample
      	points" in each image, coded and handled very similarly to
      	guides, for use mainly in color correction.  See bug #137776.
      ea267753
  10. 11 Feb, 2005 1 commit
  11. 28 Jan, 2005 1 commit
    • Michael Natterer's avatar
      app/actions/Makefile.am new files holding utility functions to create · b0f83a4b
      Michael Natterer authored
      2005-01-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/Makefile.am
      	* app/actions/window-actions.[ch]: new files holding utility
      	functions to create actions to move windows to other screens.
      
      	* app/actions/dock-actions.c
      	* app/actions/dock-commands.[ch]
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: use the new actions instead of
      	the change screen dialog.
      
      	* app/menus/Makefile.am
      	* app/menus/window-menu.[ch]: new files which create menu items
      	for above actions.
      
      	* app/menus/dockable-menu.[ch]: new files using above window-menu
      	utility functions.
      
      	* app/menus/image-menu.c: use them here too.
      
      	* app/menus/menus.c: set a setup_func for the "<Dockable>"
      	UI manager.
      
      	* menus/dockable-menu.xml.in
      	* menus/image-menu.xml.in: changed accordingly.
      b0f83a4b
  12. 03 Jan, 2005 2 commits
    • Michael Natterer's avatar
      app/actions/view-actions.c app/actions/view-commands.[ch] · 4a0b9cb6
      Michael Natterer authored
      2005-01-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* app/display/gimpdisplayshell-appearance.[ch]
      	* menus/image-menu.xml.in: reordered actions, functions and menu
      	items so the "show" and "snap" actions are grouped.
      4a0b9cb6
    • Michael Natterer's avatar
      Implemented "Snap to Canvas Edges" (fixes bug #152971) and "Snap to Active · 150bea1e
      Michael Natterer authored
      2005-01-03  Michael Natterer  <mitch@gimp.org>
      
      	Implemented "Snap to Canvas Edges" (fixes bug #152971) and
      	"Snap to Active Path" (half way done):
      
      	* app/core/gimpimage-snap.[ch]: added boolean snap_to_canvas and
      	snap_to_vectors parameters (snap_to_vectors works fine when
      	snapping to a point, but is unimplemented for snapping to a
      	rectangle).
      
      	* app/display/gimpdisplayshell.[ch] (struct GimpDisplayShell):
      	added snap_to_canvas and snap_to_vectors booleans.
      
      	* app/display/gimpdisplayshell-appearance.[ch]: added API to
      	get/set them.
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]
      	* app/widgets/gimphelp-ids.h: added actions, callbacks and help IDs.
      
      	* menus/image-menu.xml.in: added them to Image->View.
      150bea1e
  13. 18 Nov, 2004 1 commit
    • Michael Natterer's avatar
      added boolean property "value-variable" which specifies if the · 567bb7b2
      Michael Natterer authored
      2004-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpenumaction.[ch]: added boolean property
      	"value-variable" which specifies if the GimpEnumAction::selected()
      	signal may be emitted with arbirtary values (value-variable = TRUE)
      	or *only* with enum_action->value (value-variable = FALSE).
      
      	* app/widgets/gimpactiongroup.[ch]: added "gboolean
      	value_variable" to GimpEnumActionEntry and set it in
      	gimp_action_group_add_enum_actions().
      
      	* app/actions/channels-actions.c
      	* app/actions/colormap-editor-actions.c
      	* app/actions/context-actions.c
      	* app/actions/drawable-actions.c
      	* app/actions/edit-actions.c
      	* app/actions/error-console-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/image-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/palette-editor-actions.c
      	* app/actions/plug-in-actions.c
      	* app/actions/vectors-actions.c
      	* app/actions/view-actions.c: set "variable" to FALSE for all enum
      	actions except those which are used with the GIMP_ACTION_SELECT_SET
      	voodoo.
      
      	* app/widgets/gimpcontrollers.c (gimp_controllers_event_mapped):
      	fall back to gtk_action_activate() if the action specified in a
      	GIMP_CONTROLLER_EVENT_VALUE mapping is not variable. Enables
      	triggering of enum actions from GIMP_CONTROLLER_EVENT_VALUE events
      	(like midi note-on and note-off).
      567bb7b2
  14. 18 Oct, 2004 1 commit
    • Michael Natterer's avatar
      Action code review and pre-release consistency cleanup: · c49df22e
      Michael Natterer authored
      2004-10-18  Michael Natterer  <mitch@gimp.org>
      
      	Action code review and pre-release consistency cleanup:
      
      	* app/actions/*-actions.c: added some missing and resolved
      	conflicting mnemonics, added missing help IDs. Cleaned up the
      	*_actions_update() functions.
      
      	* app/actions/channels-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/vectors-actions.c (*_actions_update): simplified
      	the code that figures the prev and next channel,layer,vectors.
      
      	* app/actions/qmask-actions.c: use the same accelerator for
      	"qmask-active" and "qmask-toggle". Fixed action sensitivity.
      
      	* app/actions/channels-commands.c
      	* app/actions/dockable-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/image-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c: folded tons of private utility
      	functions into their only callers (they used to be public and
      	called from outside before the switch to action based menus).
      	Renamed functions and variables saying "query" or "qbox" to
      	"dialog". Moved static functions to the end of the files. Misc
      	minor cleanups.
      
      	* app/actions/drawable-actions.c
      	* app/actions/drawable-commands.c: made the "drawable-visible" and
      	"drawable-linked" actions affect the layer if the active drawable
      	is a layer mask.
      
      	* app/actions/select-commands.c: added action to stroke with the
      	last values used in an attempt to address bug #135746 but #if 0'ed
      	it because the approach is too ugly.
      
      	* app/tools/gimpiscissorstool.c: changed mnemonic from I to S.
      
      	* menus/image-menu-xml.in: added more stuff to the (commented out)
      	"context" menu.
      c49df22e
  15. 15 Oct, 2004 1 commit
  16. 07 Oct, 2004 1 commit
    • Michael Natterer's avatar
      changed zoom actions to be GimpEnumActions using the GimpActionSelectType · 4117fa44
      Michael Natterer authored
      2004-10-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c: changed zoom actions to be
      	GimpEnumActions using the GimpActionSelectType enum. Enables
      	keyboard shortcuts for useless stuff like "zoom out a lot", and
      	makes them better accessible for external controllers.
      
      	* app/actions/view-commands.[ch]: renamed view_zoom_cmd_callback()
      	to view_zoom_explicit_cmd_callback(), removed the zoom_in and
      	zoom_out callbacks and added a new view_zoom_cmd_callback() for
      	the new GimpActionSelectType-based actions. The implementation of
      	the new zoom types is questionable but now there is a place where
      	nomis can fill in nice formulas...
      4117fa44
  17. 26 Sep, 2004 1 commit
    • Michael Natterer's avatar
      Ported GimpNavigationView to use actions for its buttons: · b4ea222c
      Michael Natterer authored
      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.
      b4ea222c
  18. 22 Sep, 2004 1 commit
  19. 07 Jul, 2004 1 commit
  20. 22 Jun, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/view-actions.c added actions & callbacks to configure the · 9fe8e849
      Michael Natterer authored
      2004-06-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: added actions & callbacks to
      	configure the canvas padding color.
      
      	* app/widgets/gimphelp-ids.h
      	* menus/image-menu.xml.in: added the actions' help IDs and menu entries.
      
      	* app/display/display-enums.h: added /*< skip >*/'ed enum value
      	GIMP_CANVAS_PADDING_MODE_RESET.
      
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-callbacks.[ch]
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell.[ch]: removed the canvas padding
      	button and its popup menu (fixes bug #142996). Instead, added a
      	toggle button which allows to zoom the image when the window is
      	resized (as known from sodipodi, except it doesn't work as nice
      	yet :-) improvements to the algorithm are welcome).
      	Cleaned up the GimpDisplayShell struct a bit and renamed some
      	of its members.
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-zoom-follow-window-12.png: added new
      	icon for the new display toggle button.
      9fe8e849
  21. 20 Jun, 2004 1 commit
    • Philip Lafleur's avatar
      Changed "Zoom to Fit Window" command to "Fit Image in Window" and added · c7364a64
      Philip Lafleur authored
      2004-06-20  Philip Lafleur  <plafleur@cvs.gnome.org>
      
      	* app/display/gimpdisplayshell-scale.[ch]:
      	* app/display/gimpnavigationview.[ch]:
      	* app/actions/view-actions.c:
      	* app/actions/view-commands.[ch]:
      	* app/widgets/gimphelp-ids.h:
      	* menus/image-menu.xml.in: Changed "Zoom to Fit Window" command
      	to "Fit Image in Window" and added another command, "Fit Image
      	to Window", that zooms according to the opposite dimension. Fixes
      	bug #144597.
      c7364a64
  22. 07 Jun, 2004 1 commit
  23. 10 May, 2004 1 commit
    • Sven Neumann's avatar
      added a stock icon for "view-zoom-1-1". · a08d648a
      Sven Neumann authored
      2004-05-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/view-actions.c: added a stock icon for "view-zoom-1-1".
      
      	* app/widgets/gimpunitcombobox.[ch]: added functions to get and
      	set the active unit.
      
      	* app/widgets/gimpunitstore.c (gimp_unit_store_tree_model_get_value):
      	need to special case GIMP_UNIT_PIXEL.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/display/gimpscalecombobox.[ch]: new widget to be used in the
      	display's statusbar.
      
      	* app/display/gimpdisplayshell-cursor.[ch]: always display the
      	cursor position, not only if the cursor is inside the image. Added
      	new function gimp_display_shell_clear_cursor() to clear the cursor
      	label.
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/display/gimpstatusbar.[ch]
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c: do not explicitely resize
      	the statusbar cursor label, connect to GimpDisplayShell::scaled
      	instead. Added a GimpScaleComboBox to the status bar.
      a08d648a
  24. 05 May, 2004 1 commit
    • Michael Natterer's avatar
      app/actions/file-actions.c remove "file-close" action and callback... · 96ba0235
      Michael Natterer authored
      2004-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]: remove "file-close" action and
      	callback...
      
      	* app/actions/view-actions.c
      	* app/actions/view-commands.[ch]: ...and added it here as
      	"view-close" because that's what it does.
      
      	* app/actions/qmask-actions.c
      	* app/actions/qmask-commands.c: s/QMask/QuickMask/g
      
      	* app/gui/menus.c: add the "channels" action group to the <Image>
      	and <Dock> UI managers, renamed UI manager <Dialogs> to
      	<Dockable>.
      
      	* app/widgets/gimpdockbook.c: s/<Dialogs>/<Dockable>/.
      
      	* menus/image-menu.xml.in: s/file-close/view-close/, added
      	separators at the end of most menus, moved the bottom group of the
      	"View" menu after the zoom group.
      96ba0235
  25. 27 Apr, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass · aae726ee
      Michael Natterer authored
      2004-04-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppluginaction.[ch]: new GtkAction subclass which
      	remembers the PlugInProcDef.
      
      	* app/widgets/gimpactiongroup.[ch]: added "gpointer user_data" to
      	the GimpActionGroup struct and to gimp_action_group_new(). Removed
      	the user_data parameter from gimp_action_group_add_*_actions().
      
      	* app/widgets/gimpactionfactory.[ch]: changed accordingly.
      
      	* app/actions/*-actions.[ch]: removed user_data from all setup_funcs.
      
      	* app/actions/plug-in-actions.c: use a GimpPlugInAction and
      	finally use the right user_data for the callback so plug-in
      	callbacks have a proper context.
      
      	* app/gui/plug-in-menus.[ch]: renamed plug_in_menus_create2() to
      	plug_in_menus_setup().
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: changed accordingly.
      aae726ee
  26. 21 Apr, 2004 2 commits
    • Michael Natterer's avatar
      forgot to register the "patterns" actions. · 2c601c7d
      Michael Natterer authored
      2004-04-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.c: forgot to register the "patterns" actions.
      
      	* app/actions/*-actions.c: added actions representing the toplevel
      	menus (popups and menubars). Fixed some typos.
      
      	* menus/*-menu.xml: added action="foo" attributes to all toplevel
      	menus. Fixed typos here too.
      
      	* menus/gtkuimanager.dtd: fixed possible attributes.
      2c601c7d
    • Michael Natterer's avatar
      app/actions/qmask-actions.c prepared qmask_actions_update() and the qmask · 62dcfaec
      Michael Natterer authored
      2004-04-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/qmask-actions.c
      	* app/actions/qmask-commands.c: prepared qmask_actions_update()
      	and the qmask callbacks to be merged into the image ui manager.
      
      	* app/actions/dialogs-actions.c
      	* app/actions/edit-actions.c
      	* app/actions/file-actions.c
      	* app/actions/image-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/plug-in-actions.c
      	* app/actions/tools-actions.c
      	* app/actions/view-actions.c: fixed lots of typos and buglets
      	spotted in my first test run.
      
      	* app/gui/menus.c: register the needed action groups with the
      	<Image> menu.
      
      	* app/tools/gimp-tools.c
      	* app/tools/gimpdodgeburntool.[ch]
      	* app/tools/gimppaintoptions-gui.c: s/dodgeburn/dodge_burn/g.
      
      	* app/widgets/gimpactionfactory.c
      	* app/widgets/gimpmenufactory.[ch]: s/G_GNUC_FUNCTION/G_STRFUNC/g,
      	updated copyright header.
      
      	* menus/image-menu.xml: fixed typos and added the "Filters"
      	submenus.
      62dcfaec
  27. 20 Apr, 2004 1 commit
    • Michael Natterer's avatar
      removed... · 661f6dde
      Michael Natterer authored
      2004-04-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/*-commands.[ch]: removed...
      
      	* app/actions/*-commands.[ch]: ...and added here.
      
      	* app/gui/Makefile.am
      	* app/gui/*-menu.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/actions/Makefile.am
      	* app/actions/*-actions.c: changed accordingly.
      
      	* app/actions/plug-in-actions.[ch]
      	* app/actions/tools-actions.[ch]: new files.
      
      	* app/Makefile.am: had to add more -u evilness because gui/
      	and actions/ have cyclic dependencies.
      
      	* menus/image-menu.xml: added some more items.
      661f6dde
  28. 19 Apr, 2004 1 commit
    • Michael Natterer's avatar
      More GtkAction stuff (still unused): · 8848558f
      Michael Natterer authored
      2004-04-19  Michael Natterer  <mitch@gimp.org>
      
      	More GtkAction stuff (still unused):
      
      	* configure.in: added new directories menus/ and app/actions/
      
      	* Makefile.am: build menus/
      
      	* menus/.cvsignore
      	* menus/Makefile.am
      	* menus/*-menu.xml: new files: XML menu descriptions for each menu
      	which is now defined in gui/*-menu.c.
      
      	* app/widgets/widgets-types.h: some typedefs for GimpActionGroup.
      
      	* app/widgets/gimpactiongroup.[ch]: added a "Gimp" construct-only
      	property. Added APIs to set actions visible/sensitive/active
      	and an unimplemented stub for setting the action's color.
      
      	* app/Makefile.am: build actions/ and link libappactions.a
      
      	* app/actions/.cvsignore
      	* app/actions/Makefile.am
      	* app/actions/*-actions.[ch]: new files: GtkActions for each
      	*-commands.c file in gui/. Ported all "update" functions from the
      	*-menu.c files.
      	(everything completely unused, untested and partly #if 0'ed)
      
      	* app/core/gimpimage.[ch]: for reasons of (action-) symmetry, added
      	API to raise/lower channels/vectors to top/bottom.
      
      	* app/gui/channels-commands.[ch]
      	* app/gui/vectors-commands.[ch]: added callbacks for the new
      	to top/bottom functions.
      
      	* app/gui/Makefile.am
      	* app/gui/dockable-commands.[ch]: new files split out of
      	dialogs-commands.[ch].
      
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/dialogs-menu.c: changed accordingly.
      
      	* app/gui/edit-commands.[ch]: added edit_paste_into_cmd_callback()
      	and remove usage of "guint action".
      
      	* app/gui/image-menu.c: changed accordingly.
      
      	* app/gui/palette-editor-commands.[ch]: split
      	+palette_editor_new_color_cmd_callback() into separate callbacks
      	for adding from FG and BG.
      
      	* app/gui/palette-editor-menu.c: changed accordingly.
      8848558f