1. 07 Feb, 2006 1 commit
  2. 13 Dec, 2005 1 commit
  3. 24 Sep, 2005 1 commit
  4. 16 Sep, 2005 1 commit
  5. 13 Sep, 2005 1 commit
    • Michael Natterer's avatar
      removed "<>" around modifiers. · a14a3177
      Michael Natterer authored
      2005-09-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.c (gimp_get_mod_name_*): removed
      	"<>" around modifiers.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpthumbbox.c: added "()" around the whole modifier
      	string where appropriate.
      
      	* app/widgets/gimptoolbox.c (gimp_toolbox_button_accel_changed):
      	use gimp_get_mod_string() instead of homebrewn variant of the same
      	code.
      
      	* app/widgets/gimpcontrollerkeyboard.c: replaced tons of static
      	translatable strings containing modifiers by generated ones using
      	gimp_get_mod_string() (traded for some more memory consumption).
      a14a3177
  6. 03 Aug, 2005 1 commit
    • Michael Natterer's avatar
      app/dialogs/module-dialog.c app/dialogs/palette-import-dialog.c · 32d875d0
      Michael Natterer authored
      2005-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/module-dialog.c
      	* app/dialogs/palette-import-dialog.c
      	* app/gui/gui.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcursorview.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpenumaction.c
      	* app/widgets/gimperrordialog.c
      	* app/widgets/gimpfileprocview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpmenudock.c
      	* app/widgets/gimpmessagebox.c
      	* app/widgets/gimpmessagedialog.c
      	* app/widgets/gimppluginaction.c
      	* app/widgets/gimpprogressdialog.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/widgets/gimpstringaction.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox.c: use canonical names for signals and
      	properties.
      32d875d0
  7. 27 May, 2005 1 commit
  8. 10 Feb, 2005 1 commit
    • Sven Neumann's avatar
      app/actions/data-commands.c app/actions/edit-commands.c · 3fef8514
      Sven Neumann authored
      2005-02-10  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/data-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/error-console-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/plug-in-commands.c
      	* app/actions/templates-commands.c
      	* app/actions/text-editor-commands.c
      	* app/actions/tool-options-commands.c
      	* app/dialogs/image-new-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/display/gimpdisplayshell-close.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimptexttool.c
      	* libgimp/gimpexport.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileentry.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c: applied another patch by Patrice
      	Tremblay to make more dialogs obey the alternative button order
      	setting (bug #166678).
      3fef8514
  9. 07 Feb, 2005 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-file.c app/file/file-utils.c app/gui/themes.c · 47c35a6e
      Sven Neumann authored
      2005-02-07  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-file.c
      	* app/file/file-utils.c
      	* app/gui/themes.c
      	* app/tools/gimpimagemaptool.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/procedural_db.pdb: use gstdio wrappers.
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      47c35a6e
  10. 04 Feb, 2005 1 commit
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · a395b02f
      William Skaggs authored
      	* libgimpwidgets/gimppropwidgets.[ch]: magic-copied from app/widgets
      	and un-movable things then removed.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgets.h: corresponding changes
      
      	* app/widgets/gimppropwidgets.[ch]: remove functions that were
      	moved.
      
      	* app/dialogs/stroke-dialog.c
      	* app/dialogs/tips-dialog.c
      	* app/dialogs/user-install-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendoptions.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpcolorpickeroptions.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcropoptions.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpflipoptions.c
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpinkoptions-gui.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpmeasureoptions.c
      	* app/tools/gimpmoveoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformoptions.c
      	* app/tools/gimpvectoroptions.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpgrideditor.c
      	* app/widgets/gimphistogrambox.c
      	* app/widgets/gimphistogrameditor.c
      	* app/widgets/gimpsizebox.c
      	* app/widgets/gimpstrokeeditor.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptooloptionseditor.c: fix includes.
      a395b02f
  11. 17 Dec, 2004 1 commit
  12. 11 Nov, 2004 1 commit
  13. 22 Oct, 2004 1 commit
  14. 01 Oct, 2004 1 commit
    • Michael Natterer's avatar
      dispatch GDK_Escape to GimpTool::key_press(). · dbd941c9
      Michael Natterer authored
      2004-10-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_tool_events): dispatch GDK_Escape to
      	GimpTool::key_press().
      
      	* app/tools/gimpcroptool.c (gimp_crop_tool_key_press)
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_key_press):
      	* app/tools/gimptransformtool.c (gimp_transform_tool_key_press):
      	cancel the tool on <Escape>.
      dbd941c9
  15. 28 Sep, 2004 1 commit
  16. 27 Sep, 2004 1 commit
  17. 24 Sep, 2004 1 commit
  18. 29 Jul, 2004 1 commit
    • Michael Natterer's avatar
      Replaced the concept of having a boolean indicating if an undo step · 4b582b48
      Michael Natterer authored
      2004-07-29  Michael Natterer  <mitch@gimp.org>
      
      	Replaced the concept of having a boolean indicating if an undo
      	step dirties the image by a bitfield indicating which parts
      	of the image are dirtied:
      
      	* app/core/core-enums.[ch]: reordered two values in enum
      	GimpUndoType, added GIMP_DIRTY_IMAGE_SIZE to enum GimpDirtyMask.
      
      	The values of GimpDirtyMask are still questionable and will
      	probably change...
      
      	* app/core/gimpimage.[ch]: removed signal "undo_start" and added
      	a GimpDirtyMask parameter to the "dirty" and "clean" signals.
      
      	* app/core/gimpimage-undo.[ch] (gimp_image_undo_push): replaced
      	"gboolean dirties_image" by "GimpDirtyMask dirty_mask" and pass
      	it to gimp_image_dirty().
      
      	(gimp_image_undo_group_start): added *ugly* code which tries to
      	figure GimpDirtyMask from the group's GimpUndoType and store it in
      	the GimpUndoGroup. Call gimp_image_dirty() instead of the removed
      	gimp_image_undo_start(). This means the undo group now dirties the
      	image just like one of its undo steps, but that's no problem since
      	undoing cleans it in the same way.
      
      	* app/core/gimpundo.[ch]: s/dirties_image/dirty_mask/g
      
      	(gimp_undo_pop): emit clean/dirty signals *before* performing the
      	actual undo step so listeners can detach from the image before it
      	is changed by undo.
      
      	* app/core/gimpimage-undo-push.c (gimp_image_undo_push_*): pass a
      	GimpDirtyMask instead of TRUE/FALSE to gimp_image_undo_push().
      
      	* app/core/gimpimagemap.[ch]: removed "gboolean interactive"
      	because it makes no sense to use GimpImageMap noninteractively.
      	Don't freeze()/thaw() undo while the image_map is active which
      	fixes many ways of trashing the image's undo state but probably
      	introduces new ways of doing evil things.
      
      	* app/display/gimpdisplay-foreach.c
      	* app/display/gimpdisplayshell-handlers.c: changed according
      	to the GimpImage::clean()/dirty() signal changes. Small fixes
      	in the quit dialog's dirty image container.
      
      	* app/tools/gimptoolcontrol.[ch]: added member and API to
      	set/get the dirty_mask.
      
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c: whenever setting "preserve" to
      	FALSE, also set a "dirty_mask" which specifies on which image
      	changes the tool wants to be canceled.
      
      	* app/tools/tool_manager.c: removed "undo_start" connection and
      	connect to both "dirty" *and* "clean" to check if the active_tool
      	needs to be canceled. Cancel the tool only if the dirty_mask
      	passed in the signal has common bits with the tool's dirty_mask.
      
      	Fixes bug #109561 and probably opens some new ones...
      4b582b48
  19. 13 Jul, 2004 2 commits
    • Michael Natterer's avatar
      app/core/Makefile.am app/core/core-types.h new interface which has · 54cc251b
      Michael Natterer authored
      2004-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimppickable.[ch]: new interface which has
      	get_image_type(), get_tiles() and get_color_at() methods.
      
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimagemap.[ch]
      	* app/core/gimpprojection.[ch]: implement GimpPickableInterface
      	and removed public get_colot_at() functions.
      
      	* app/core/gimpimage-pick-color.[ch]: removed typedef
      	GimpImagePickColorFunc and gimp_image_pick_color_by_func(). Use
      	gimp_pickable_pick_color() instead.
      
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-crop.c
      	* app/gui/info-window.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpsmudge.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpimagemaptool.c
      	* app/widgets/gimpselectioneditor.c: use GimpPickable functions
      	instead of the various get_color_at() functions. Simplifies code
      	which has a "sample_merged" boolean. Various cleanups.
      54cc251b
    • Michael Natterer's avatar
      *** empty log message *** · c5ec0d4f
      Michael Natterer authored
      c5ec0d4f
  20. 05 May, 2004 1 commit
    • Sven Neumann's avatar
      added construct properties to make it possible to derive from · 58bcea08
      Sven Neumann authored
      2004-05-05  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewabledialog.c: added construct properties to
      	make it possible to derive from GimpViewableDialog.
      
      	* app/widgets/gimptooldialog.[ch]: make GimpToolDialog a real
      	object, not just a convenience constructor.
      
      	* themes/Default/gtkrc
      	* themes/Small/gtkrc: set a smaller border_width of 6 pixels for
      	the action area of tool dialogs.
      
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpimagemaptool.c: set a smaller border_width of 6
      	pixels on tool dialogs to make them more compact.
      58bcea08
  21. 04 May, 2004 1 commit
    • Sven Neumann's avatar
      app/gui/info-dialog.c app/tools/gimpcolorbalancetool.c · 97dd0a8e
      Sven Neumann authored
      2004-05-05  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/info-dialog.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c: use GimpFrame widgets, changed spacings.
      
      	* app/widgets/gimptexteditor.c: tweaked.
      97dd0a8e
  22. 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
  23. 15 Apr, 2004 1 commit
    • Michael Natterer's avatar
      derive it from GtkFileChooser instead of GtkFileSelection. · 2f2301c9
      Michael Natterer authored
      2004-04-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.[ch]: derive it from GtkFileChooser
      	instead of GtkFileSelection.
      
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/widgets/gimpthumbbox.c: changed accordingly.
      
      	* app/gui/gradients-commands.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpimagemaptool.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimptexteditor.c
      	* libgimpwidgets/gimpfileentry.c: use file choosers instead of
      	file selectors.
      2f2301c9
  24. 14 Mar, 2004 1 commit
    • Sven Neumann's avatar
      app/tools/gimpcolorpickertool.c app/tools/gimpcroptool.c · 63bb032f
      Sven Neumann authored
      2004-03-14  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c: don't set tool dialogs transient
      	to the image window. Fixes bug #128833.
      63bb032f
  25. 11 Mar, 2004 1 commit
  26. 25 Feb, 2004 3 commits
    • Michael Natterer's avatar
      cleanup. · 4ae2c548
      Michael Natterer authored
      2004-02-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.c: cleanup.
      
      	* app/tools/gimplevelstool.c (gimp_levels_tool_dialog): added 2px
      	spacing between the pick buttons and their entries.
      4ae2c548
    • Michael Natterer's avatar
      moved "shell_desc" from GimpImageMapTool to GimpImageMapToolClass and · 0d3e3625
      Michael Natterer authored
      2004-02-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.[ch]: moved "shell_desc" from
      	GimpImageMapTool to GimpImageMapToolClass and added
      	"load_dialog_title" and "save_dialog_title". Create the
      	load/save buttons in gimp_image_map_tool_initialize() and
      	remember them in the GimpImageMapTool struct. Moved the
      	whole load/save button/dialog logic into private functions.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c: changed accordingly, removed
      	load/save callbacks, inlined the load/save functions into
      	GimpImageMapTool's virtual function implementations.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: changed accordingly.
      0d3e3625
    • Sven Neumann's avatar
      app/tools/gimpcurvestool.[ch] app/tools/gimpimagemapoptions.[ch] · c1de6345
      Sven Neumann authored
      2004-02-25  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.[ch]
      	* app/tools/gimpimagemapoptions.[ch]
      	* app/tools/gimpimagemaptool.[ch]
      	* app/tools/gimplevelstool.[ch]: moved the settings file dialog
      	that was duplicated in the curves and levels tools to the
      	GimpImageMapTool class. Store the last used filename in the
      	GimpImageMapOptions (proper fix for bug #135059).
      c1de6345
  27. 22 Feb, 2004 1 commit
    • Sven Neumann's avatar
      Let all GimpImageMap tools remember the state of the preview toggle (bug · 5077aa4c
      Sven Neumann authored
      2004-02-22  Sven Neumann  <sven@gimp.org>
      
      	Let all GimpImageMap tools remember the state of the preview toggle
      	(bug #135059):
      
      	* app/tools/Makefile.am
      	* app/tools/gimpimagemapoptions.[ch]
      	* app/tools/tools-types.h: added new GimpToolOptions class to hold
      	the preview setting.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcoloroptions.[ch]
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.[ch]
      	* app/tools/gimpposterizetool.c
      	* app/tools/tools-types.h: use the new class.
      5077aa4c
  28. 21 Jan, 2004 1 commit
    • Michael Natterer's avatar
      added boolean return value to GimpTool::initialize(). Returning FALSE · 613e328f
      Michael Natterer authored
      2004-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]: added boolean return value to
      	GimpTool::initialize(). Returning FALSE means the tool could not
      	be initialized and doesn't want to receive button events.
      	Return TRUE from the default implementation.
      
      	* app/tools/tool_manager.[ch]: added boolean return value to
      	tool_manager_initialize_active(). Don't set the tool's display or
      	drawable if initialize() returns FALSE.
      
      	* app/display/gimpdisplayshell-callbacks.c: don't send button
      	events to the tool if initialize() returns FALSE.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c: return FALSE for NULL and indexed
      	drawables.
      
      	* app/tools/gimpimagemaptool.c: always return TRUE because our
      	subclasses already checked if the active drawable is OK.
      
      	* app/tools/gimptransformtool.c: return FALSE for layers with
      	masks. Fixes bug #132089. Some random cleanups.
      613e328f
  29. 11 Nov, 2003 1 commit
    • Michael Natterer's avatar
      update shell->popup_factory only if this is the active display or we will · 78bf44dd
      Michael Natterer authored
      2003-11-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-appearance.c: update
      	shell->popup_factory only if this is the active display or we will
      	change another display's options when creating a new display.
      	Fixes bug #126668.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/gui/view-commands.c
      	* app/tools/gimpimagemaptool.c: do the same here. Can't really
      	happen in these places but it's more correct to have the check
      	for the active display.
      
      	* app/display/gimpdisplay.c (gimp_display_flush_whenever): get the
      	active display from the user_context, not the current_context.
      
      	* app/gui/image-menu.c (image_menu_update): removed unused code.
      78bf44dd
  30. 10 Nov, 2003 2 commits
  31. 08 Nov, 2003 1 commit
    • Michael Natterer's avatar
      To be multihead safe, each new window or menu needs to be associated with · b62f8e9a
      Michael Natterer authored
      2003-11-08  Michael Natterer  <mitch@gimp.org>
      
      	To be multihead safe, each new window or menu needs to be
      	associated with a GdkScreen or it will pop up on the default
      	screen.
      
      	* libgimpwidgets/gimpquerybox.[ch]
      	* app/display/gimpdisplayshell-layer-select.[ch]
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpitemfactory.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimptemplateview.[ch]
      	* app/widgets/gimptooldialog.[ch]
      	* app/widgets/gimpviewabledialog.[ch]
      	* app/gui/channels-commands.[ch]
      	* app/gui/color-notebook.[ch]
      	* app/gui/convert-dialog.[ch]
      	* app/gui/edit-commands.[ch]
      	* app/gui/grid-dialog.[ch]
      	* app/gui/image-commands.[ch]
      	* app/gui/info-dialog.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/offset-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/stroke-dialog.[ch]
      	* app/gui/templates-commands.[ch]
      	* app/gui/vectors-commands.[ch]: added "GtkWidget *parent"
      	paramaters to all functions which create menus, popups or windows
      	and pass "parent" to gimp_dialog_new() or one of the various
      	wrappers around it. As a side effect, this fixes bug #61092.
      
      	* app/widgets/gimpdialogfactory.[ch]: added "GdkScreen *screen"
      	instead of "parent" here since there are no possible parent
      	windows on startup.
      
      	* app/display/gimpdisplayshell-callbacks.c
      	(gimp_display_shell_origin_button_press): added a quick hack to
      	send a display to another screen: click the origin button with the
      	middle mouse button.
      
      	* app/display/gimpdisplayshell.c
      	(gimp_display_shell_screen_changed): don't chain up
      	undonditionally (don't crash).
      
      	* libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): set the
      	dialog's screen from a non-GtkWidget parent widget. The rest of
      	non-window parent widget handling is still unimplemented.
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppreview-popup.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimptoolbox-color-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpnavigationview.c
      	* app/gui/module-browser.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/drawable-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      	* app/gui/info-window.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/qmask-commands.c
      	* app/gui/select-commands.c
      	* app/gui/tool-options-commands.c
      	* app/gui/view-commands.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: changed accordingly. Changed all
      	menu_position funcs to place the menu on the right screen.
      b62f8e9a
  32. 06 Nov, 2003 1 commit
    • Michael Natterer's avatar
      removed our own action_area API and use GtkDialog's one. Create all · 66c5dd87
      Michael Natterer authored
      2003-11-06  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdialog.[ch]: removed our own action_area API
      	and use GtkDialog's one. Create all dialogs without separator.
      	Changed almost everything else too. Fixes bug #125143.
      
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c: changed accordingly.
      
      	* libgimp/gimpexport.[ch]: ditto. Renamed enum GimpExportReturnType
      	to GimpExportReturn.
      
      	* libgimp/gimpcompat.h: added a #define for the old name.
      
      	* themes/Default/gtkrc: increased action_area border to 6 pixels.
      
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpprogress.c
      	* app/gui/brush-select.c
      	* app/gui/channels-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/font-select.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradient-select.c
      	* app/gui/grid-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/user-install-dialog.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptooldialog.[ch]
      	* app/widgets/gimpviewabledialog.[ch]
      	* app/widgets/gimpwidgets-utils.c: changed accordingly and increased
      	the dialogs' outer borders to 6 pixels all over the place.
      
      	* plug-ins/*/*.c: changed accordingly. The plug-ins may be
      	arbitrarily broken, I tested none of them.
      66c5dd87
  33. 20 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/widgets/Makefile.am added a simple utility function · 445d6bfc
      Sven Neumann authored
      2003-10-20  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimptooldialog.[ch]: added a simple utility function
      	gimp_tool_dialog_new() that creates a GimpVieawableDialog based on
      	GimpToolInfo and registers it with the toplevel dialog factory.
      
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpimagemaptool.[ch]
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c: use the new functionality; removed
      	the shell_identifier since it can be created from the tool name.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.[ch]: removed the shell_identifier
      	here as well. Should also be ported to gimp_tool_dialog_new().
      
      	* NEWS: removed stuff that isn't new at all.
      445d6bfc
  34. 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
  35. 05 Jun, 2003 1 commit
    • Sven Neumann's avatar
      use OPAQUE_OPACITY instead of 255. · b1c437b4
      Sven Neumann authored
      2003-06-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_get_color_at):
      	* app/core/gimpimage-projection.c (gimp_image_projection_get_color_at):
      	use OPAQUE_OPACITY instead of 255.
      
      	* app/core/gimpimage-pick-color.[ch]: factored out code that
      	averages over colors so it can be used from GimpImageTool.
      
      	* app/tools/gimpimagemaptool.[ch]: derived from GimpColorTool and
      	added a GimpColorTool::pick implementation.
      
      	* app/tools/gimpcoloroptions.c
      	* app/tools/gimpcolorpickeroptions.c: add the toggle for
      	"sample_merged" in gimp_color_picker_options_gui().
      
      	* app/tools/gimpcolortool.c (gimp_color_tool_cursor_update): check
      	if the cursor is over the active drawable or if "sample_merged" is
      	active.
      
      	* app/tools/gimplevelstool.c: simplified since all color-picking is
      	now handled by the parent classes. Fixes bug #112668.
      b1c437b4
  36. 28 May, 2003 1 commit
    • Michael Natterer's avatar
      app/display/gimpdisplayshell-callbacks.c app/tools/gimpcolorpickertool.c · bbc102f9
      Michael Natterer authored
      2003-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptextoptions.c
      	* app/tools/gimptransformtool.c
      	* app/tools/paint_options.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimptoolbox-color-area.c:
      	don't #include "gui/dialogs.h" to get the global factories but use
      	gimp_dialog_factory_from_name() instead.
      bbc102f9