1. 12 Nov, 2017 1 commit
    • Michael Natterer's avatar
      Bug 789764 - Please add Paste In Place feature · f12d0d8c
      Michael Natterer authored
      Add "In Place" variants for all sorts of pasting:
      
      - extend the GimpPasteType enum with IN_PLACE values
      - add the needed actions and menu items
      - merge the action callbacks into one, taking an enum value as parameter
      - refactor the pasting code in gimp-edit.c into smaller functions
      
      We probably have too menu items in the "Edit" menu now, needs to be
      sorted out.
      f12d0d8c
  2. 20 Sep, 2016 1 commit
  3. 19 Sep, 2016 1 commit
  4. 26 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Allow plug-ins to register menu entries in the <Brushes>, <Gradients>, · 48cdc653
      Michael Natterer authored
      2005-09-26  Michael Natterer  <mitch@gimp.org>
      
      	Allow plug-ins to register menu entries in the <Brushes>,
      	<Gradients>, <Palettes>, <Patterns> and <Fonts> menus:
      
      	* app/actions/actions.c (action_data_get_gimp): return a Gimp
      	also if "data" is a GimpContainerView or GimpContainerEditor.
      
      	* app/gui/gui-vtable.c (gui_menus_add_proc)
      	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): support
      	the new plug-in menu locations.
      
      	* app/menus/menus.c (menus_init): add the "plug-in" action group
      	to the resp. UI managers.
      
      	* menus/brushes-menu.xml
      	* menus/buffers-menu.xml
      	* menus/fonts-menu.xml
      	* menus/gradients-menu.xml
      	* menus/palettes-menu.xml
      	* menus/patterns-menu.xml: added separators at the end of the menus.
      
      	* plug-ins/script-fu/scripts/font-map.scm: -> <Fonts>
      	* plug-ins/script-fu/scripts/gradient-example.scm: -> <Gradients>
      	* plug-ins/script-fu/scripts/mkbrush.scm: -> <Brushes>
      
      	* plug-ins/script-fu/script-fu.c (script_fu_extension_init): don't
      	register the "Make Brush" menu branch.
      48cdc653
  5. 21 Apr, 2004 1 commit
    • 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
  6. 19 Apr, 2004 2 commits
    • Sven Neumann's avatar
      menus/Makefile.am added a DTD (basically copied from the GTK+ API docs). · 957015e3
      Sven Neumann authored
      2004-04-19  Sven Neumann  <sven@gimp.org>
      
      	* menus/Makefile.am
      	* menus/gtkuimanager.dtd: added a DTD (basically copied from the
      	GTK+ API docs). Added a "validate" rule that allows to easily
      	validate the XML files.
      
      	* menus/*.xml: added a DOCTYPE declaration that refers to the
      	newly added DTD.
      
      	* app/widgets/gimpenumstore.[ch]:
      	* app/widgets/gimpenumcombobox.c: documented the new API.
      957015e3
    • 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