1. 11 Jul, 2018 1 commit
  2. 20 Jun, 2018 1 commit
    • Michael Natterer's avatar
      Issue #1093 - Color dialog appears in the first monitor... · 1ae2b5d5
      Michael Natterer authored
      ...while other windows are on the second monitor if window positions
      are saved at exit
      
      Add some lines of code to color_area_color_clicked() which position
      the already existing color dialog exactly like a newly created dialog
      would be positioned by gimp_dialog_factory_add_dialog().
      
      This should be part of GimpDialogFactory but let's wait for another
      case before we generalize it.
      1ae2b5d5
  3. 16 Sep, 2014 1 commit
  4. 02 May, 2012 1 commit
  5. 28 Feb, 2010 2 commits
    • Martin Nordholts's avatar
      app: Introduce gimp_dialog_factory_get_singleton() · 11b1300b
      Martin Nordholts authored
      Instead of including dialogs/dialogs.h everywhere, introduce
      gimp_dialog_factory_get_singleton(). The dialog factory singleton is
      still initialized by dialogs.c though.
      
      Right now the assumption is that we never will have another dialog
      factory instance around. There were so many problems before when we
      had four of them, so let's just keep one of them around.
      11b1300b
    • Martin Nordholts's avatar
      app: Remove gimp_dialog_factory_from_name() · 947e2859
      Martin Nordholts authored
      We only have one dialog factory now, and
      gimp_dialog_factory_from_name() doesn't provide compile-time type
      safety, so use global_dialog_factory directly instead.
      947e2859
  6. 05 Dec, 2009 1 commit
    • Martin Nordholts's avatar
      Move the Image Selection Menu to GimpDockWindow · 1bf84999
      Martin Nordholts authored
      Move the Image Selection Menu from GimpMenuDock to
      GimpDockWindow. That is, if a dock window contains many docks then
      they will share the same Image Selection Menu.
      
      To do this we need to move around quite a bit of code. Move the
      "context", "dialog-factory" and "ui-manager" properties from GimpDock
      to GimpToolbox, GimpMenuDock doesn't need it any longer. Turn the
      GimpDock getters for these properties into wrappers that go to the
      GimpDockWindow properties. In some places, most notably GimpToolbox
      construction, we use the GimpToolbox values of these properties, but
      most of the time it works fine to just use the GimpDockWindow
      properties. GimpDock::setup() and set/get_aux_info() have also been
      moved to GimpDockWindow since the only aux info for docks was for the
      image selection menu.
      
      Also, we don't bother porting gimp_menu_dock_destroy() to
      GimpDockWindow, but we leave the code around. If this is a problem, it
      will show.
      1bf84999
  7. 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
  8. 04 Jan, 2009 1 commit
    • Martin Nordholts's avatar
      Make instance members private. · 7c964523
      Martin Nordholts authored
      * app/widgets/gimpdock.[ch]: Make instance members private.
      
      (gimp_dock_get_context)
      (gimp_dock_get_dialog_factory)
      (gimp_dock_get_dockbooks)
      (gimp_dock_get_main_vbox)
      (gimp_dock_get_vbox)
      (gimp_dock_get_id): New getters.
      
      * app/actions/actions.c
      * app/actions/dockable-actions.c
      * app/actions/dockable-commands.c
      * app/actions/windows-actions.c
      * app/menus/windows-menu.c
      * app/widgets/gimpdialogfactory.c
      * app/widgets/gimpdock.c
      * app/widgets/gimpdock.h
      * app/widgets/gimpdockable.c
      * app/widgets/gimpdockbook.c
      * app/widgets/gimpdockseparator.c
      * app/widgets/gimpimagedock.c
      * app/widgets/gimpmenudock.c
      * app/widgets/gimpsessioninfo-book.c
      * app/widgets/gimpsessioninfo-dock.c
      * app/widgets/gimpsessioninfo-dockable.c
      * app/widgets/gimptoolbox-color-area.c
      * app/widgets/gimptoolbox-dnd.c
      * app/widgets/gimptoolbox-image-area.c
      * app/widgets/gimptoolbox-indicator-area.c
      * app/widgets/gimptoolbox.c: Use new getters.
      
      svn path=/trunk/; revision=27881
      7c964523
  9. 22 Nov, 2007 1 commit
    • Sven Neumann's avatar
      use gtk_widget_set_tooltip_text() from gimp_help_set_help() and added · dc5d6016
      Sven Neumann authored
      2007-11-22  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimphelpui.[ch]: use
      	gtk_widget_set_tooltip_text() from gimp_help_set_help() and added
      	gimp_help_set_help_data_with_markup() for the cases where markup
      	is needed.
      
      	* libgimpwidgets/gimpwidgets.def: updated.
      
      	* app/tools/gimpselectionoptions.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpwidgets-utils.c: use the new function where markup
      	in tooltips is being used.
      
      	* app/widgets/gimptoolbox-color-area.c: no need to escape the
      	ampersand any longer.
      
      svn path=/trunk/; revision=24217
      dc5d6016
  10. 09 Nov, 2007 1 commit
    • Michael Natterer's avatar
      use the new tooltip API instead of the old deprecated one. Removed · a446f3d7
      Michael Natterer authored
      2007-11-09  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.[ch]: use the new tooltip API instead
      	of the old deprecated one. Removed _gimp_help_init(). Remember
      	whether tooltips are enabled or not in a local variable that can
      	only be altered at startup time and not after. The API now expects
      	markup instead of plain text which might cause warnings and
      	perhaps needs to be changed.
      
      	* libgimpwidgets/gimpwidgets-private.c: don't call _gimp_help_init().
      
      	* app/config/gimpguiconfig.c: made show-tooltips a
      	GIMP_CONFIG_PARAM_RESTART property.
      
      	* app/widgets/gimptoolbox-color-area.c: don't add the tooltip here...
      
      	* app/widgets/gimptoolbox.c: ...but here (as for all other
      	indicators). Also escape '&' properly because we now use markup.
      
      	* app/tools/gimpselectionoptions.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpwidgets-utils.c: print modifiers and
      	shortcuts in bold instead of in ().
      
      	* app/widgets/gimpcontainertreeview.c: show tooltips on rows if
      	gimp_viewable_get_description() returns a tip.
      
      	* app/dialogs/preferences-dialog.c
      	* plug-ins/jpeg/jpeg-save.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/warp.c: no need to add event boxes just to have
      	tooltips, the new ones work on all widgets.
      
      
      svn path=/trunk/; revision=24093
      a446f3d7
  11. 09 Dec, 2006 1 commit
  12. 26 Sep, 2006 1 commit
    • Sven Neumann's avatar
      modules/Makefile.am new CMYK color-selector that uses littleCMS for the · ba9efb34
      Sven Neumann authored
      2006-09-26  Sven Neumann  <sven@gimp.org>
      
      	* modules/Makefile.am
      	* modules/colorsel_cmyk_lcms.c: new CMYK color-selector that
      uses
      	littleCMS for the RGB <-> CMYK conversion. This is built instead
      	of the standard CMYK color-selector if lcms is available.
      
      	* libgimpwidgets/gimpcolornotebook.c
      	* libgimpwidgets/gimpcolorselection.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]
      	* libgimpwidgets/gimpwidgets.def: added API to set the color
      	management configuration on color selectors.
      
      	* libgimpwidgets/gimpwidgetstypes.h: include
      	libgimpconfig/gimpconfigtypes.h.
      
      	* app/dialogs/grid-dialog.c
      	* app/dialogs/preferences-dialog.c
      	* app/widgets/gimpcolordialog.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpgrideditor.[ch]
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimptoolbox-color-area.c: set the color management
      	configuration on (hopefully) all color selectors.
      
      	* modules/cdisplay_lcms.c: use a GimpHintBox widget.
      ba9efb34
  13. 01 Sep, 2006 1 commit
    • Michael Natterer's avatar
      added GimpContext parameters and create the GimpView with that context. · a6dbb78d
      Michael Natterer authored
      2006-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpviewabledialog.[ch]: added GimpContext
      	parameters and create the GimpView with that context.
      
      	* app/widgets/gimpcolordialog.[ch]
      	* app/dialogs/convert-dialog.[ch]
      	* app/dialogs/desaturate-dialog.[ch]
      	* app/dialogs/grid-dialog.[ch]
      	* app/dialogs/image-properties-dialog.[ch]
      	* app/dialogs/layer-add-mask-dialog.[ch]
      	* app/dialogs/offset-dialog.[ch]
      	* app/dialogs/print-size-dialog.[ch]
      	* app/dialogs/resize-dialog.[ch]
      	* app/dialogs/scale-dialog.[ch]
      	* app/dialogs/stroke-dialog.[ch]
      	* app/dialogs/template-options-dialog.[ch]
      	* app/dialogs/vectors-options-dialog.[ch]: added GimpContext
      	parameters here too and pass them to gimp_viewable_dialog_new().
      
      	* app/actions/colormap-editor-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palette-editor-commands.c
      	* app/actions/select-commands.c
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c
      	* app/dialogs/channel-options-dialog.c
      	* app/dialogs/dialogs-constructors.c
      	* app/dialogs/image-merge-layers-dialog.c
      	* app/dialogs/image-scale-dialog.c
      	* app/dialogs/layer-options-dialog.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimptoolbox-color-area.c: pass contexts to above
      	dialog constructors.
      a6dbb78d
  14. 10 May, 2006 1 commit
    • Michael Natterer's avatar
      code cleanup, no logic changed. · bca167a5
      Michael Natterer authored
      2006-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimptoolbox.c: code cleanup, no logic changed.
      
      	* app/widgets/gimptoolbox-color-area.c: make the very first click
      	on the color area work as expected.
      bca167a5
  15. 12 Apr, 2006 1 commit
  16. 23 Sep, 2004 1 commit
    • Michael Natterer's avatar
      app/dialogs/Makefile.am removed... · ee5354e4
      Michael Natterer authored
      2004-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/color-dialog.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpcolordialog.[ch]: ...and added as widget.
      
      	* app/core/gimpmarshal.list: new marshaller VOID__BOXED_ENUM.
      
      	* app/widgets/widgets-enums.[ch]: new enum GimpColorDialogState.
      
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpcolorpanel.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimptoolbox-color-area.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/view-commands.c: ported to GimpColorDialog. Removes
      	a whole bunch of ugly widgets/ -> dialogs/ dependencies.
      ee5354e4
  17. 13 Sep, 2004 1 commit
    • Michael Natterer's avatar
      configure.in added new directory app/dialogs and link libappdialogs.c into · 7d065360
      Michael Natterer authored
      2004-09-13  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* app/Makefile.am: added new directory app/dialogs and link
      	libappdialogs.c into the gimp binary.
      
      	* app/gui/Makefile.am
      	* app/gui/gui-types.h
      	* app/gui/gui-vtable.c
      	* app/gui/gui.c
      
      	* app/gui/about-dialog.[ch]
      	* app/gui/authors.h
      	* app/gui/color-notebook.[ch]
      	* app/gui/convert-dialog.[ch]
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.[ch]
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-open-location-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/grid-dialog.[ch]
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/offset-dialog.[ch]
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/quit-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/resolution-calibrate-dialog.[ch]
      	* app/gui/stroke-dialog.[ch]
      	* app/gui/tips-dialog.[ch]
      	* app/gui/tips-parser.[ch]
      	* app/gui/user-install-dialog.[ch]: removed these files...
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/dialogs-types.h
      
      	* app/dialogs/*.[ch]: ...and added them here. Changed some
      	filenames like module-browser -> module-dialog.
      
      	* app/app_procs.c
      	* app/actions/actions-types.h
      	* app/actions/actions.c
      	* app/actions/dialogs-actions.c
      	* app/actions/dialogs-commands.c
      	* app/actions/dockable-commands.c
      	* app/actions/drawable-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/file-commands.c
      	* app/actions/gradient-editor-commands.c
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/palettes-commands.c
      	* app/actions/select-commands.c
      	* app/actions/templates-commands.c
      	* app/actions/templates-commands.h
      	* app/actions/vectors-commands.c
      	* app/actions/view-commands.c
      	* app/display/gimpdisplayshell-cursor.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.[ch]
      	* app/tools/gimpvectortool.c
      	* app/widgets/gimpcolormapeditor.[ch]
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimptoolbox-color-area.c
      	* menus/toolbox-menu.xml.in
      	* tools/authorsgen/authorsgen.pl: changed accordingly.
      7d065360
  18. 27 May, 2004 1 commit
    • Michael Natterer's avatar
      added enum GimpActiveColor which can be one of { FOREGROUND, BACKGROUND }, · 855eedf3
      Michael Natterer authored
      2004-05-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-enums.[ch]: added enum GimpActiveColor which
      	can be one of { FOREGROUND, BACKGROUND },
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpfgbgeditor.[ch]: new widget implementing the
      	FG/BG/Swap/Default color area known from the toolbox.
      
      	* app/widgets/gimptoolbox-color-area.c: use the new widget.
      
      	* app/widgets/gimpcoloreditor.[ch]: replaced the FG/BG buttons and
      	the color area by a GimpFgBgEditor.
      855eedf3
  19. 20 Nov, 2003 1 commit
    • Michael Natterer's avatar
      changed drag source stuff to allow multiple data types. Changed DND source · c5865e49
      Michael Natterer authored
      2003-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.[ch]: changed drag source stuff to allow
      	multiple data types. Changed DND source API to speak in terms of
      	add()/remove() instead of set()/unset(). Added GimpDndDragFileFunc
      	typedef and gimp_dnd_file_source_add().
      
      	Unfortunately GTK+'s DND API lacks symmetry here (no GtkTargetList
      	based API for drag sources), so we cannot really change drag
      	sources on-the-fly and need to set GtkTargetEntry arrays manually.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimptoolbox-color-area.c: changed accordingly.
      
      	* app/widgets/gimpdocumentview.c: ditto. Additionally offer
      	"text/uri-list" so it's possible to drag images from the document
      	history to the file manager or browser.
      c5865e49
  20. 10 Nov, 2003 1 commit
    • Michael Natterer's avatar
      removed color_notebook_new() and renamed color_notebook_viewable_new() to · 372c253a
      Michael Natterer authored
      2003-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.[ch]: removed color_notebook_new() and
      	renamed color_notebook_viewable_new() to color_notebook_new().
      
      	* app/gui/gradient-editor-commands.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimptoolbox-color-area.c: changed accordingly.
      372c253a
  21. 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
  22. 13 Oct, 2003 1 commit
  23. 26 Sep, 2003 1 commit
    • Michael Natterer's avatar
      Cleaned up all places which pick colors to work consistently: the concept · e13afaf2
      Michael Natterer authored
      2003-09-26  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up all places which pick colors to work consistently: the
      	concept of an "active color" has disappeared, instead <ctrl> picks
      	the BG color all over the place (fixes bug #122931).
      
      	* app/tools/tools-enums.[ch]: added enum GimpColorPickMode which
      	can be one of { FOREGROUND, BACKGROUND }. Reordered enums so
      	non-registered ones are at the end of the file. Removed trailing
      	whitespace.
      
      	* app/tools/gimpcolorpickeroptions.[ch]: added a "pick-mode"
      	property and a GUI for it. Renamed the "update-active" property to
      	"update-toolbox".
      
      	* app/tools/gimpcolorpickertool.c: honor the new option. Toggle
      	pick-mode on <ctrl>.
      
      	* app/tools/gimpcolortool.[ch]: added pick_mode member and change
      	the cursor accordingly.
      
      	* app/widgets/gimpcolormapeditor.[ch]: added "GdkModifierType
      	state" to the "selected" signal. Removed the signal's default
      	implementation.
      
      	* app/gui/dialogs-constructors.c: fixed the signal handler which
      	lives here and set BG if <ctrl> was pressed.
      
      	* app/widgets/gimppaletteeditor.c: removed weird <ctrl> <->
      	active_color interaction and pick BG on <ctrl>. Don't change the
      	toolbox color when editing a color in the palette.
      
      	* app/widgets/gimptoolbox-color-area.[ch]: made the whole
      	active_color stuff private. Will remove these artefacts soon...
      
      	* app/gui/colormap-editor-menu.c
      	* app/gui/palette-editor-menu.c: added separate menu entries
      	for adding a color from the current FG and BG.
      
      	* app/gui/colormap-editor-commands.c
      	* app/gui/palette-editor-commands.[ch]: changed callbacks
      	accordingly.
      
      	* cursors/background.xbm
      	* cursors/background_mask.xbm
      	* cursors/foreground.xbm
      	* cursors/foreground_mask.xbm
      	* cursors/gimp-tool-cursors.xcf: moved the FG/BG cursor modifiers
      	closer to the upper right corner.
      
      	* app/widgets/gimpcursor.c: ignore the cursor modifiers' hotspots
      	since they are not relevant and I didn't save the hotspot in the
      	updated cursor files for that reason.
      e13afaf2
  24. 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
  25. 16 May, 2003 1 commit
    • Michael Natterer's avatar
      added dialog_factory and dialog_identifier parameters to the constructors · a8598c69
      Michael Natterer authored
      2003-05-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.[ch]: added dialog_factory and
      	dialog_identifier parameters to the constructors and register the
      	color_notebook with the passed factory as foreign dialog.
      
      	* app/widgets/gimpcolorpanel.c: changed accordingly.
      
      	* app/gui/dialogs.c
      	* app/gui/colormap-editor-commands.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/palette-editor-commands.c
      	* app/widgets/gimptoolbox-color-area.c: added session management for
      	the color notebooks created here.
      a8598c69
  26. 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
  27. 05 Mar, 2003 1 commit
    • Manish Singh's avatar
      require GTK+ 2.2. The 2.0.x series is no longer maintained, and there are · d395daa7
      Manish Singh authored
      2003-03-05  Manish Singh  <yosh@gimp.org>
      
              * configure.in: require GTK+ 2.2. The 2.0.x series is no longer
              maintained, and there are some very real bugs that won't go away.
      
              * app/gui/about-dialog.c
              * app/widgets/gimppreviewrenderer.c
              * app/widgets/gimptoolbox-color-area.c
              * plug-ins/common/uniteditor.c: remove special casing for GTK+ 2.0
              vs. 2.2
      
              * app/widgets/gtkwrapbox.[ch]
              * app/widgets/gtkhwrapbox.[ch]
              * app/widgets/gtkvwrapbox.[ch]: remove deprecated functions
      
              * app/gui/gui.c: free return value of gdk_get_display ()
      
              * app/widgets/gimpcontainertreeview.c: use gtk_list_store_move_before ()        for reordering.
      d395daa7
  28. 22 Feb, 2003 1 commit
    • Manish Singh's avatar
      app/gui/about-dialog.c app/widgets/gimpimagefilepreview.c use · 393fe155
      Manish Singh authored
      2003-02-21  Manish Singh  <yosh@gimp.org>
      
              * app/gui/about-dialog.c
              * app/widgets/gimpimagefilepreview.c
              * app/widgets/gimptoolbox-color-area.c: use gdk_draw_pixbuf with
              GTK+ 2.2 or higher instead of gdk_pixbuf_render_to_drawable.
              That function will be deprecated in GTK+ 2.4. We should remove the
              fallback at some point when we start depending on GTK+ 2.2 for other
              stuff.
      393fe155
  29. 05 Jan, 2003 1 commit
  30. 08 Sep, 2002 1 commit
    • Michael Natterer's avatar
      set the hex entry to 7 chars instead the whole width of the vbox. Added · 18626a64
      Michael Natterer authored
      2002-09-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/color-notebook.[ch]: set the hex entry to 7 chars instead
      	the whole width of the vbox. Added color_notebook_set_title().
      
      	* app/widgets/gimptoolbox-color-area.c: use the new function to
      	set the color selection's title to either "Change Foreground
      	Color" or "Change Background Color" instead of just "Color
      	Selection".
      18626a64
  31. 02 Sep, 2002 1 commit
    • Michael Natterer's avatar
      DND cleanup part 1: · c5d4b702
      Michael Natterer authored
      2002-09-02  Michael Natterer  <mitch@gimp.org>
      
      	DND cleanup part 1:
      
      	* app/widgets/gimpdnd.[ch]: changed all gimp_dnd_*_dest_set() and
      	_unset() functions to _dest_add() and _dest_remove(). Switch from
      	using static arrays of GtkTargetEntries to dynamic GtkTargetLists.
      	The _add() and _remove() functions configure the drag dest
      	automatically if not already done, so there is no need to call
      	gtk_drag_dest_set() on the widget any more. Drag source cleanup
      	will follow...
      
      	Renamed silly function names gimp_gtk_* to gimp_dnd_*
      
      	* app/display/gimpdisplayshell.c
      	* app/tools/gimpblendtool.c
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimptoolbox-color-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptoolbox.c
      	* app/gui/about-dialog.c
      	* app/gui/color-select.c
      	* app/gui/device-status-dialog.c
      	* app/gui/tool-options-dialog.c: changed accordingly. Removed
      	all calls to gtk_drag_dest_set() and their GtkTargetEntry tables.
      
      	* app/widgets/gimpchannellistitem.c: enabled some commented out
      	dnd code (which will not work since dnd needs more love...)
      
      	* app/widgets/gimpitemlistview.[ch]: added a third
      	"gboolean interactive" parameter to GimpItemNewFunc.
      
      	* app/gui/channels-commands.[ch]
      	* app/gui/layers-commands.[ch]
      	* app/gui/vectors-commands.[ch]: if the new_item_func is called
      	with "interactive == FALSE", don't pop up a dialog but silently
      	create a new item of the image's size.
      
      	* app/widgets/gimpdrawablelistview.c: use the new feature to allow
      	color and pattern drops to the "New" button, which creates a new
      	layer/channel filled with the color/pattern.
      	(special feature for drc ;-)
      
      	* app/widgets/gimppaletteeditor.c: fixed event handling so we see
      	the context menu again. Also, don't redraw on "expose", since
      	GtkPreview does that for us.
      c5d4b702
  32. 09 Jun, 2002 1 commit
  33. 08 Jun, 2002 1 commit
    • Sven Neumann's avatar
      use stock pixbufs to draw the "Default Colors" and "Swap Colors" buttons. · d4882f00
      Sven Neumann authored
      2002-06-08  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimptoolbox-color-area.[ch]: use stock pixbufs to
      	draw the "Default Colors" and "Swap Colors" buttons.
      
      	* app/widgets/gimptoolbox.c: changed accordingly.
      
      	* pixmaps/Makefile.am
      	* pixmaps/default.xpm
      	* pixmaps/swap.xpm: removed these pixmaps.
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-default-colors-12.png
      	* themes/Default/images/stock-swap-colors-12.png: added them as stock
      	icons.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new stock icons.
      d4882f00
  34. 10 May, 2002 1 commit
    • Hans Breuer's avatar
      add appconfig.lib. Statically link libgimptool/gimptool.lib. · 8522a847
      Hans Breuer authored
      2001-05-11  Hans Breuer  <hans@breuer.org>
      
      	* app/makefile.msc : add appconfig.lib. Statically
      	link libgimptool/gimptool.lib.
      
      	* app/main.c : use gimp_locale_directory()
      
      	* app/config/gimpconfig-utils.c : <string.h>
      
      	* app/config/makefile.msc : add gimpscanner
      
      	* app/core/gimpimagefile.c : some G_OS_WIN32 mess to get
      	mkdir() and chmod()
      
      	* app/display/gimpdisplayshell.c
      	  app/plug-in/plug-in-progrss.c
      	  app/tool/gimpcolorpickertool.c
      	  app/tool/gimpcroptool.c
      	  app/tool/gimpmeasuretool.c
      	  app/tool/gimpperspectivetool.c
      	  app/tool/gimprotatetool.c
      	  app/tool/gimpscaletool.c
      	  app/tool/gimpsheartool.c
      	  app/tool/gimptransformtool.c
      	  app/widgets/gimpcolormapeditor.c
      	  app/widgets/gimpcolorpanel.c
      	  app/widgets/gimptoolbox-color-area.c
      	add #ifdef __GNUC__ to avoid breaking on non standard
      	pragma #warning
      
      	* app/tools/makefile.msc : add gimptoolcontrol remove
      	tools-enum
      
      	* app/tools/tool_manager.c : need to include
      	libgimptool/gimptoolcontrol.h after core includes
      	otherwise we would compile without prototypes or
      	break miserably
      
      	* app/gui/plug-in-menus.c : replace LOCALEDIR with
      	gimp_locale_directory ()
      
      	* app/gui/preferences-dialog.c (prefs_notebook_append_page) :
      	only try to gdk_pixbuf_new_from_file() with a valid filename.
      	It should simply return NULL otherwise, but fails if the
      	filename is an empty string.
      
      	* app/paint-funcs/makefile.msc : add -FImsvc_recommended_pragmas.h
      
      	* app/widgets/gimpcolormapeditor.c : the 'row'
      	allocated needs to be 'xn * cellsize * 2' (to avoid
      	accessing unowned memory) not only width, which has
      	become allocation.width by someone commenting out
      	the correct size calculation
      
      	* app/widgets/gimpdialogfactory.c : varargs to macros
      	are GCCism or at least non standard. #define DEBUG
      	to g_print or nothing - without arguments - does fix
      	it somewhat dirty as the compiler needs to tolerate
      	the '(blah, foo, bar);' statement than
      
      	* app/widgets/makefile.msc : updated
      
      	* app/xcf/makefile.msc : add -FImsvc_recommended_pragmas.h
      
      	* etc/gimprc.win32 : use ';' to separate theme-path
      
      	* libgimpbase/gimpenv.c : #include <stdio.h>
      	for sprintf()
      
      	* app/widgets/gimpdnd.c (gimp_dnd_set_file_data) :
      	the passed in vals chunk is not always null-terminated
      	(at least not on win32). Use the length parameter too
      	to avoid reading junk filenames.
      
      	* libgimp/gimp.def : export gimp_image_get_name()
      
      	* libgimpbase/gimpbase.def : export gimp_locale_directory()
      	* libgimpbase/gimpenv.[ch] : added gimp_locale_directory ()
      
      	* libgimpbase/makefile.msc : define DATADIR and SYSCONFDIR
      	to empty string to let gimp find its files in the common
      	place (win32: relative to the top level gimp dir)
      
      	* plug-ins/common/pixelize.c : <string.h>
      
      	* plug-ins/flame/cmap.c : #include <glib.h> for g_random_int()
      
      	* plug-ins/makefile.msc : -FImsvc_recommended_pragams.h
      	and a little hack to give imagemap the prototypes it
      	desires without changing the lexed source
      
      	* themes/Default/images/makefile.msc : now added (see below)
      
      	* themes/Default/images/stock-button-reset.png : made it binary
      8522a847
  35. 03 May, 2002 1 commit
    • Michael Natterer's avatar
      devel-docs/Makefile.am new file documenting the core's include policy. · a74a8997
      Michael Natterer authored
      2002-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* devel-docs/Makefile.am
      	* devel-docs/includes.txt: new file documenting the core's
      	include policy.
      
      	* HACKING: mention it here.
      
      	* libgimptool/gimptooltypes.h: removed GimpToolOptions here.
      
      	* app/core/core-types.h: and added it here. This is a temp hack
      	needed because GimpToolInfo needs to know the GimpToolOptions
      	type.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* libgimptool/gimptoolmodule.h: don't include gimptooltypes.h here...
      	* libgimptool/gimptoolmodule.c: ...but here.
      
      	* app/config/gimpconfig-params.c: include "libgimpbase/gimpbase.h"
      	entirely, not single files from it.
      
      	* app/core/gimp.c
      	* app/core/gimpcontext.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem.c
      	* app/core/gimpmodules.c
      	* app/core/gimppaintinfo.c
      	* app/core/gimpparasite.c
      	* app/core/gimppreviewcache.c
      	* app/core/gimptoolinfo.c
      	* app/core/gimpunit.c: include "core-types.h" and no other types file.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c: include "tools/tools-types.h"
      	instead of "libgimptool/gimptooltypes.h", warn about inclusion
      	on "gui/gui-types.h"
      
      	* app/file/file-open.c
      	* app/file/file-save.c: don't include "libgimptool/gimptooltypes.h".
      
      	* app/gui/about-dialog.c
      	* app/gui/brush-select.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-select.c
      	* app/gui/data-commands.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs.c
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/info-window.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c: include "gui-types.h" and no
      	other types file.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppaintoptions.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint.c: include "paint-types.h" and no other types file.
      
      	* app/pdb/pdb-types.h: don't include "libgimptool/gimptooltypes.h".
      
      	* app/plug-in/plug-in-progress.c: warn about inclusion of
      	"display/display-types.h"
      
      	* app/tools/tools-types.h: include "libgimptool/gimptooltypes.h".
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptoolcontrol.c
      	* app/tools/gimptoolcontrol.h
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/tools/tools.c: include "tools-types.h" and no other types file,
      	warn about inclusion of "gui/gui-types.h".
      
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimptoolbox-color-area.c: warn about inclusion of
      	"gui/gui-types.h".
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf.c: don't include "libgimptool/gimptooltypes.h".
      
      	Split tool-safe-mode up in two files, one including libgimpproxy,
      	one libgimp.
      
      	* plug-ins/tools/Makefile.am
      	* plug-ins/tools/tool-safe-mode-plug-in.[ch]: new files including
      	libgimp/ stuff only.
      
      	* plug-ins/tools/tool-safe-mode.[ch]: include libgimpproxy/ and
      	libgimptool/ but don't include libgimp/ because of conflicting
      	declarations.
      
      	Unrelated:
      
      	* app/tools/gimpclonetool.c: create the clone core so we don't crash.
      
      	* app/gui/file-open-dialog.c: changed the way we create previews
      	so that only out-of-date previews are created on a click in the
      	preview area. Unconditional creation can still be forced by
      	<Ctrl>+click. Changed the tooltip to document this.
      a74a8997
  36. 14 Mar, 2002 1 commit
    • Michael Natterer's avatar
      g_strdup() the stock_id passed to gimp_tool_info_new() because the · b8798408
      Michael Natterer authored
      2002-03-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimptoolinfo.c: g_strdup() the stock_id passed to
      	gimp_tool_info_new() because the caller's memory may disappear
      	after registering the tool (tool modules).
      
      	Made a GimpDock out of the toolbox:
      
      	* app/gui/Makefile.am
      	* app/gui/color-area.[ch]
      	* app/gui/indicator-area.[ch]
      	* app/gui/toolbox.[ch]: removed...
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptoolbox-color-area.[ch]
      	* app/widgets/gimptoolbox-indicator-area.[ch]
      	* app/widgets/gimptoolbox.[ch]: ...and added here.
      
      	* app/widgets/gimpdock.[ch]: don't set a minimal width. Added a
      	"destroy_if_empty" boolean so we can prevent destruction of the
      	toolbox if it's last dockable is removed. Added gimp_dock_construct()
      	which is called from GimpImageDock and GimpToolbox.
      
      	* app/widgets/gimpimagedock.[ch]: Default to not showing the image
      	menu, set a minimal width here, misc. minor cleanup.
      
      	* app/widgets/gimpdockbook.c: some more GIMP_IS_IMAGE_DOCK()
      	checks, fixed dnd widget creation.
      
      	* app/widgets/gimpdialogfactory.[ch]: changed
      	gimp_dialog_factories_toggle() to take just the toolbox_factory as
      	parameter. When restoring the session use the created dock's
      	dialog factory to create dockables, not the the factory we
      	created the dock from (for the toolbox).
      
      	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
      
      	* app/gui/dialogs.[ch]: create an own dialog factory for the toolbox
      	and set dialogs_toolbox_new() as it's new_dock_func.
      
      	* app/gui/dialogs-constructors.[ch]: changed dialogs_toolbox_get()
      	accordingly.
      
      	* app/gui/dialogs-commands.[ch]: added dialogs_show_toolbox(), ckeck
      	if a dock is really a GimpImageDock before casting.
      
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/palette-editor-commands.c: removed useless inclusion of
      	"gui/color-area.h".
      
      	* themes/Default/gtkrc: set "gimp-dock-style" for GimpToolbox widgets.
      b8798408
  37. 29 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpprogress.c app/nav_window.c app/ops_buttons.c app/undo_history.c · 14d0a3ff
      Michael Natterer authored
      2001-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpprogress.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/undo_history.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/channels-commands.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/colormap-dialog.c
      	* app/gui/convert-dialog.c
      	* app/gui/device-status-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-dialog.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpconstrainedhwrapbox.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerlistview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpitemfactory.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppreview.[ch]
      	* app/widgets/gtkhwrapbox.c
      	* app/widgets/gtkvwrapbox.c
      	* app/widgets/gtkwrapbox.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimpwidgets/gimpbutton.c
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimppixmap.h
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpstock.[ch]
      	* libgimpwidgets/gimpwidgets.h
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/Events.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/bmp/bmpwrite.c
      	* plug-ins/dbbrowser/dbbrowser_utils.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/fp/fp_misc.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/gimpressionist/*.c
      	* plug-ins/imagemap/*.[ch]
      	* plug-ins/maze/maze_face.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/print_gimp.h
      	* plug-ins/rcm/rcm_callback.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/rcm/rcm_misc.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/sel2path/sel2path.c
      	* plug-ins/sel2path/sel2path_adv_dialog.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/webbrowser/webbrowser.c
      	* plug-ins/xjt/xjt.c
      	* plug-ins/common/[A-n]*.c: compile with GTK_DISABLE_DEPRECATED
      	defined. Not everything is fully ported yet, had to #undef
      	GTK_DISABLE_DEPRECATED in many places and added #warnings when
      	doing so.
      
      	* pixmaps/Makefile.am
      	* pixmaps/chain.xpm: removed.
      
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-button-hchain-broken.png
      	* themes/Default/images/stock-button-hchain.png
      	* themes/Default/images/stock-button-vchain-broken.png
      	* themes/Default/images/stock-button-vchain.png: new stock icons.
      14d0a3ff
  38. 02 Dec, 2001 1 commit
    • Sven Neumann's avatar
      use g_tree_foreach() instead of deprecated g_tree_traverse(). · 83468fca
      Sven Neumann authored
      2001-12-02  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/plug-in.c: use g_tree_foreach() instead of deprecated
      	g_tree_traverse().
      
      	* app/undo_history.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/color-area.c
      	* app/gui/color-select.c
      	* app/gui/gradient-editor.c
      	* app/gui/gui.c
      	* app/gui/paths-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpinktool.c
      	* app/widgets/gimpcursor.c
      	* app/widgets/gimpnavigationpreview.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimppixmap.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/ifscompose/ifscompose.c: s/gdk_gc_unref/g_object_unref/,
      	s/gdk_drawable_unref/g_object_unref/
      83468fca
  39. 29 Oct, 2001 1 commit
    • Michael Natterer's avatar
      Cleanup weekend... · 05e15eb1
      Michael Natterer authored
      2001-10-29  Michael Natterer  <mitch@gimp.org>
      
      	Cleanup weekend...
      
      	* app/app_procs.c: pass "no_interface" to gimp_new().
      
      	* app/core/gimp.[ch]: added "gboolean no_interface" and the
      	load_procs and save_procs GSLists.
      
      	* app/core/gimptoolinfo.[ch]: added a "Gimp" pointer to the
      	GimpToolInfo object so more functions find their context without
      	accessing the global "the_gimp" variable.
      
      	* app/display/display-types.h: removed the GDisplay -> GimpDisplay
      	typedef.
      
      	* app/display/gimpdisplay.c: look at gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]: don't use "the_gimp" any more. Instead,
      	pass around lots of "Gimp" pointers. Removed the global load_procs
      	and save_procs variables here. Use access() to find out whether a
      	file is readable/writable, removed the manual voodoo and it's
      	Win32 wrappers. Added an optional (can be NULL) "PlunInProcDef"
      	parameter to file_save(), removed file_save_with_proc().
      
      	* app/gui/menus.c: Use the unused "gpointer data" parameter of the
      	GtkItemFactory callbacks to pass a "Gimp" pointer to all of them.
      	This reduces the usage of the global "the_gimp" hack to zero
      	in app/gui/... yeah.
      
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/select-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: use the passed "Gimp" pointer.
      
      	* app/gui/color-area.[ch]
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gui.c
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/tool-options-dialog.[ch]
      	* app/gui/toolbox.c: pass around lots more "Gimp" and
      	"GimpContext" pointers and don't use "the_gimp" any more.
      
      	* app/tools/gimptool.h: added a pointer to the corresponding
      	GimpToolInfo object (which in turn has a pointer to a Gimp).
      
      	* app/tools/tool_manager.[ch]: set the pointer after creating the
      	tool object. Removed tool_manager_get_info_by_tool() as there is a
      	tool->tool_info pointer now.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/path_tool.c
      	* app/tools/xinput_airbrush.c: s/GDisplay/GimpDisplay/g.
      	Use tool->tool_info and tool_info->gimp in some places to get
      	rid of using "the_gimp".
      
      	Removing the remaining ones involves changing the tool options
      	system and is scheduled next...
      
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c: pass a "Gimp" pointer to all
      	file_open_*() functions.
      
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.[ch]
      	* app/image_map.[ch]
      	* app/nav_window.[ch]
      	* app/path.c
      	* app/path_bezier.c
      	* app/path_transform.h
      	* app/qmask.[ch]: s/GDisplay/GimpDisplay/g
      
      	* tools/pdbgen/pdb/fileops.pdb: load_procs and save_procs are
      	members of the "Gimp" object now.
      
      	* tools/pdbgen/pdb/plug_in.pdb: use gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      05e15eb1