1. 21 Jan, 2004 1 commit
    • Michael Natterer's avatar
      renamed info_dialog_popdown() to info_dialog_hide() and · 73d258eb
      Michael Natterer authored
      2004-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/info-dialog.[ch]: renamed info_dialog_popdown() to
      	info_dialog_hide() and info_dialog_popup() to info_dialog_present().
      	Added info_dialog_show() which just shows the dialog without
      	calling gtk_window_present().
      
      	* app/gui/info-window.c
      	* app/gui/view-commands.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: use info_dialog_show() so the dialog
      	doesn't grab the focus away from the canvas. Fixes bug #132041.
      73d258eb
  2. 16 Jan, 2004 1 commit
    • Michael Natterer's avatar
      converted tabs to spaces. · b6683376
      Michael Natterer authored
      2004-01-16  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/edit-commands.[ch]: converted tabs to spaces.
      
      	(cut,copy_named_buffer_callback): unref the buffer after adding it
      	to gimp->named_buffers. Seems we leaked all named buffers...
      
      	Removed code duplication I have just introduced:
      
      	* app/gui/edit-commands.[ch] removed
      	edit_paste_into_cmd_callback(). Instead, pass the "paste_into"
      	boolean as "guint action" to gimp_edit_paste_cmd_callback().
      
      	* app/gui/image-menu.c: changed accordingly.
      
      	* app/widgets/gimpbufferview.c: added utility function
      	gimp_buffer_view_paste() and call it from the paste and paste_into
      	callbacks.
      b6683376
  3. 15 Jan, 2004 1 commit
    • Michael Natterer's avatar
      Fixed bug #78732 (don't paste off screen): · 0af39061
      Michael Natterer authored
      2004-01-15  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #78732 (don't paste off screen):
      
      	* app/display/gimpdisplayshell-transform.[ch]: added new function
      	gimp_display_shell_untransform_viewport() which returns the
      	visible rectangle of the image in image coordinates.
      
      	* app/core/gimp-edit.[ch] (gimp_edit_paste): added viewport
      	parameters and changed positioning of the pasted layer as follows:
      
      	- if there is a selection, center on the selection (just as before).
      	- if there is no viewport, center on the active drawable.
      	- if the viewport intersects with the active drawable, center
      	  on the intersection.
      	- if the viewport does *not* intersect with the active drawable,
      	  center on the active drawable (off-screen, but better than pasting
      	  something that will be invisible due to floating selection clipping).
      	- if there is no active drawable, center on the viewport.
      	- if there is no active drawable and no viewport, center on the image.
      
      	* app/widgets/gimpbufferview.c (gimp_buffer_view_paste_clicked)
      	(gimp_buffer_view_paste_into_clicked)
      	* app/display/gimpdisplayshell-dnd.c (gimp_display_shell_drop_buffer)
      	* app/gui/edit-commands.c (edit_paste_cmd_callback)
      	(edit_paste_into_cmd_callback): ask the shell for the viewport
      	and pass it to gimp_edit_paste().
      
      	* app/display/gimpdisplayshell-dnd.c
      	(gimp_display_shell_drop_drawable): center the created layer on
      	the viewport.
      
      	* app/tools/gimpmovetool.c (gimp_move_tool_button_release): use
      	gimp_display_shell_untransform_viewport() (its code was taken from
      	here).
      
      	* tools/pdbgen/pdb/edit.pdb: pass "no viewport" to gimp_edit_paste().
      
      	* app/pdb/edit_cmds.c: regenerated.
      0af39061
  4. 13 Jan, 2004 1 commit
    • Michael Natterer's avatar
      Allow invoking the text tool by double clicking a text layer in the layers · 3bee156b
      Michael Natterer authored
      2004-01-13  Michael Natterer  <mitch@gimp.org>
      
      	Allow invoking the text tool by double clicking a text layer in
      	the layers dialog, just like the path tool is invoked when double
      	clicking a path.
      
      	* app/tools/gimptexttool.[ch]: added empty
      	gimp_text_tool_set_layer() stub. Sven, your turn...
      
      	* app/gui/layers-commands.[ch]: added layers_text_tool() which
      	invokes the text tool on text layers and falls back to
      	layers_edit_layer_query() otherwise.
      	Added layers_text_tool_cmd_callback() for the layers menu.
      
      	* app/gui/layers-menu.c: added "Text Tool" menu item and hide
      	it for layers which are no text layers.
      
      	* app/gui/dialogs-constructors.c (dialogs_layer_list_view_new):
      	use layers_text_tool() as "activate" function.
      3bee156b
  5. 12 Jan, 2004 1 commit
    • Sven Neumann's avatar
      call the callback with the selected image which is not necessarily the · cbdb6947
      Sven Neumann authored
      2004-01-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpmenu.c (gimp_image_menu_new): call the callback with
      	the selected image which is not necessarily the requested one
      	(fixes bug #92586).
      	Also changed all menu constructors to always call the registered
      	callback even when the value is -1 because the menu is empty.
      
      	* app/gui/plug-in-commands.c (plug_in_run_cmd_callback): run the
      	procedure even if there's no active GIMP display. The display and
      	screen is then taken from the current cursor position.
      
      	* app/gui/gui-vtable.c (gui_get_display_name): don't call
      	gimp_display_get_by_ID() unless gdisp_ID is > 0.
      cbdb6947
  6. 10 Jan, 2004 1 commit
    • Michael Natterer's avatar
      no need to check if the layer has an alpha channel because · 15cf8858
      Michael Natterer authored
      2004-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/layers-commands.c (layers_alpha_to_selection_cmd_callback):
      	no need to check if the layer has an alpha channel because
      	gimp_channel_select_alpha() handles layers without alpha fine: it
      	selects everything that is opaque, which is the entire layer.
      
      	* app/gui/image-menu.c (image_menu_update)
      	* app/gui/layers-menu.c (layers_menu_update): don't make the
      	"Alpha to Selection" items insensitive for layers without alpha.
      15cf8858
  7. 06 Jan, 2004 1 commit
    • Michael Natterer's avatar
      Enabled skipping enum values for either the PDB or GType registration · dec20d82
      Michael Natterer authored
      2004-01-06  Michael Natterer  <mitch@gimp.org>
      
      	Enabled skipping enum values for either the PDB or GType
      	registration (don't always skip both targets):
      
      	* tools/gimp-mkenums: skip enum values only if there is a literal
      	"skip" (don't match "pdb-skip").
      
      	* tools/pdbgen/enumgen.pl: skip only "pdb-skip" values, not "skip"
      	ones.
      
      	* app/base/base-enums.h
      	* app/core/core-enums.h
      	* app/paint/paint-enums.h
      	* libgimpbase/gimpbaseenums.h: use the right "pdb-skip"/"skip"
      	combination to skip enum values. Changed comments accordingly.
      
      	Cleaned up the fill functions:
      
      	* app/core/core-enums.[ch]: added GIMP_PATTERN_FILL enum value to
      	the GimpFillType enum. Don't export GIMP_NO_FILL to the PDB
      	because it's completely useless to export a NOP.
      
      	* app/core/gimp-edit.c (gimp_edit_fill, gimp_edit_fill_internal):
      	handle pattern fill requests.
      
      	* app/core/gimpdrawable.[ch] (gimp_drawable_fill): added GimpPattern
      	parameter and fill with it if it's non-NULL.
      
      	(gimp_drawable_fill_by_type): handle pattern fill and pass the
      	current pattern to gimp_drawable_fill().
      
      	* app/text/gimptextlayer.c: changed accordingly.
      
      	* app/gui/edit-commands.c
      	* app/gui/image-menu.c: use gimp_edit_fill() instead of
      	gimp_drawable_bucket_fill() for FG, BG and pattern filling.
      
      	* libgimp/gimpcompat.h
      	* plug-ins/script-fu/siod-wrapper.c: removed NO_IMAGE_FILL compat
      	enum value. It should have never been exported to the PDB.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/edit_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      dec20d82
  8. 05 Jan, 2004 1 commit
    • Sven Neumann's avatar
      added GIMP_UNDO_TEXT_LAYER to GimpUndoType enum. · 3451c82f
      Sven Neumann authored
      2004-01-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: added GIMP_UNDO_TEXT_LAYER to
      	GimpUndoType enum.
      
      	* app/core/gimpimage-undo-push.[ch]: added new undo function
      	gimp_image_undo_push_text_layer().
      
      	* app/text/gimptextlayer.[ch]: renamed gimp_text_layer_render() to
      	gimp_layer_text_layer_flush().
      	Added new function gimp_text_layer_discard().
      
      	* app/text/gimptextlayer-transform.c: changed accordingly.
      
      	* app/gui/image-menu.c
      	* app/gui/layers-commands.[ch]
      	* app/gui/layers-menu.c: added menu entries that allow to discard
      	the text information of a text layer (bug #118547).
      
      	* app/widgets/gimppreviewrendererlayer.c
      	(gimp_preview_renderer_layer_render): treat text layers without a
      	text object like ordinary layers.
      
      	* app/widgets/gimppreviewrenderer-utils.c: include gimplayer.h
      	instead of gimptextlayer.h.
      3451c82f
  9. 21 Dec, 2003 1 commit
    • Sven Neumann's avatar
      added gimp_xml_parser_parse_buffer(). · 3e1b93cc
      Sven Neumann authored
      2003-12-20  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpxmlparser.[ch]: added gimp_xml_parser_parse_buffer().
      
      	* app/vectors/gimpvectors-export.[ch]: renamed gimp_vectors_export()
      	to gimp_vectors_export_file() and added a stub called
      	gimp_vectors_export_string().
      
      	* app/vectors/gimpvectors-import.[ch]: renamed gimp_vectors_import()
      	to gimp_vectors_import_file() and added gimp_vectors_import_buffer().
      
      	* app/gui/vectors-commands.c
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly.
      
      	* app/pdb/paths_cmds.c: regenerated.
      3e1b93cc
  10. 20 Dec, 2003 1 commit
  11. 09 Dec, 2003 3 commits
    • Michael Natterer's avatar
      Fixed memory management of layers and channels which were created using · 1cc434fa
      Michael Natterer authored
      2003-12-09  Michael Natterer  <mitch@gimp.org>
      
      	Fixed memory management of layers and channels which were created
      	using the PDB:
      
      	* app/core/gimpitem.[ch]: added "gboolean floating" flag to
      	GimpItem. Items are created with floating == TRUE. Added
      	gimp_item_sink() which resets the floating flag and unrefs the
      	item if it was TRUE.  Added gimp_item_is_floating() accessor.
      
      	* app/core/gimpimage.c (gimp_image_add_layer,channel,vectors):
      	g_object_ref()/gimp_item_sink() added items to take ownership of
      	them.
      
      	* app/core/gimplayer.c (gimp_layer_add_mask):
      	g_object_ref()/gimp_item_sink() the mask.
      
      	* app/gui/layers-commands.c
      	* app/xcf/xcf-load.c: don't unref layer masks after adding them to
      	the layer.
      
      	* tools/pdbgen/pdb/drawable.pdb (drawable_delete):
      	gimp_item_sink() the drawable if it's floating and fail if it's
      	not. Fixes bug #128881.
      
      	* tools/pdbgen/pdb/layer.pdb (layer_create_mask): fixed docs.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.c: regenerated.
      1cc434fa
    • Michael Natterer's avatar
      return a more exact result. · 68fd1809
      Michael Natterer authored
      2003-12-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/tile-manager.c (tile_manager_get_memsize): return a
      	more exact result.
      
      	* app/core/gimpimage-scale.[ch] (gimp_image_scale_check): estimate
      	the new memsize by separating parts of the image that are constant
      	from parts that will scale. Also take undo logic into account.
      	Return the estimated new memsize since it's not trivial to
      	calculate.
      
      	* app/gui/image-commands.c (image_scale_callback): use the memsize
      	returned by gimp_image_scale_check() for the warning message. Free
      	allocated strings.
      68fd1809
    • Michael Natterer's avatar
      changed GimpImageScaleCheckType enum values to GIMP_IMAGE_SCALE_*. · fc2f99c8
      Michael Natterer authored
      2003-12-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.h: changed GimpImageScaleCheckType enum
      	values to GIMP_IMAGE_SCALE_*.
      
      	* app/core/gimpimage-scale.c (gimp_image_scale_check): return
      	GIMP_IMAGE_SCALE_TOO_BIG only if we are scaling up.
      
      	* app/gui/image-commands.c: changed accordingly. Whitespace and
      	indentation cleanup.
      fc2f99c8
  12. 08 Dec, 2003 1 commit
    • Dave Neary's avatar
      Added the GimpImageScaleCheckType enum and used it in · ca493e0d
      Dave Neary authored
      
      
      2003-12-08  Dave Neary  <bolsh@gimp.org>
      
              * app/core/core-enums.h:
              * app/core/gimpimage-scale.[ch]: Added the GimpImageScaleCheckType
              enum and used it in gimp_image_scale_check() which used to be
              gimp_image_check_scaling().
      
              * app/gui/image_commands.c: Used the above when checking
              scaling parameters to display a message if the image is too big
              or too small after scaling. Closes bug #21028.
      ca493e0d
  13. 26 Nov, 2003 1 commit
    • Michael Natterer's avatar
      added enum values GIMP_ADD_ALPHA_MASK_TRANSFER and · e0e8a34f
      Michael Natterer authored
      2003-11-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]: added enum values
      	GIMP_ADD_ALPHA_MASK_TRANSFER and GIMP_UNDO_GROUP_LAYER_ADD_MASK.
      
      	* app/core/gimplayer.c (gimp_layer_create_mask): applied patch
      	from Pedro Gimeno which implements the new ADD_MASK type and
      	added undo. Fixes bug #127930.
      
      	* app/gui/layers-commands.c: push an undo group around layer mask
      	creation & adding since the creation may change the layer now.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      e0e8a34f
  14. 22 Nov, 2003 1 commit
    • Sven Neumann's avatar
      Fixed some selection editor problems (bug #127644): · 722fb64d
      Sven Neumann authored
      2003-11-22  Sven Neumann  <sven@gimp.org>
      
      	Fixed some selection editor problems (bug #127644):
      
      	* plug-ins/sel2path/sel2path.c: use the given image_ID, ignore the
      	drawable_ID. This plug-in doesn't operate on a drawable at all.
      
      	* plug-ins/imagemap/imap_main.c: pass a valid image_ID to sel2path.
      
      	* app/gui/vectors-commands.c: don't attempt to create a valid
      	drawable_ID for the call to sel2path since it isn't used anyway.
      
      	* app/core/gimpdrawable-stroke.c (gimp_drawable_stroke_boundary):
      	just return when being called with an empty boundary.
      722fb64d
  15. 21 Nov, 2003 1 commit
    • Michael Natterer's avatar
      forgot to declare gimp_color_display_stack_clone(). · 32bc599d
      Michael Natterer authored
      2003-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolordisplaystack.h: forgot to declare
      	gimp_color_display_stack_clone().
      
      	* app/display/gimpdisplayshell.[ch]: replaced the GList of
      	GimpColorDisplays by a single GimpColorDisplayStack.
      
      	* app/display/gimpdisplayshell-render.c
      	(gimp_display_shell_render): changed accordingly.
      
      	* app/display/gimpdisplayshell-filter.[ch]: reduced API to a
      	single function, gimp_display_shell_filter_set(), which exchanges
      	the whole filter stack. Idle update the display on
      	GimpColorDisplayStack::update().
      
      	* app/display/gimpdisplayshell-filter-dialog.[ch]: changed
      	accordingly.  Return the created dialog instead of assigning
      	shell->filters_dialog.
      
      	* app/gui/view-commands.c (view_display_filters_cmd_callback): set
      	shell->filters_dialog here and raise it it if already
      	exists. Don't use the dialog factory to create it because it's a
      	transient dialog for the display which does not need to be session
      	managed.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: removed display filter dialog stuff.
      32bc599d
  16. 18 Nov, 2003 1 commit
    • Michael Natterer's avatar
      support '|'-separated lists of dialog identifiers and raise any of them if · 56863fac
      Michael Natterer authored
      2003-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]
      	(gimp_dialog_factory_dialog_raise): support '|'-separated lists of
      	dialog identifiers and raise any of them if it is already open, or
      	the first dialog in the list otherwise.
      
      	* app/gui/dialogs-commands.c (dialogs_create_dockable_cmd_callback):
      	removed the same functionality here.
      
      	* app/gui/edit-commands.c
      	* app/tools/gimppaintoptions-gui.c
      	* app/tools/gimptextoptions.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimptoolbox-indicator-area.c: pass lists of dialog
      	identifiers to gimp_dialog_factory_dialog_raise().
      56863fac
  17. 17 Nov, 2003 1 commit
    • Michael Natterer's avatar
      app/gui/file-dialog-utils.[ch] app/gui/file-open-dialog.c · 976816a5
      Michael Natterer authored
      2003-11-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradients-commands.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimptexteditor.c
      	* libgimpwidgets/gimpfileselection.c: don't access the "ok_button"
      	and "cancel_button" members of GtkFileSelection. Instead, connect
      	to GtkDialog::response(). Feels better and reduces code which
      	depends on the to-be-deprecated GtkFileSelection. Changed border
      	widths to match the 6px border width of other GIMP dialogs.
      	File selections in plug-ins will follow...
      976816a5
  18. 16 Nov, 2003 1 commit
  19. 14 Nov, 2003 3 commits
    • Manish Singh's avatar
      add gimp_int_option_menu_set_sensitive and · ee2bfb69
      Manish Singh authored
      2003-11-14  Manish Singh  <yosh@gimp.org>
      
              * libgimpwidgets/gimpwidgets.[ch]: add
              gimp_int_option_menu_set_sensitive and gimp_int_radio_group_set_active,
              tweak docs.
      
              * app/gui/convert-dialog.c
              * app/gui/layers-commands.c
              * app/tools/gimpcolorbalancetool.c
              * app/tools/gimpcurvestool.c
              * app/tools/gimplevelstool.c
              * app/widgets/gimpcontainerpopup.c
              * app/widgets/gimphistogrameditor.c
              * app/widgets/gimppropwidgets.c
              * app/widgets/gimptemplateeditor.c
              * app/widgets/gimptexteditor.c: use them.
      ee2bfb69
    • Manish Singh's avatar
      implementedgimp_int_option_menu_new and gimp_int_radio_group_new, which · 49616080
      Manish Singh authored
      2003-11-14  Manish Singh  <yosh@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.[ch]: implementedgimp_int_option_menu_new
      	and gimp_int_radio_group_new, which are the same as
      	gimp_option_menu_new2 and gimp_radio_group_new2, but they take
      	integers as values to map instead of gpointers, which avoids casts
      	in pretty much all uses of it in the tree.
      
      	* app/gui/image-commands.c
      	* app/gui/offset-dialog.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpwidgets-constructors.c
      	* libgimpwidgets/gimpmemsizeentry.c
      	* modules/cdisplay_colorblind.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/hot.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/lic.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/mosaic.c
      	* plug-ins/common/nlfilt.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/ripple.c
      	* plug-ins/common/shift.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/struc.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/waves.c
      	* plug-ins/common/wind.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gimpressionist/color.c
      	* plug-ins/gimpressionist/orientmap.c
      	* plug-ins/gimpressionist/placement.c
      	* plug-ins/maze/maze_face.c
      	* plug-ins/sgi/sgi.c: Use gimp_int_option_menu_new and
      	gimp_int_radio_group_new.
      
      	* plug-ins/common/CML_explorer.c: make function_graph_new take a
      	gpointer *data instead of a gpointer data, and properly pass an
      	int through it.
      
      	* plug-ins/common/mng.c: mark menu strings for translation.
      
      	* plug-ins/rcm/rcm.c: remove initialization for Success member
      	in RcmParams, since it's gone now.
      49616080
    • Michael Natterer's avatar
      libgimpwidgets/gimpquerybox.c configure the labels in the message dialog · 6eb77294
      Michael Natterer authored
      2003-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpquerybox.c
      	* app/widgets/gimpwidgets-utils.c: configure the labels in the
      	message dialog and the query boxes to do automatic word wrapping
      	to be HIG compliant.
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-path.c
      	* app/config/gimpconfig-utils.c
      	* app/config/gimpconfigwriter.c
      	* app/config/gimpscanner.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-utils.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs-commands.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-select.c
      	* app/gui/palettes-commands.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/stroke-dialog.c
      	* app/gui/tool-options-menu.c
      	* app/gui/vectors-commands.c
      	* app/gui/view-commands.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/image.pdb: removed explicit newlines from
      	messages. Reduced number of translatable strings by making many
      	file error messages the same. Quote single words and filenames
      	with 'foo', not "foo". Replaced some more "drawable" by "layer".
      	General message cleanup and consistency check.
      
      	* app/pdb/image_cmds.c: regenerated.
      6eb77294
  20. 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
  21. 10 Nov, 2003 3 commits
    • 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
    • Michael Natterer's avatar
      don't call tool_manager_initialize_active() with a NULL GimpDisplay. Fixes · 429313f5
      Michael Natterer authored
      2003-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/tools-commands.c (tools_select_cmd_callback): don't
      	call tool_manager_initialize_active() with a NULL GimpDisplay.
      	Fixes bug #126462.
      429313f5
    • Michael Natterer's avatar
      removed the "Move to Screen" hack. · 729ff4fa
      Michael Natterer authored
      2003-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c: removed the
      	"Move to Screen" hack.
      
      	* app/gui/dialogs-commands.[ch]
      	* app/gui/view-commands.[ch]
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c: added proper menu items to the
      	<Image>/View and the <Dialogs> menus so all image windows and
      	docks can be sent to other screens. Hide the menu items when
      	there is just one screen.
      
      	* app/widgets/gimphelp-ids.h: new help IDd for the new menu items.
      729ff4fa
  22. 09 Nov, 2003 1 commit
    • Michael Natterer's avatar
      app/gui/file-commands.[ch] app/gui/file-dialog-utils.[ch] · 9b6f0cd3
      Michael Natterer authored
      2003-11-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-commands.[ch]
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gradients-commands.c
      	* app/gui/vectors-commands.c
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimperrorconsole.c
      	* libgimpwidgets/gimpfileselection.c: show file selections on
      	their parent widget's screen.
      9b6f0cd3
  23. 08 Nov, 2003 1 commit
    • Michael Natterer's avatar
      To be multihead safe, each new window or menu needs to be associated with · bcd9794a
      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 addordingly. Changed all
      	menu_position funcs to place the menu on the right screen.
      bcd9794a
  24. 07 Nov, 2003 3 commits
    • Michael Natterer's avatar
      added "wm_name", "wm_class", "display_name" and "monitor_number" to the · efd9a3e1
      Michael Natterer authored
      2003-11-07  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpprotocol.[ch]: added "wm_name", "wm_class",
      	"display_name" and "monitor_number" to the GPConfig message.
      	Increased protocol version number.
      
      	* libgimp/gimp.[ch] (gimp_config): read them from the GPConfig
      	message and remember them.
      	Added public accessors for the new config values.
      
      	* libgimp/gimpui.c (gimp_ui_init): pass wm_name and wm_class to
      	gtk_init() and export the display/screen to use to the
      	environment.
      
      	* app/core/gimp.[ch]: added vtable entries to get the values
      	from the GUI.
      
      	* app/gui/gui-vtable.c: implement the vtable entries.
      
      	* app/plug-in/plug-in-run.c: fill in the GPConfig values using
      	the new Gimp vtable functions.
      
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/channels-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/grid-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* 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/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/splash.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.[ch]
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c
      	* plug-ins/helpbrowser/dialog.c
      	* plug-ins/ifscompose/ifscompose.c: replaced all calls to
      	gtk_window_set_wmclass() by gtk_window_set_role() and all
      	"const gchar *wmclass_name" parameters by "const gchar *role".
      	Cleaned up the window role strings.
      efd9a3e1
    • Simon Budig's avatar
      New function that appends a duplicate of the source vectors strokes to the · 31f7e362
      Simon Budig authored
      2003-11-07 Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors.[ch]: New function that appends a
      	duplicate of the source vectors strokes to the list of strokes
      	of a target vectors object.
      
      	* app/core/gimpimage-merge.[ch]
      	* app/core/core-enums.h: Use this new function to merge
      	the visible vectors in an Image. New Undo type for vectors merging.
      
      	* app/core/core-enums.c: regenerated.
      
      	* app/gui/vectors-menu.c
      	* app/gui/vectors-commands.[ch]
      	* app/widgets/gimphelp-ids.h: New Menu entry + callback to invoke
      	the merge functionality. New Help ID for the menu entry.
      31f7e362
    • Michael Natterer's avatar
      fixed typo in dialog title. · f34d6e2d
      Michael Natterer authored
      2003-11-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/tool-options-commands.c
      	(tool_options_rename_saved_cmd_callback): fixed typo in dialog title.
      f34d6e2d
  25. 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
  26. 01 Nov, 2003 1 commit
    • Manish Singh's avatar
      Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x. Add · 3b6318bf
      Manish Singh authored
      2003-11-01  Manish Singh  <yosh@gimp.org>
      
              * configure.in: Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x.
              Add -DGDK_MULTIHEAD_SAFE.
      
              * app/config/test-config.c: use guints for strlen()
      
              * app/gui/gui.c
              * app/gui/info-window.c
              * app/gui/menus.c
              * app/widgets/gimpcontainerview.c
              * app/widgets/gimpcursor.c
              * app/widgets/gimpdevices.c
              * app/widgets/gimpdevicestatus.c
              * app/widgets/gimpimagedock.c
              * app/widgets/gimpitemfactory.c
              * app/widgets/gimpnavigationpreview.c
              * app/widgets/gimptoolbox.c
              * app/widgets/gimptooloptionseditor.c
              * app/widgets/gimpwidgets-utils.c
              * libgimp/gimpbrushmenu.c
              * libgimp/gimppatternmenu.c
              * libgimp/gimpui.c
              * plug-ins/FractalExplorer/Dialogs.c
              * plug-ins/FractalExplorer/FractalExplorer.c
              * plug-ins/common/screenshot.c
              * plug-ins/gimpressionist/gimpressionist.c: more GDK_MULTIHEAD_SAFE
              fixes.
      
              * plug-ins/common/wmf.c: #undef GDK_MULTIHEAD_SAFE.. this plug-in
              is going away anyway.
      
              * app/widgets/gimpcursor.h: add #warning about needing a proper
              multihead safe API.
      
              * app/gui/vectors-commands.c: s/clipoard/clipboard/
      3b6318bf
  27. 27 Oct, 2003 1 commit
    • Michael Natterer's avatar
      stop using the deprecated GtkTipsQuery widget for context help and · a8309a7d
      Michael Natterer authored
      2003-10-27  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.c: stop using the deprecated
      	GtkTipsQuery widget for context help and implement the needed part
      	of its functionality using a grab on a GtkInvisible. Should stop
      	GIMP crashing with Gtk+ HEAD.
      
      	* libgimpwidgets/gimphelpui.[ch] (gimp_context_help): requires
      	a GtkWidget parameter now (finding the correct GdkScreen).
      
      	* app/gui/help-commands.c (help_context_help_cmd_callback):
      	changed accordingly.
      a8309a7d
  28. 18 Oct, 2003 2 commits
    • Sven Neumann's avatar
      added an (unused) GimpTemplate parameter to make this function match the · f68d05c9
      Sven Neumann authored
      2003-10-18  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/templates-commands.[ch] (templates_new_template_dialog):
      	added an (unused) GimpTemplate parameter to make this function
      	match the GimpTemplateActionFunc signature.
      f68d05c9
    • Michael Natterer's avatar
      added gimp_container_freeze() / _thaw() around font list reloading. · 78b61533
      Michael Natterer authored
      2003-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/text/gimp-fonts.c (gimp_fonts_load): added
      	gimp_container_freeze() / _thaw() around font list reloading.
      
      	* app/tools/gimp-tools.c (gimp_tools_init): added missing
      	gimp_container_freeze().
      
      	* app/widgets/gimpcontainerview.c: connect to the container's
      	"freeze" and "thaw" signals and empty / refill the view
      	accordingly. Ignore "add", "remove" and "reorder" signals while
      	the container is frozen. Fixes font list sorting after refresh and
      	speeds up refreshing of fonts, brushes, patterns etc.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpfontview.[ch]: new widget for the font list/grid.
      
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_FONT_REFRESH.
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      	* app/gui/Makefile.am
      	* app/gui/fonts-commands.[ch]
      	* app/gui/fonts-menu.[ch]: new files: a menu for the font view.
      
      	* app/gui/menus.c (menus_init): register the new <Fonts> menu.
      
      	* app/gui/preferences-dialog.c (prefs_dialog_new): removed the
      	fonts refreshing hack from the "Environment" page.
      78b61533
  29. 14 Oct, 2003 1 commit
    • Sven Neumann's avatar
      removed gimp_config_copy_properties() and added the more intelligent · 737da424
      Sven Neumann authored
      2003-10-14  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-utils.[ch]: removed
      	gimp_config_copy_properties() and added the more intelligent
      	gimp_config_sync() instead.
      
      	* app/config/Makefile.am
      	* app/config/config-types.h
      	* app/config/gimpcoreconfig.[ch]
      	* app/config/gimprc-blurbs.h: replaced default image properties
      	with a single GimpTemplate object property. Changed the
      	set_property function to not replace aggregate objects but call
      	gimp_config_sync() instead.
      
      	* app/tools/gimptextoptions.c (gimp_text_options_set_property):
      	same change here.
      
      	* app/config/gimpconfig.[ch]: changed return value of
      	gimp_config_duplicate() to gpointer to avoid some casts that only
      	made the code harder to read.
      
      	* app/widgets/gimptemplateeditor.[ch]: don't keep an internal copy
      	here but edit the GimpTemplate passed when the editor was
      	constructed.
      
      	* app/gui/preferences-dialog.c: use a GimpTemplateEditor to allow
      	editing of the default image paramaters.
      
      	* app/config/gimprc.c
      	* app/core/core-types.h
      	* app/core/gimp.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-grid.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage.c
      	* app/core/gimptemplate.[ch]
      	* app/gui/file-new-dialog.c
      	* app/gui/grid-dialog.c
      	* app/gui/info-window.c
      	* app/gui/resize-dialog.c
      	* app/gui/templates-commands.[ch]
      	* app/gui/tool-options-commands.c
      	* app/text/gimptextlayer.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimptemplateview.c
      	* app/xcf/xcf-load.c: changed accordingly.
      737da424
  30. 13 Oct, 2003 1 commit
    • Michael Natterer's avatar
      renamed gimp_dialog_factories_idle() and _unidle() to · 2b0c0513
      Michael Natterer authored
      2003-10-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: renamed
      	gimp_dialog_factories_idle() and _unidle() to
      	gimp_dialog_factories_set_busy() and _unset_busy().
      	Added utility function gimp_dialog_factory_set_widget_data() and
      	public API gimp_dialog_factory_from_widget() so we don't need to
      	g_object_[set|get]_data() with magic keys all over the place.
      
      	* app/widgets/gimpsessioninfo.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-menu.c
      	* app/gui/gui-vtable.c: changed accordingly.
      
      	* app/widgets/gimpsessioninfo.c: remember active page of all dock
      	notebooks in sessionrc.
      
      	* app/widgets/gimpsessioninfo.h: cleaned up the session info structs.
      2b0c0513
  31. 11 Oct, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/widgets-types.h added new struct GimpSessionInfoAux which · b136228d
      Michael Natterer authored
      2003-10-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpsessioninfo.[ch]: added new struct
      	GimpSessionInfoAux which contains "gchar *name" and "gchar *value".
      	Changed sessionrc "aux-info" format again to be really extendable
      	this time. Also breaks everybody's sessionrc again.
      
      	* app/widgets/gimpimagedock.c
      	* etc/sessionrc: changed accordingly.
      
      	Implemented the stuff suggested in bug #122964. Fixes bug #122964
      	and bug #52206:
      
      	* app/widgets/gimpdataeditor.[ch]: replaced the "Gimp" member by a
      	"GimpDataFactory" and changed gimp_data_editor_construct()
      	accordingly. Implement GimpDockedInterface::set_aux_info() and
      	get_aux_info() and remember the currently edited data across
      	sessions.
      
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradient-editor-menu.c
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppaletteeditor.c: changed accordingly.
      
      	* app/widgets/gimpcoloreditor.c: remember the active color
      	selector across sessions.
      b136228d