1. 26 May, 2004 7 commits
    • Michael Natterer's avatar
      app/paint/gimpbrushcore.h some cleanup. · 94d256a1
      Michael Natterer authored
      2004-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpbrushcore.h
      	* app/paint/gimppaintcore.h: some cleanup.
      94d256a1
    • Marco Ciampa's avatar
      Updated italian translation · 557c8465
      Marco Ciampa authored
      557c8465
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-layer-select.c app/display/gimpprogress.c · c0783a91
      Sven Neumann authored
      2004-05-26  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpprogress.c
      	* app/gui/brush-select.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/info-dialog.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/stroke-dialog.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpcolordisplayeditor.c
      	* app/widgets/gimpcolorframe.c
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpviewabledialog.c: adjusted dialog spacings.
      c0783a91
    • Michael Natterer's avatar
      don't do special stuff if a virtual function doesn't exist. Instead, added · 552fc7a5
      Michael Natterer authored
      2004-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.c: don't do special stuff if a virtual
      	function doesn't exist. Instead, added default implementations
      	which do the special stuff and call the virtual functions
      	unconditionally.
      
      	* app/tools/gimppainttool.c: some stylistic cleanup.
      552fc7a5
    • Michael Natterer's avatar
      replaced the "MaskBuf *paint_mask" parameters by "PixelRegion · 06a976ce
      Michael Natterer authored
      2004-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.[ch] (gimp_paint_core_paste)
      	(gimp_paint_core_replace): replaced the "MaskBuf *paint_mask"
      	parameters by "PixelRegion *mask_bufPR", so subclasses can pass in
      	any kind of paint_mask buffer and are not restricted to MaskBufs.
      
      	Also removes implicit knowledge about the MaskBuf originating from
      	a brush in paint_mask_to_canvas_buf() and _to_canvas_tiles() which
      	don't need to offset the mask by width/2 height/2 any more.
      
      	Made gimp_paint_core_validate_undo_tiles() and
      	gimp_paint_core_validate_canvas_tiles() protected functions.
      
      	* app/paint/gimpbrushcore.c (gimp_brush_core_paste_canvas)
      	(gimp_brush_core_replace_canvas): create correctly positioned
      	PixelRegions from the MaskBufs before passing them to the
      	paint_core.
      06a976ce
    • Michael Natterer's avatar
      removed "gdouble scale" parameter and added "GimpPaintOptions" in · 1bdb42bc
      Michael Natterer authored
      2004-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimppaintcore.[ch]: removed "gdouble scale" parameter
      	and added "GimpPaintOptions" in GimpPaintCore::get_paint_area().
      	Check if virtual functions exist befoe calling them.
      
      	* app/paint/gimpbrushcore.[ch]: added "gdouble scale" to GimpBrushCore
      	and "gboolean use_scale" to GimpBrushCoreClass (defaults to TRUE).
      	Set scale from paint_options in GimpPaintCore::get_paint_area().
      	Removed "scale" parameter from gimp_brush_core_paste_canvas()
      	and _replace_canvas().
      
      	* app/paint/gimpsmudge.c (gimp_smudge_class_init): set use_scale
      	to FALSE.
      
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c: removed all scale calculations and
      	simply pass paint_options to GimpPaintCore::get_paint_area().
      1bdb42bc
    • Michael Natterer's avatar
      check if the GimpPaintCore really is a GimpBrushCore before catsting and · 080b503f
      Michael Natterer authored
      2004-05-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_button_press): check
      	if the GimpPaintCore really is a GimpBrushCore before catsting and
      	fiddling with internaly.
      080b503f
  2. 25 May, 2004 10 commits
    • Michael Natterer's avatar
      app/paint/Makefile.am app/paint/gimpbrushcore-kernels.h new GimpPaintCore · 9a41a73d
      Michael Natterer authored
      2004-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/Makefile.am
      	* app/paint/gimpbrushcore-kernels.h
      	* app/paint/gimpbrushcore.[ch]: new GimpPaintCore subclass
      	containing all the brush painting specific stuff.
      
      	* app/paint/gimppaintcore-kernels.h: removed this file.
      
      	* app/paint/gimppaintcore.[ch]: removed all brush stuff.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.[ch]
      	* app/paint/gimpconvolve.[ch]
      	* app/paint/gimpdodgeburn.[ch]
      	* app/paint/gimperaser.[ch]
      	* app/paint/gimppaintbrush.[ch]
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.[ch]: changed accordingly. Derive all
      	classes which used to derive directly from GimpPaintCore from
      	GimpBrushCore now. Lots of cleanup.
      
      	* app/paint/paint-types.h
      	* app/paint/gimp-paint.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/tools/gimppainttool.c
      	* tools/kernelgen.c: changed accordingly.
      9a41a73d
    • Maurits Rijk's avatar
      Use HIG capitalization style. Added GPL license in a few places. · 013cc9c3
      Maurits Rijk authored
      Minor code clean-up.
      013cc9c3
    • Sven Neumann's avatar
      applied a patch graciously provided by "biroa" (bug #143125). · 9158152f
      Sven Neumann authored
      2004-05-25  Sven Neumann  <sven@gimp.org>
      
      	* gimp-tips.xml.in: applied a patch graciously provided by "biroa"
      	(bug #143125).
      9158152f
    • Sven Neumann's avatar
      oops · 01ae1bde
      Sven Neumann authored
      01ae1bde
    • Sven Neumann's avatar
      Sorry, couldn't resist to finish this task... · 3c56b0e6
      Sven Neumann authored
      2004-05-25  Sven Neumann  <sven@gimp.org>
      
      	Sorry, couldn't resist to finish this task...
      
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c: HIG-ified.
      3c56b0e6
    • Sven Neumann's avatar
      plug-ins/gimpressionist/brush.c plug-ins/gimpressionist/color.c · de4a0e9a
      Sven Neumann authored
      2004-05-25  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gimpressionist/brush.c
      	* plug-ins/gimpressionist/color.c
      	* plug-ins/gimpressionist/general.c
      	* plug-ins/gimpressionist/gimpressionist.[ch]
      	* plug-ins/gimpressionist/orientation.c
      	* plug-ins/gimpressionist/orientmap.c
      	* plug-ins/gimpressionist/paper.c
      	* plug-ins/gimpressionist/placement.c
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/gimpressionist/preview.c
      	* plug-ins/gimpressionist/size.c
      	* plug-ins/gimpressionist/sizemap.c: HIG-ified.
      de4a0e9a
    • Michael Natterer's avatar
      added GimpContext parameters to GimpActivateItemFunc, GimpNewItemFunc and · 18d2d499
      Michael Natterer authored
      2004-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpitemtreeview.h: added GimpContext parameters
      	to GimpActivateItemFunc, GimpNewItemFunc and GimpEditItemFunc.
      
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpitemtreeview.c: pass the view's context to
      	the functions.
      
      	* app/actions/actions.c (action_data_get_context): return
      	gimp_get_user_context() if "data" is a Gimp.
      
      	* app/actions/channels-commands.[ch]
      	* app/actions/layers-commands.[ch]
      	* app/actions/vectors-commands.[ch]: added GimpContext parameters
      	to the resp. activate, new and edit functions and use the passed
      	context instead of gimp_get_user_context().
      
      	* app/actions/layers-commands.[ch]: removed the merge and flatten
      	callbacks.
      
      	* app/actions/image-commands.[ch]: made public layer merge utility
      	function private and cleaned the whole file up a lot.
      
      	* app/actions/layers-actions.c: use the callbacks from
      	image-commands.c for merge and flatten.
      
      	* app/actions/edit-commands.c
      	* app/actions/file-commands.c
      	* app/actions/select-commands.c: use action_data_get_context()
      	instead of gimp_get_user_context().
      
      	* app/actions/edit-actions.c: some cleanup.
      18d2d499
    • Sven Neumann's avatar
      plug-ins/common/plugindetails.c plug-ins/dbbrowser/dbbrowser_utils.c · f39cbb84
      Sven Neumann authored
      2004-05-25  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/plugindetails.c
      	* plug-ins/dbbrowser/dbbrowser_utils.c
      	* plug-ins/pagecurl/pagecurl.c: HIG-ified.
      f39cbb84
    • Sven Neumann's avatar
      plug-ins/print/gimp_color_window.c HIG-ified and ported to GtkFileChooser. · 12d9a446
      Sven Neumann authored
      2004-05-25  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/gimp_color_window.c
      	* plug-ins/print/gimp_main_window.c: HIG-ified and ported to
      	GtkFileChooser.
      
      	* plug-ins/ifscompose/ifscompose.c (ifsfile_load_response): ported
      	forgotten callback to GtkFileChooser.
      
      	* plug-ins/imagemap/imap_browse.c
      	* plug-ins/imagemap/imap_file.c: finished port to GtkFileChooser.
      12d9a446
    • Michael Natterer's avatar
      app/actions/file-actions.c removed action "file-new", added action · fe03c384
      Michael Natterer authored
      2004-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-actions.c
      	* app/actions/file-commands.[ch]: removed action "file-new", added
      	action "file-open-from-image".
      
      	* app/actions/image-actions.c
      	* app/actions/image-commands.[ch]: added actions "image-new" and
      	"image-new-from-image".
      
      	* menus/image-menu.xml.in: use the "-from-image" variants of
      	the "new" and "open" actions so the dialogs are preconfigured
      	from the image they were invoked from (regression fix).
      
      	* menus/toolbox-menu.xml.in: s/file-new/image-new/.
      fe03c384
  3. 24 May, 2004 14 commits
    • Sven Neumann's avatar
      plug-ins/rcm/rcm.h rearranged and HIG-ified dialog. · f70caa9c
      Sven Neumann authored
      2004-05-24  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/rcm/rcm.h
      	* plug-ins/rcm/rcm_dialog.[ch]: rearranged and HIG-ified dialog.
      f70caa9c
    • Michael Natterer's avatar
      fixed braino · b058c8d8
      Michael Natterer authored
      b058c8d8
    • Michael Natterer's avatar
      added an evil hack as workaround for the missing · 6f7eb2fd
      Michael Natterer authored
      2004-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimptoolbox.c (toolbox_create_tools): added an evil
      	hack as workaround for the missing gtk_action_get_accel_closure().
      	Re-enables accelerator display in the tool button labels.
      6f7eb2fd
    • Michael Natterer's avatar
      app/Makefile.am app/app-docs.sgml updated after moving around gimpcoords · f98a996a
      Michael Natterer authored
      2004-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/app-docs.sgml
      	* app/app-sections.txt: updated after moving around gimpcoords stuff.
      f98a996a
    • Michael Natterer's avatar
      app/vectors/Makefile.am removed... · 0d05d1e7
      Michael Natterer authored
      2004-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/vectors/Makefile.am
      	* app/vectors/gimpcoordmath.[ch]: removed...
      
      	* app/core/Makefile.am
      	* app/core/gimpcoords.[ch]: ...and added without the "bezier"
      	namespace.
      
      	* app/vectors/gimpbezierstroke.c: changed accordingly.
      
      	* app/Makefile.am: force it to link gimpcoords.o
      0d05d1e7
    • Michael Natterer's avatar
      fixed docs for interfaces. · 30c3e036
      Michael Natterer authored
      2004-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/app-sections.txt: fixed docs for interfaces.
      30c3e036
    • Michael Natterer's avatar
      app/Makefile.am app/app-docs.sgml app/app-sections.txt updated to include · 241d59f1
      Michael Natterer authored
      2004-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/app-docs.sgml
      	* app/app-sections.txt
      	* app/app.types: updated to include the new actions/ and menus/
      	directories. Lots of fixes and cleanups. Still stuff to do...
      241d59f1
    • Michael Natterer's avatar
      app/config/gimpconfigwriter.c app/core/gimpstrokeoptions.c · 94010e83
      Michael Natterer authored
      2004-05-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfigwriter.c
      	* app/core/gimpstrokeoptions.c
      	* app/widgets/gimpactiongroup.c
      	* app/widgets/gimpcolorframe.h
      	* app/widgets/gimpcolorpanel.h
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimptooldialog.h
      	* app/widgets/gimpuimanager.c
      	* app/widgets/widgets-types.h: fixed various small issues I
      	stumbled across when updating the API reference for app/.
      94010e83
    • Sven Neumann's avatar
      removed debugging output. · 84db7b13
      Sven Neumann authored
      2004-05-24  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpscalecombobox.c
      	(gimp_scale_combo_box_mru_remove_last): removed debugging output.
      84db7b13
    • Sven Neumann's avatar
      derive GimpToolInfo from GimpViewable, it doesn't make sense for it to be · 51928a4a
      Sven Neumann authored
      2004-05-24  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimptoolinfo.[ch]: derive GimpToolInfo from
      	GimpViewable, it doesn't make sense for it to be a GimpData.
      
      	* app/widgets/gimptooloptionseditor.c
      	(gimp_tool_options_editor_get_title): do not append " Options" to
      	the tool name. Fixes bug #142280.
      51928a4a
    • Sven Neumann's avatar
      fixed range check of blur type parameter (bug #142965). · 673939f2
      Sven Neumann authored
      2004-05-24  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/mblur.c: fixed range check of blur type
      	parameter (bug #142965).
      673939f2
    • Sven Neumann's avatar
      fixed a compiler warning. · 1c860eb1
      Sven Neumann authored
      2004-05-24  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/maze/maze_face.c: fixed a compiler warning.
      
      2004-05-24  Sven Neumann  <sven@gimp.org>
      
      	Applied a patch from Philip Lafleur (bug #142808):
      
      	* app/paint/gimppaintcore.h: define PRESSURE_SCALE to 1.5
      
      	* 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/gimpsmudge.c: use the PRESSURE_SCALE constant.
      1c860eb1
    • Michael Natterer's avatar
      Long overdue core container cleanup: · 1c62ddef
      Michael Natterer authored
      2004-05-24  Michael Natterer  <mitch@gimp.org>
      
      	Long overdue core container cleanup:
      
      	* app/core/gimplist.[ch]: added "unique-names" and "sort-func"
      	properties and merged the resp. code from GimpDataList into
      	GimpList. Removed "policy" parameters from gimp_list_new() and
      	added "unique_names". Added new constructor gimp_list_new_weak().
      	Made public function gimp_list_uniquefy_name() private.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpdatalist.[ch]: removed. Its functionality is
      	entirely in GimpList now.
      
      	* app/core/gimpdata.[ch]: added gimp_data_name_compare() which
      	used to live in GimpDataList.
      
      	* app/core/gimp.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpimage.c
      	* app/core/gimptoolinfo.c
      	* app/core/gimpundostack.c
      	* app/paint/gimp-paint.c
      	* app/tools/gimp-tools.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimpundoeditor.c: changed list creation accordingly.
      
      	Made gimp->templates, gimp->named_buffers, tool_info->presets and
      	the image's lists of layers, channels and vectors automatically
      	ensure unique names.
      
      	* app/widgets/gimptemplateview.c
      	* app/actions/file-commands.c
      	* app/actions/templates-commands.c
      	* app/actions/tool-options-commands.c: removed calls to
      	gimp_list_uniquefy_name().
      
      	* app/core/gimpitem.c: removed major insanity where the items
      	themselves where ensuring their unique names. Bah!
      
      	* app/core/gimplayer.c (gimp_layer_name_changed): chain up
      	conditionally.
      
      	* app/core/gimplayermask.c (gimp_layer_mask_name_changed): removed
      	because there is no need any more to keep the parent
      	implementation from being invoked.
      1c62ddef
    • Marco Ciampa's avatar
      Updated italian translation · d3c7f3fd
      Marco Ciampa authored
      d3c7f3fd
  4. 23 May, 2004 9 commits
    • Sven Neumann's avatar
      More fixes for bug #142996: · 55ab459d
      Sven Neumann authored
      2004-05-23  Sven Neumann  <sven@gimp.org>
      
      	More fixes for bug #142996:
      
      	* plug-ins/common/postscript.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/fits/fits.c: fixed typos.
      55ab459d
    • Sven Neumann's avatar
      Fixes for bug #142996: · 073576db
      Sven Neumann authored
      2004-05-23  Sven Neumann  <sven@gimp.org>
      
      	Fixes for bug #142996:
      
      	* app/gui/preferences-dialog.c: added missing gettext call.
      
      	* app/config/gimprc-blurbs.h
      	* app/core/gimptemplate.c
      	* app/gui/gradient-editor-menu.c: fixed typos.
      073576db
    • Sven Neumann's avatar
      added lt.po (Lithuanian). · 144595a6
      Sven Neumann authored
      2004-05-23  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am (tips_POFILES): added lt.po (Lithuanian).
      144595a6
    • Michael Natterer's avatar
      code cleanup, no logic changed. · 0323b9b5
      Michael Natterer authored
      2004-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdatalist.c: code cleanup, no logic changed.
      0323b9b5
    • Henrik Brix Andersen's avatar
      added plug-ins/MapObject/mapobject_apply.c and plug-ins/maze/maze.h. Fixes · 58e6a476
      Henrik Brix Andersen authored
      2004-05-23 Henrik Brix Andersen <brix@gimp.org>
      
      * po-plugins/POTFILES.in: added plug-ins/MapObject/mapobject_apply.c
      and plug-ins/maze/maze.h. Fixes part of bug #142996
      
      * app/config/gimprc-blurbs.h
      * plug-ins/gfig/gfig-spiral.c (spiral_button_press)
      * plug-ins/gimpressionist/orientation.c (create_orientationpage)
      * plug-ins/common/diffraction.c (diffraction_dialog)
      * plug-ins/common/bumpmap.c (bumpmap_dialog)
      * plug-ins/maze/maze.h
      * plug-ins/MapObject/mapobject_apply.c (compute_image)
      * app/tools/gimpmeasuretool.c (gimp_measure_tool_dialog_update)
      * plug-ins/print/gimp_main_window.c (create_scaling_frame): marked
      strings for translation, corrected small typos. Fixes part of bug
      #142996
      58e6a476
    • Zygimantas Berucka's avatar
      Added "lt" to ALL_LINGUAS. · 7964ab05
      Zygimantas Berucka authored
      2004-05-23  Zygimantas Berucka  <uid0@akl.lt>
      
      	* configure.in: Added "lt" to ALL_LINGUAS.
      7964ab05
    • Michael Schumacher's avatar
      gimp_register_file_handler_mime added · e9259c09
      Michael Schumacher authored
      * libgimp/gimp.def: gimp_register_file_handler_mime added
      e9259c09
    • Zygimantas Berucka's avatar
      Added Lithuanian translation. · 126b0660
      Zygimantas Berucka authored
      2004-05-23  Zygimantas Berucka  <uid0@akl.lt>
      
      * lt.po: Added Lithuanian translation.
      126b0660
    • Michael Natterer's avatar
      reoedered to somehow reflect the class hierarchy. · 43cdd54d
      Michael Natterer authored
      2004-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h: reoedered to somehow reflect the
      	class hierarchy.
      
      	Some dockable context handling cleanup:
      
      	* app/widgets/gimpdocked.[ch]: removed "prev_context" parameter
      	from GimpDocked::set_context(). Widgets which need the old context
      	to disconnect from should remember it themselves.
      
      	* app/widgets/gimpdockable.c (gimp_dockable_set_context): don't
      	pass the old context to gimp_docked_set_context().
      	Some cleanup.
      
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainereditor.c: changed accordingly.
      
      	* app/display/gimpnavigationview.[ch]
      	* app/widgets/gimpimageeditor.[ch]
      	* app/widgets/gimpitemtreeview.[ch]: added a "context" member
      	which holds the context set by GimpDocked::set_context().
      
      	* app/widgets/gimpdrawabletreeview.c: use the view's context
      	instead of gimp_get_user_context().
      
      	* app/widgets/gimpcoloreditor.[ch]: removed separate API to
      	set the context because it implements the GimpDockedInterface.
      
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimperrorconsole.c: pass "menu-factory",
      	"menu-identifier" and "ui-path" to g_object_new() instead of
      	calling gimp_editor_create_menu() later.
      
      	Action cleanup partly related to the context stuff above:
      
      	* app/actions/actions.c (action_data_get_gimp): get the Gimp from
      	context->gimp, not gimage->gimp because gimage may be NULL.
      
      	(action_data_get_context): changed to use the new context members
      	added above.
      
      	* app/actions/channels-actions.c (channels_actions_update): cleanup.
      
      	* app/actions/edit-actions.c (edit_actions_update): fixed
      	sensitivity of "edit-undo-clear".
      
      	* app/actions/vectors-actions.c (vectors_actions_update): make
      	"vectors-merge-visible" sensitive only if there is more than one
      	GimpVectors in the image.
      
      	* app/actions/colormap-editor-actions.c
      	* app/actions/gradient-editor-actions.c
      	* app/actions/palette-editor-actions.c: added FG/BG color previews
      	to actions which take colors from them. Changed code to be safe
      	against "context" being NULL.
      
      	* app/actions/drawable-commands.c:
      	s/active_drawable/drawable/g. Makes the code more readable.
      
      	* app/actions/select-commands.[ch]
      	* app/actions/vectors-commands.[ch]: removed public stroke utility
      	functions and other stuff which is not needed any more because
      	dialog buttons invoke the correct actions now. Moved the
      	functions' code to the resp. action callbacks.
      43cdd54d