1. 11 Jul, 2018 1 commit
  2. 07 Jul, 2017 1 commit
  3. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  4. 09 Dec, 2006 1 commit
  5. 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
  6. 13 May, 2004 1 commit
    • Michael Natterer's avatar
      added file-menu.[ch] and file-dialog-menu.[ch] · efcade0a
      Michael Natterer authored
      2004-05-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/menus/Makefile.am: added file-menu.[ch] and
      	file-dialog-menu.[ch]
      
      	* app/menus/menus.[ch]: removed menus_open_recent_add()...
      
      	* app/menus/file-menu.[ch]: ...and added it here as file_menu_setup().
      
      	* app/menus/image-menu.c
      	* app/menus/toolbox-menu.c: changed accordingly.
      
      	* app/menus/file-dialog-menu.[ch]: added factored out code from the
      	file-open and file-save menus as file_dialog_menu_setup().
      
      	* app/menus/file-open-menu.c
      	* app/menus/file-save-menu.c: call file_dialog_menu_setup().
      efcade0a
  7. 06 May, 2004 1 commit
    • Michael Natterer's avatar
      configure.in app/Makefile.am app/menus/.cvsignore app/menus/Makefile.am · d3439fc3
      Michael Natterer authored
      2004-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/menus/.cvsignore
      	* app/menus/Makefile.am
      	* app/menus/menus-types.h
      	* app/menus/menus.[ch]
      	* app/menus/file-open-menu.[ch]
      	* app/menus/file-save-menu.[ch]
      	* app/menus/image-menu.[ch]
      	* app/menus/plug-in-menus.[ch]
      	* app/menus/tool-options-menu.[ch]
      	* app/menus/toolbox-menu.[ch]: moved all menus files to their
      	own directory.
      
      	* app/gui/Makefile.am
      	* app/gui/menus.[ch]
      	* app/gui/file-open-menu.[ch]
      	* app/gui/file-save-menu.[ch]
      	* app/gui/image-menu.[ch]
      	* app/gui/plug-in-menus.[ch]
      	* app/gui/tool-options-menu.[ch]
      	* app/gui/toolbox-menu.[ch]: removed them here.
      
      	* app/actions/debug-commands.c
      	* app/actions/file-commands.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c: changed #includes accordingly.
      d3439fc3
  8. 29 Apr, 2004 1 commit
    • Michael Natterer's avatar
      Switch from GtkItemFactory to GtkUIManager. The migration is almost · 46542801
      Michael Natterer authored
      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.
      46542801
  9. 27 Apr, 2004 2 commits
    • 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
    • Michael Natterer's avatar
      Correctly translated & sorted plug-in actions & menu entries: · 4e8105c1
      Michael Natterer authored
      2004-04-27  Michael Natterer  <mitch@gimp.org>
      
      	Correctly translated & sorted plug-in actions & menu entries:
      
      	* app/widgets/gimpuimanager.[ch]: added a "gchar *name" property
      	and a hash table which keeps all created UI managers (similar to
      	GimpActionGroup's hash table). Added function
      	gimp_ui_managers_from_name() which returns a list of all managers
      	with the given name.
      
      	* app/widgets/gimpmenufactory.c: register a name per UI manager
      	and pass the name to gimp_ui_manager_new().
      
      	* app/actions/plug-in-actions.c: added code which correctly
      	translates the created plug-in actions and also creates translated
      	menu actions for the plug-in's menu_path elements.
      
      	* app/gui/plug-in-menus.[ch]: sort the plug-ins' menu entries
      	using a GTree. For each entry, recursivlely create submenus
      	from the dynamic menu actions created above before creating
      	the plug-in's menu entry itself.
      
      	* app/gui/image-menu.c (image_menu_setup2)
      	* app/gui/toolbox-menu.c (toolbox_menu_setup2): call
      	plug_in_menus_create2().
      
      	* app/gui/gui-vtable.c (gui_menus_create_entry)
      	(gui_menus_delete_entry): added some uglyness which maps old <Prefix>
      	menu identifiers to new-style UI manager plus ui_path tuples and
      	call plug_in_menus_add,remove_proc() accordingly.
      
      	* menus/image-menu.xml
      	* menus/toolbox-menu.xml: added name="Foo" attributes to all menus
      	so plug-in entries find their place.
      4e8105c1
  10. 26 Apr, 2004 1 commit
    • Michael Natterer's avatar
      added GimpUIManagerSetupFunc typedef. · bb0f359a
      Michael Natterer authored
      2004-04-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h: added GimpUIManagerSetupFunc typedef.
      
      	* app/widgets/gimpuimanager.[ch]: added the setup_func to the
      	GimpUIManagerUIEntry struct and to gimp_ui_manager_ui_register().
      	Call the setup_func after creating the UI. Replaced the term
      	"identifier" by "ui_path".
      
      	* app/widgets/gimpmenufactory.c: ditto.
      
      	* app/gui/menus.c (menus_init): register the new setup_funcs below.
      
      	* app/gui/menus.[ch] (menus_open_recent_add)
      	* app/gui/image-menu.[ch] (image_menu_setup2)
      	* app/gui/toolbox-menu.[ch] (toolbox_menu_setup2): new setup_funcs
      	which add the "Open Recent" menu items.
      
      	* app/actions/file-actions.c: removed "file-open-recent-empty"
      	action because it's not needed.
      
      	* menus/image-menu.xml
      	* menus/toolbox-menu.xml: removed "file-open-recent-empty" menu
      	items and added <placeholder>s for the "Open Recent" menu items.
      bb0f359a
  11. 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
  12. 04 Mar, 2004 1 commit
    • Sven Neumann's avatar
      marked new strings for translation. · e21dc0ee
      Sven Neumann authored
      2004-03-04  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc-blurbs.h: marked new strings for translation.
      
      	* libgimpwidgets/gimpstock.h: added #defines for missing icons.
      	This allows us to replace them later without changing the API.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs-menu.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimptextoptions.c
      	* app/widgets/gimppaletteeditor.c: use the new stock icon names
      	instead of abusing GTK+ and GIMP tool stock icons.
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): added icons
      	to the new check buttons.
      e21dc0ee
  13. 27 Feb, 2004 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new widget swallowing · 527aa849
      Michael Natterer authored
      2004-02-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpfiledialog.[ch]: new widget swallowing most
      	of file-dialog-utils.[ch]'s functionality.
      
      	* app/widgets/widgets-types.h: added "gpointer callback_data" to
      	GimpItemFactorySetupFunc so the setup_funcs can create items in
      	the same context as the item factory's default items.
      
      	* app/widgets/gimpmenufactory.c (gimp_menu_factory_menu_new):
      	pass "callback_data" to setup_func().
      
      	* app/gui/file-open-menu.[ch]
      	* app/gui/file-save-menu.[ch]: use the passed callback_data
      	when creating the menus and attach the file_proc to the
      	menu items using g_object_set_data().
      
      	* app/gui/file-commands.[ch]: merged separate file type callbacks
      	for open and save dialogs into one callback which simply
      	calls gimp_file_dialog_set_file_proc().
      
      	* app/gui/file-dialog-utils.[ch]: removed file_dialog_new()
      	and file_dialog_set_proc().
      
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]: use the new widget and removed
      	global variables except the dialog pointer itself.
      
      	* app/gui/image-menu.[ch]
      	* app/gui/tool-options-menu.[ch]
      	* app/gui/toolbox-menu.[ch]: changed accordingly.
      527aa849
  14. 05 Feb, 2004 1 commit
    • Michael Natterer's avatar
      removed trailing whitespace. · be6b23d6
      Michael Natterer authored
      2004-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-crop.c: removed trailing whitespace.
      
      	* app/gui/debug-commands.[ch]
      	* app/gui/toolbox-menu.c: renamed ENABLE_DEBUG_ENTRIES to
      	ENABLE_DEBUG_MENU and #define it to be equal to GIMP_UNSTABLE.
      be6b23d6
  15. 01 Nov, 2003 1 commit
  16. 23 Oct, 2003 1 commit
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · 03b90ade
      Sven Neumann authored
      2003-10-23  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-tools-[16|24].png
      	* themes/Default/images/stock-device-status-24.png
      	* themes/Default/images/stock-tool-options-24.png: new icons drawn
      	by Jimmac.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs-menu.c: use the new GIMP_STOCK_TOOLS icon.
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: add the Tools dialog entry here as well.
      
      	* app/widgets/gimphelp-ids: s/TOOL_DIALOG/TOOLS_DIALOG/.
      03b90ade
  17. 01 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/gui/brushes-menu.c app/gui/channels-menu.c · 038a20e0
      Sven Neumann authored
      2003-10-01  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/brushes-menu.c
      	* app/gui/channels-menu.c
      	* app/gui/colormap-editor-menu.c
      	* app/gui/dialogs-menu.c
      	* app/gui/documents-menu.c
      	* app/gui/image-menu.c
      	* app/gui/palettes-menu.c
      	* app/gui/templates-menu.c
      	* app/gui/toolbox-menu.c
      	* app/gui/vectors-menu.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/dbbrowser/dbbrowser.c: followed the HIG advisory on
      	labelling menus with a trailing ellipsis and removed some.
      038a20e0
  18. 30 Sep, 2003 1 commit
    • Sven Neumann's avatar
      accept a list of dialog identifiers and try to raise an existing dockable · b563329c
      Sven Neumann authored
      2003-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/dialogs-commands.c (dialogs_create_dockable_cmd_callback):
      	accept a list of dialog identifiers and try to raise an existing
      	dockable from the list. If that fails, create a new one from the
      	first entry.
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: specify alternative dialog identifiers
      	where appropriate.
      
      	* app/vectors/gimpstroke.c (gimp_stroke_interpolate): use NULL
      	instead of 0.
      b563329c
  19. 09 Sep, 2003 1 commit
    • Michael Natterer's avatar
      removed redundant "Gimp" parameter, cleanup. · da272486
      Michael Natterer authored
      2003-09-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/menus.c (menus_last_opened_add): removed redundant
      	"Gimp" parameter, cleanup.
      
      	* app/gui/image-menu.c (image_menu_setup)
      	* app/gui/toolbox-menu.c (toolbox_menu_setup): changed accordingly.
      da272486
  20. 25 Aug, 2003 1 commit
  21. 24 Aug, 2003 1 commit
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-filter-dialog.c · 61122751
      Michael Natterer authored
      2003-08-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpnavigationview.c
      	* app/gui/dialogs-menu.c
      	* app/gui/documents-menu.c
      	* app/gui/error-console-menu.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradient-editor-menu.c
      	* app/gui/image-menu.c
      	* app/gui/select-commands.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox-menu.c
      	* app/gui/vectors-menu.c
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpdocumentview.c
      	* app/widgets/gimpeditor.[ch]
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimpundoeditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimphelp-ids.h: added and updated more help IDs.
      61122751
  22. 22 Aug, 2003 1 commit
    • Michael Natterer's avatar
      app/display/gimpdisplayshell.c app/gui/brush-select.c · fc20b3ac
      Michael Natterer authored
      2003-08-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell.c
      	* app/gui/brush-select.c
      	* app/gui/channels-menu.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/image-menu.c
      	* app/gui/layers-menu.c
      	* app/gui/menus.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/palettes-commands.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/qmask-menu.c
      	* app/gui/templates-commands.c
      	* app/gui/toolbox-menu.c
      	* app/gui/vectors-menu.c
      	* app/tools/[all tools].c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimphelp-ids.h: added, fixed and updated lots of
      	help IDs. Still unfinished.
      fc20b3ac
  23. 21 Aug, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am new file defining the available help topics. Work · a319c455
      Michael Natterer authored
      2003-08-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimphelp-ids.h: new file defining the available help
      	topics. Work in progress and totally unusable for matching to the
      	help system. Stay tuned...
      
      	* app/gui/about-dialog.c
      	* app/gui/brushes-menu.c
      	* app/gui/buffers-menu.c
      	* app/gui/channels-commands.[ch]
      	* app/gui/channels-menu.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradients-commands.c
      	* app/gui/gradients-menu.c
      	* app/gui/image-menu.c
      	* app/gui/layers-commands.[ch]
      	* app/gui/layers-menu.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palettes-menu.c
      	* app/gui/patterns-menu.c
      	* app/gui/resize-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/templates-menu.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox-menu.c
      	* app/gui/vectors-commands.[ch]
      	* app/gui/vectors-menu.c: replaced literal HTML file paths by help
      	IDs from gimphelp-ids.h. Renamed some menu callbacks to be
      	consistent with similar ones. This is just an intermediate commit
      	and not finished.
      
      	While browsing all the menus, I noticed that our "x to selection"
      	functions are not consistent at all. They should all offer the
      	REPLACE,ADD,SUBTRACT,INTERSECT options:
      
      	* app/core/gimpchannel.[ch]: added new function
      	gimp_channel_new_from_alpha(). Removed gimp_channel_layer_alpha()
      	and gimp_channel_layer_mask().
      
      	* app/core/gimpimage-mask.[ch]: added
      	gimp_image_mask_select_alpha() and
      	gimp_image_mask_select_component() which offer the full set of
      	operation, feather and feather_radius parameters as the other
      	selection functions.
      
      	* app/core/gimpimage-mask-select.[ch]: removed
      	gimp_image_mask_layer_alpha() and gimp_image_mask_layer_mask().
      
      	* app/gui/channels-commands.c (channels_channel_to_selection): use
      	gimp_image_mask_select_component() instead of implementing it
      	here.
      
      	* app/gui/image-menu.c
      	* app/gui/layers-commands.[ch]: offer the full choice of
      	REPLACE,ADD,SUBTRACT,INTERSECT with "Alpha to Selection" and "Mask
      	to Selection".
      
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/selection_cmds.c: regenerated.
      a319c455
  24. 19 Aug, 2003 1 commit
  25. 01 Aug, 2003 1 commit
    • Henrik Brix Andersen's avatar
      plug-ins/rcm/rcm.c plug-ins/print/print.c plug-ins/pagecurl/pagecurl.c · 2002b583
      Henrik Brix Andersen authored
      2003-08-01 Henrik Brix Andersen <brix@gimp.org>
      
      * plug-ins/rcm/rcm.c
      * plug-ins/print/print.c
      * plug-ins/pagecurl/pagecurl.c
      * plug-ins/mosaic/mosaic.c
      * plug-ins/MapObject/mapobject_main.c
      * plug-ins/Lighting/lighting_main.c
      * plug-ins/imagemap/imap_main.c
      * plug-ins/gimpressionist/gimp.c
      * plug-ins/gflare/gflare.c
      * plug-ins/common/mapcolor.c
      * app/gui/toolbox-menu.c: added more mnemonics to fix bug
      #106991. More will follow soon...
      2002b583
  26. 08 Jul, 2003 1 commit
    • Michael Natterer's avatar
      Added configurable styles for dockable tabs (fixes bug #87376): · 6fabca2e
      Michael Natterer authored
      2003-07-08  Michael Natterer  <mitch@gimp.org>
      
      	Added configurable styles for dockable tabs (fixes bug #87376):
      
      	* app/widgets/widgets-enums.[ch]: added new enum GimpTabStyle
      	which can be one on { ICON, NAME, ICON_NAME, ICON_BLURB }.
      
      	* app/widgets/gimpdockable.[ch]: added a GimpTabStyle member to
      	the GimpDockable struct which defaults to GIMP_TAB_STYLE_ICON.
      	Renamed "short_name" to "name" and "name" to "blurb". Renamed
      	GimpDockableGetTabFunc to GimpDockableGetIconFunc. Implemented all
      	tab styles in gimp_dockable_real_get_tab_widget() and use the
      	"get_icon_func" only for creating the tab's icon, not the entire
      	tab widget.
      
      	* app/widgets/gimpdockbook.[ch]: changed accordingly. Create the
      	menu widgets and the DND icon using gimp_dockable_get_tab_widget()
      	with tab_style == GIMP_TAB_STYLE_ICON_BLURB instead of duplicating
      	tons of code. Made gimp_dockbook_get_tab_widget() public because
      	it's needed for exchanging tabs on-the-fly.
      
      	* app/widgets/gimpimagedock.c: changed accordingly.
      
      	* app/widgets/gimpdialogfactory.c: remember the dockables' tab
      	style in sessionrc.
      
      	* app/gui/dialogs-menu.c: added a submenu to select the tab style
      	for each dockable.
      
      	* app/gui/dialogs-commands.[ch]: new callback
      	dialogs_tab_style_cmd_callback().
      
      	* app/gui/dialogs-constructors.[ch]: added stock_ids to all
      	dockables, swapped the "name" and "blurb" parameters, reordered
      	functions, cleanup.
      
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: use GIMP_STOCK_DEFAULT_COLORS for the
      	color editor dockable and renamed it to "FG/BG Color".
      6fabca2e
  27. 07 Jul, 2003 1 commit
    • Michael Natterer's avatar
      app/gui/Makefile.am removed... · 878ee7b0
      Michael Natterer authored
      2003-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/Makefile.am
      	* app/gui/device-status-dialog.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpdevicestatus.[ch]: ...added here as widget. The
      	thing is narrower now but not nicer and needs some polishing.
      
      	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_color_area_new()
      	and gimp_prop_stock_image_new() (the latter is still unused).
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: made the device status a dockable.
      
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: changed accordingly.
      
      	* app/gui/gui.c: update the device status dialog indirectly now
      	using the new gui_device_change_notify() callback.
      878ee7b0
  28. 02 Jul, 2003 1 commit
    • Michael Natterer's avatar
      added GimpMenuPositionFunc typedef. · 69539fc5
      Michael Natterer authored
      2003-07-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h: added GimpMenuPositionFunc typedef.
      
      	* app/widgets/gimpwidgets-utils.[ch]: made gimp_menu_position()
      	a GimpMenuPositionFunc.
      
      	* app/widgets/gimpitemfactory.[ch]
      	(gimp_item_factory_popup_with_data): added position_func and
      	position_data parameters. Use gimp_menu_position() if no
      	position_func is given.
      
      	* app/display/gimpdisplayshell-callbacks.c: removed
      	gimp_display_shell_origin_menu_popup() and call
      	gimp_item_factory_popup_with_data() directly from
      	gimp_display_shell_popup_menu(), using
      	gimp_display_shell_origin_menu_position() as position_func.
      
      	* app/widgets/gimpeditor.[ch]: added a GtkWidget::popup_menu()
      	implementation so all context menus are keyboard accessible.
      	Added "gpointer factory_data" member so the menu can be popped up
      	in the right context.
      
      	* app/gui/channels-menu.c
      	* app/gui/layers-menu.c
      	* app/gui/vectors-menu.c: make them work without an active image
      	since they can be popped up at any time now.
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: cleanup.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimppaletteeditor.c: pass NULL, NULL as
      	position_func and position_data so the default implementation is
      	used.
      69539fc5
  29. 01 Jul, 2003 1 commit
  30. 30 Jun, 2003 1 commit
  31. 06 Jun, 2003 2 commits
    • Michael Natterer's avatar
      app/gui/image-menu.c moved the convenience items which create new docks · ef30cf31
      Michael Natterer authored
      2003-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: moved the convenience items which
      	create new docks from the "Dialogs/" level to a new
      	"Dialogs/Create New Dock/" sub-menu.  Fixes bug #111278.
      
      	* app/gui/dialogs-commands.[ch] (dialogs_create_data_cmd_callback):
      	new convenience constructor callback. Factored out duplicated
      	code to the new dialogs_create_dock() utility function.
      ef30cf31
    • Michael Natterer's avatar
      use gtk_label_set_text_with_mnemonic() instead of just · 2c958770
      Michael Natterer authored
      2003-06-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemfactory.c (gimp_item_factory_set_label):
      	use gtk_label_set_text_with_mnemonic() instead of just
      	gtk_label_set_text().
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: added mnemonics for all sub-menus.
      	Fixes bug #106991.
      
      	* app/gui/image-menu.c: cleaned up the "Layers" menu: moved
      	sub-menus together. Changed the "Stack" menu's labels and
      	accelerators and added "Select Top/Bottom Layer" for consistency
      	(bound to Home/End).
      
      	* app/gui/layers-commands.[ch]: changed accordingly. Added the
      	new select top/bottom callbacks.
      2c958770
  32. 05 Apr, 2003 1 commit
    • Michael Natterer's avatar
      reset object properties only if they are GIMP_PARAM_SERIALIZABLE. · e7fbd810
      Michael Natterer authored
      2003-04-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
      	reset object properties only if they are GIMP_PARAM_SERIALIZABLE.
      
      	* app/core/gimpcontext.[ch]: added a GimpTemplate property.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added a template dialog.
      
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: and menu entries to open it.
      
      	* app/widgets/gimpdnd.[ch]: added DND for GimpTemplates.
      e7fbd810
  33. 04 Apr, 2003 1 commit
    • Michael Natterer's avatar
      use "", not NULL for "no accelerator", since NULL will show the · 0d61c288
      Michael Natterer authored
      2003-04-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/documents-menu.c: use "", not NULL for "no accelerator",
      	since NULL will show the stock_item's accelerator.
      
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: added a "Document History..." menu item
      	at the bottom of the "Open Recent" submenus.
      
      	* app/gui/menus.c (menus_last_opened_add): reorder the dynamically
      	created entries to the top of the menu. Cleanup.
      0d61c288
  34. 01 Apr, 2003 1 commit
  35. 26 Mar, 2003 1 commit
  36. 25 Mar, 2003 2 commits
    • Michael Natterer's avatar
      added gimp_font_list_restore() which loads the fonts (not yet). · c2a22d5d
      Michael Natterer authored
      2003-03-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/text/gimpfontlist.[ch]: added gimp_font_list_restore()
      	which loads the fonts (not yet).
      
      	* app/core/gimp.c: call it.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs-menu.c
      	* app/gui/dialogs.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: added font list and grid views.
      
      	* app/gui/menus.c: cosmetic.
      c2a22d5d
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  37. 05 Mar, 2003 1 commit
    • Michael Natterer's avatar
      themes/Default/images/stock-channels-16.png · 614ff006
      Michael Natterer authored
      2003-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/stock-channels-16.png
      	* themes/Default/images/stock-device-status-16.png
      	* themes/Default/images/stock-images-16.png
      	* themes/Default/images/stock-layers-16.png
      	* themes/Default/images/stock-paths-16.png: new icons from Jimmac.
      
      	* themes/Default/imagerc
      	* themes/Default/images/Makefile.am
      	* libgimpwidgets/gimpstock.[ch]: add them to the stock system.
      
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: use them.
      614ff006