1. 11 Jul, 2018 1 commit
  2. 16 Oct, 2017 1 commit
    • Ell's avatar
      app: allow specifying a callback function for propgui pickers · c5b88702
      Ell authored
      Allow propgui constructors to specify an (optional) callback function
      when creating pickers, to be called when a color/coordinate is picked,
      similarly to controller callbacks.
      
      Implement picker callback support in GimpFilterTool.  When the active
      picker has an associated callback function, call it instead of the
      class's color_picked() function.
      
      Add lots of "#include <gegl.h>" to .c files that miss it, which is
      now necessary, since this commit adds a Babl* parameter in
      propgui-types.h.
      c5b88702
  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. 26 Nov, 2005 1 commit
  6. 17 Nov, 2005 1 commit
    • Michael Natterer's avatar
      connect to GdkDisplayManager and automatically add/remove move-to-screen · 8b6b8f41
      Michael Natterer authored
      2005-11-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/window-actions.[ch]: connect to GdkDisplayManager
      	and automatically add/remove move-to-screen actions when
      	displays are opened/closed.
      
      	* app/menus/window-menu.c: added similar code here to add/remove
      	menu items for the above actions.
      
      	* app/actions/Makefile.am
      	* app/actions/window-commands.[ch]: new files containing window
      	close and move-to-screen callbacks. There is no need to implement
      	these twice for GimpDock and GimpDisplay.
      
      	* app/actions/dock-commands.[ch]
      	* app/actions/view-commands.[ch]: remove the callbacks here.
      
      	* app/actions/dock-actions.c
      	* app/actions/view-actions.c: changed accordingly.
      8b6b8f41
  7. 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
  8. 14 May, 2004 1 commit
    • Sven Neumann's avatar
      added new PDB function gimp_register_file_handler_mime() that allows to · 97fe81b4
      Sven Neumann authored
      2004-05-14  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/fileops.pdb: added new PDB function
      	gimp_register_file_handler_mime() that allows to associate a MIME
      	type with a file procecdurre.
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpfileops_pdb.[ch]: regenerated.
      
      	* app/plug-in/plug-in-proc.[ch]
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins.[ch]: store a mimetype with file procedures.
      
      	* app/actions/file-commands.c
      	* app/core/gimpdocumentlist.[ch]
      	* app/core/gimpimagefile.[ch]
      	* app/file/file-open.[ch]
      	* app/file/file-save.c: set the thumbnail's mimetype from the file
      	procedure used to load/save the image.
      
      	* app/xcf/xcf.c
      	* plug-ins/bmp/bmp.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/dicom.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gifload.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/png.c
      	* plug-ins/common/postscript.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/svg.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/common/xwd.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/winicon/main.c: register a mimetype, set a translatable
      	action name (taken from shared-mime-info) and register to the <Load>
      	and <Save> menus using gimp_plugin_menu_register().
      97fe81b4
  9. 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
  10. 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
  11. 29 Apr, 2004 2 commits
    • Michael Natterer's avatar
      app/actions/Makefile.am app/actions/file-open-actions.[ch] actions for the · 0e1af3ee
      Michael Natterer authored
      2004-04-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/Makefile.am
      	* app/actions/file-open-actions.[ch]
      	* app/actions/file-save-actions.[ch]: actions for the <Load> and
      	<Save> menus...
      
      	* menus/Makefile.am
      	* menus/file-open-menu.xml
      	* menus/file-save-menu.xml: ...and the menus.
      
      	* app/gui/file-open-menu.[ch]
      	* app/gui/file-save-menu.[ch]: ported to UI Manager.
      
      	* app/widgets/gimpfiledialog.[ch]: ditto.
      
      	* app/actions/actions.c
      	* app/gui/menus.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: changed accordingly.
      
      	* app/widgets/gimpuimanager.c: removed debugging code which
      	automatically loaded all registered menus. They are now loaded on
      0e1af3ee
    • 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
  12. 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
  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. 20 Jan, 2004 1 commit
    • Michael Natterer's avatar
      app/gui/file-open-menu.c app/gui/file-save-menu.c app/gui/image-menu.c · cf136155
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/image-menu.c
      	* app/gui/menus.c
      	* app/gui/plug-in-menus.c: when dynamically creating menu entries,
      	pass static_entry == FALSE to gimp_item_factory_create_item() so a
      	*copy* of the the help_id is attached to the menu item.
      	Fixes help for plug-in menu entries.
      cf136155
  15. 08 Jan, 2004 1 commit
    • Manish Singh's avatar
      Add notes about menu path requirements for Load/Save handlers. · 79177141
      Manish Singh authored
      2004-01-08  Manish Singh  <yosh@gimp.org>
      
              * tools/pdbgen/fileops.pdb: Add notes about menu path requirements
              for Load/Save handlers.
      
              * plug-ins/common/png.c: Document the behavior here too.
      
              * app/gui/file-open-menu.c
              * app/gui/file-save-menu.c: Robustify against NULL menu_path.
      
              * app/pdb/fileops_cmds.c
              * libgimp/gimpfileops_pdb.c: Regenerated.
      79177141
  16. 08 Nov, 2003 1 commit
    • Michael Natterer's avatar
      remember the "create_tearoff" passed to gimp_item_factory_new() in the · c947f0b2
      Michael Natterer authored
      2003-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemfactory.[ch]: remember the "create_tearoff"
      	passed to gimp_item_factory_new() in the GimpItemFactory struct
      	and removed "create_tearoff" from the create_item functions
      	(it makes no sense to pass this per create_item).
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/image-menu.c
      	* app/gui/menus.c
      	* app/gui/plug-in-menus.c
      	* app/gui/tool-options-menu.c: changed accordingly.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): create
      	the menu bar without tearoff entries. It is very confusing to have
      	both the popup menu (which is global and works on the active
      	display) and the menu bar submenus (which are specific to this
      	display) be torn off at the same time.
      c947f0b2
  17. 28 Aug, 2003 1 commit
    • Michael Natterer's avatar
      Completed the new help infrastructure. Needs some polishing but basically · 1f2c75e5
      Michael Natterer authored
      2003-08-28  Michael Natterer  <mitch@gimp.org>
      
      	Completed the new help infrastructure. Needs some polishing but
      	basically works as proposed:
      
      	* tools/pdbgen/pdb/plug_in.pdb: changed gimp_plugin_help_register()
      	to take a "domain_name" (which is the XML namespace) and a
      	"domain_uri" (which is the root of the plug-in's help pages).
      
      	* tools/pdbgen/pdb/help.pdb: changed gimp_help() to take help_id
      	instead of a non-UTF-8 help_path.
      
      	* app/plug-in/plug-in-def.[ch]
      	* app/plug-in/plug-in-proc.[ch]
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins.[ch]: remember the plug-ins' help_domain
      	and help_uri instead of just help_path. Changed all plug-in APIs
      	to reflect this change.
      
      	* app/widgets/gimphelp.[ch]: on helpbrowser startup, pass it the
      	whole list of help domains. The actual help request is now made
      	using the browser's temporary procedure.
      
      	* app/core/gimp.h
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/plug-in-menus.[ch]
      	* app/widgets/gimpitemfactory.c: changed accordingly.
      
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimphelp_pdb.[ch]
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	Changed the help broser to load the pages according to the
      	new system:
      
      	- moved the browser window stuff to dialog.[ch]
      	- moved help domain handling to domain.[ch]
      	- added gimp-help.xml parsing to domain.c
      	- tons of cleanup
      
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/dialog.[ch]
      	* plug-ins/helpbrowser/domain.[ch]: new files.
      	* plug-ins/helpbrowser/helpbrowser.c: chopped.
      1f2c75e5
  18. 26 Aug, 2003 1 commit
    • Michael Natterer's avatar
      Bye bye, "crappy/foo.html": · 86662cd6
      Michael Natterer authored
      2003-08-26  Michael Natterer  <mitch@gimp.org>
      
      	Bye bye, "crappy/foo.html":
      
      	* app/widgets/gimphelp-ids.h: replaced "crappy/foo.html" by
      	"gimp-proper-identifier".
      
      	* app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_help_id):
      	added "const gchar *help_path" parameter and return a help ID
      	ready for attaching to a menu item.
      
      	The help ID is no longer constructed from the plug-in's executable
      	name but from the *procedure* name with '_' replaced by '-'. This
      	means we can now have help for each script-fu script and for each
      	of a plug-in's individual procedures.
      
      	* app/gui/plug-in-menus.c: removed even more duplicated wrong code
      	since plug_in_proc_def_get_help_id() is implemented correctly now.
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c: ditto. Reorder the "XCF" menu item
      	before the separator and added GIMP_STOCK_WILBER.
      
      	* app/gui/file-dialog-utils.c: added a mnemonic to the
      	"Determine File Type:" label.
      86662cd6
  19. 25 Aug, 2003 1 commit
    • Michael Natterer's avatar
      removed the "locale_domain" and "help_path" parameters since the function · dec69db1
      Michael Natterer authored
      2003-08-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-ins.[ch] (plug_ins_temp_proc_def_add): removed
      	the "locale_domain" and "help_path" parameters since the function
      	can figure them by itself.
      
      	* app/plug-in/plug-in-message.c (plug_in_handle_proc_install):
      	changed accordingly.
      
      	* app/plug-in/plug-in-proc.[ch] (plug_in_proc_def_get_help_id):
      	new function which will soon be implemented correctly :-)
      
      	* app/gui/file-open-menu.c (file_open_menu_setup)
      	* app/gui/file-save-menu.c (file_save_menu_setup)
      	* app/gui/plug-in-menus.c (plug_in_menus_create_entry): use it
      	here instead of duplicating broken code.
      dec69db1
  20. 23 Aug, 2003 1 commit
    • Michael Natterer's avatar
      changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const · ba70ce9a
      Michael Natterer authored
      2003-08-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgetstypes.h: changed GimpHelpFunc typedef:
      	- renamed "const gchar *help_data" to "const gchar *help_id".
      	- added "gpointer help_data".
      
      	* libgimpwidgets/gimphelpui.[ch]: added "gpointer help_data" to
      	gimp_help_connect(). Removed all fiddling with html links and
      	treat all help IDs as opaque identifiers.
      
      	* app/core/gimptoolinfo.[ch]: changed "help_data" member to
      	"help_id".
      
      	* app/widgets/gimpitemfactory.[ch]: removed the "help_path"
      	parameter from gimp_item_factory_new() since we don't fiddle with
      	html file paths any more. Simplifies menu item help a lot.
      	Renamed "help_data" member of struct GimpItemFactoryEntry to
      	"help_id".
      
      	* app/gui/plug-in-menus.c: changed accordingly. 3rd party
      	plug-ins' menu item help IDs are now encoded as
      	"help_path:help_id".
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c: when constructing the <Load> and
      	<Save> menus, take the resp. procedures' locale_domain and
      	help_path into account. Fixes translation of 3rd party menu items.
      	Also do the right thing for load/save procs which are implemented
      	as temporary procedures (they are impossible to implement
      	currently but it's nice to do the right thing anyway...).
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_MAIN identifier.
      
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimp/gimpui.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/gui.c
      	* app/gui/about-dialog.c
      	* app/gui/color-notebook.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/image-menu.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimphelp.[ch]
      	* app/widgets/gimpmenufactory.[ch]
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.[ch]
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/gee.c
      	* plug-ins/common/gee_zoom.c
      	* plug-ins/common/gqbist.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/imagemap/imap_main.c: changed accordingly. Removed
      	trailing whitespace all over the place.
      ba70ce9a
  21. 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
  22. 25 Mar, 2003 1 commit
    • 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
  23. 17 Jan, 2003 1 commit
    • Michael Natterer's avatar
      One more Plug-In cleanup, it's still a mess... · a31c0f7d
      Michael Natterer authored
      2003-01-17  Michael Natterer  <mitch@gimp.org>
      
      	One more Plug-In cleanup, it's still a mess...
      
      	* app/plug-in/plug-in-def.[ch]: renamed "gboolean query" field
      	to "needs_query". Added setters for all values. Added
      	g_return_if_fail() stuff to all functions.
      
      	* app/plug-in/plug-in-proc.[ch]: added plug_in_proc_def_new().
      	Removed the "gboolean data_only" parameter from
      	plug_in_proc_def_destroy() and renamed it to
      	plug_in_proc_def_free().  Added plug_in_proc_def_get_progname()
      	which handles GIMP_TEMPORARY procedures correctly.
      
      	* app/plug-in/plug-in-rc.c: use the new stuff above.
      
      	* app/plug-in/plug-in.[ch]: renamed field "user_data" to
      	"plug_in_def" and added a comment that it is valid only during
      	query() and init().  Use the new APIs above. Pass meaningful
      	locale_domains and help_paths when adding temporary procedures
      	(fixes Scrip-Fu menu translation the right way (TM)). Cleanup.
      
      	* app/plug-in/plug-ins.[ch]: renamed plug_ins_def_add() to
      	plug_ins_def_add_from_rc(). Renamed plug_ins_proc_def_[add|remove]()
      	to plug_ins_temp_proc_def_[add|remove](). Added "Gimp" parameters
      	to plug_ins_help_path() and plug_ins_locale_domain(). Removed
      	unused pre-1.2 cruft "gimprc_prof_defs" and plug_ins_image_types().
      	Reverse gimp->load_procs and gimp->save_procs after all procedures
      	are registered. Removed Script-Fu translation hack. Reordered stuff.
      
      	* app/gui/plug-in-menus.[ch]: changed accordingly. Named all
      	public functions plug_in_menus_*(). Fixed Script-Fu menu translation
      	by using plug_in_proc_def_get_progname(). Cleanup.
      
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c: don't g_slist_reverse() gimp->load_procs
      	and gimp->save_procs here.
      
      	* app/gui/toolbox-menu.c
      	* app/gui/image-menu.c
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly.
      
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      
      	Unrelated:
      
      	* app/gui/image-menu.c
      	* app/widgets/gimpitemfactory.c: s/"tearoff1"/"tearoff"/g. I don't
      	get why the "1" was there. Minor cleanup.
      a31c0f7d
  24. 13 Jan, 2003 1 commit
    • Michael Natterer's avatar
      app/gui/brushes-menu.[ch] app/gui/buffers-menu.[ch] · 6f29b766
      Michael Natterer authored
      2003-01-13  Michael Natterer  <mitch@gimp.org>
      
      	* 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/file-open-menu.[ch]
      	* app/gui/file-save-menu.[ch]
      	* app/gui/gradient-editor-menu.[ch]
      	* app/gui/gradients-menu.[ch]
      	* app/gui/image-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/toolbox-menu.[ch]
      	* app/gui/vectors-menu.[ch]: new files, one per GimpItemFactory,
      	containing the menu entries and their setup and update funcs.
      
      	* app/gui/brushes-commands.[ch]
      	* app/gui/patterns-commands.[ch]: removed because they contained
      	only update funcs.
      
      	* app/gui/Makefile.am: changed accordingly. Split the huge
      	SOURCES list in smaller ones for menus and dialogs.
      
      	* app/gui/menus.[ch]: removed the menu entries and setup funcs.
      	Added MENU_SEPARATOR() and MENU_BRANCH() macros to the header.
      	Made some utility functions public.
      
      	* app/display/gimpdisplayshell.[ch]
      	* app/gui/buffers-commands.[ch]
      	* app/gui/channels-commands.[ch]
      	* app/gui/colormap-editor-commands.[ch]
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/documents-commands.[ch]
      	* app/gui/gradient-editor-commands.[ch]
      	* app/gui/gradients-commands.[ch]
      	* app/gui/images-commands.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/palette-editor-commands.[ch]
      	* app/gui/palettes-commands.[ch]
      	* app/gui/qmask-commands.[ch]
      	* app/gui/vectors-commands.[ch]: removed the update funcs.
      
      	* app/gui/plug-in-menus.[ch]: renamed plug_in_set_menu_sensitivity()
      	to plug_in_menus_update(). Cleanup.
      
      	* app/gui/paths-dialog.[ch]: added the <Paths> entries here
      	so they will go away together with these files.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/drawable-commands.c: removed useless #includes.
      6f29b766