Commit Graph

8729 Commits

Author SHA1 Message Date
Pablo Gonzalo del Campo 83cd0daf40 Updated Spanish translation.
2003-06-10  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-06-10 19:04:03 +00:00
Sven Neumann addba61b08 added utility function gimp_rgb_get_gdk_color(), documented
2003-06-10  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: added utility function
	gimp_rgb_get_gdk_color(), documented gimp_get_screen_resolution().

	* app/widgets/gimppreviewrenderer.c
	(gimp_preview_renderer_set_border_color)
	* app/display/gimpdisplayshell-appearance.c
	(gimp_display_shell_set_padding): use the new function.
2003-06-10 16:44:44 +00:00
Yuri Syrota 55eea34f1c Updated Ukrainian translations 2003-06-10 15:00:45 +00:00
Sven Neumann b39f8fb809 expects the tool identifier as a GQuark now.
2003-06-10  Sven Neumann  <sven@gimp.org>

	* app/gui/tools-commands.c (tools_select_cmd_callback): expects
	the tool identifier as a GQuark now.

	* app/gui/image-menu.c: changed accordingly. Removed code that
	used to move the menu entries for the color correction tools to
	the Layers menu. Added the respective menu entries by hand. Added
	a menu entry for arbitrary rotations and one for Select by Color.

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c: register the color correction
	tools in the Tools menu.

	* app/tools/gimptransformtool.c: added an initialize method and
	moved most initalization code from button_press to this place.
2003-06-10 14:31:53 +00:00
Michael Natterer cee14a8d9a treeviewized and undeprecated. Enabled multiple selection and DND
2003-06-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/film.c: treeviewized and undeprecated. Enabled
	multiple selection and DND reordering.
2003-06-10 13:19:22 +00:00
Michael Natterer 7a04ec894c added an undo group around all operations.
2003-06-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/coffee.scm: added an undo group
	around all operations.

	* plug-ins/script-fu/scripts/distress-selection.scm: replaced
	undo disable/enable by an undo group.

	Together fixes bug #114493. Removed weird spacing and indented
	both scripts to make them readable.
2003-06-10 12:57:27 +00:00
Jan Morén 09b01b021b Updated Swedish translation.
2003-06-10  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-10 07:56:37 +00:00
Kwok-Koon Cheung 6de9da6e02 Updated traditional Chinese translation 2003-06-10 03:13:12 +00:00
Sven Neumann 8f2d986688 Made 1.3.15 release.
2003-06-09  Sven Neumann  <sven@gimp.org>

        * Made 1.3.15 release.
2003-06-09 23:28:50 +00:00
Sven Neumann 67dbecc926 configure.in use automake conditionals for subdirectories so that they
2003-06-09  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am: use automake conditionals for
	subdirectories so that they will always be included in the
	tarball.
2003-06-09 15:29:20 +00:00
Sven Neumann 58b975a4f2 now that blend_pixels() behaves correctly, we can simply initialize the
2003-06-09  Sven Neumann  <sven@gimp.org>

	* app/paint/gimpsmudge.c (gimp_smudge_start): now that
	blend_pixels() behaves correctly, we can simply initialize the
	smudge buffer with transparent pixels.
2003-06-09 15:24:30 +00:00
Sven Neumann 32bab29f18 weight pixels by their alpha value. Fixes the smudge tool (bug #72879).
2003-06-09  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/paint-funcs-generic.h (blend_pixels): weight
	pixels by their alpha value. Fixes the smudge tool (bug #72879).
2003-06-09 15:05:57 +00:00
Sven Neumann 9d984fb1d2 use a GimpScaleEntry for SF_SLIDER adjustments (bug #114509).
2003-06-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_interface):
	use a GimpScaleEntry for SF_SLIDER adjustments (bug #114509).
2003-06-09 14:17:57 +00:00
Maurits Rijk 72e401582a Fix for #113445 (Again) 2003-06-08 20:57:31 +00:00
Abel Cheung e5ca318a5e Removed, it contains only one completely broken string.
2003-06-08  Abel Cheung  <maddog@linux.org.hk>

	* uk.po: Removed, it contains only one completely broken string.
2003-06-08 09:46:55 +00:00
Kwok-Koon Cheung bf459e8e2d Add missing files to POTFILES.in/skip 2003-06-08 09:24:59 +00:00
Michael Natterer 5c5ff60858 pack the main table expanding, not shrinking. Fixes bug #114656.
2003-06-08  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfontselection-dialog.c
	(gimp_font_selection_dialog_new): pack the main table expanding,
	not shrinking. Fixes bug #114656.
2003-06-08 00:51:09 +00:00
Jan Morén c6006ac884 Updated Swedish translation.
2003-06-07  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-07 09:47:57 +00:00
Michael Natterer 5abd43b81e added a default spacing of two pixels between the entry end the menu.
2003-06-06  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpmemsizeentry.c: added a default spacing of
	two pixels between the entry end the menu. Random cleanups.
2003-06-06 18:22:46 +00:00
Sven Neumann f783da0b40 updates 2003-06-06 17:07:34 +00:00
Michael Natterer 98bdd5c0f3 app/widgets/Makefile.am new files containing the toolbox' drop callbacks.
2003-06-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/gimptoolbox-dnd.[ch]: new files containing the
	toolbox' drop callbacks. Exports gimp_toolbox_dnd_init().

	* app/widgets/gimptoolbox.c: removed the callbacks and all the
	"core/" includes they needed and call gimp_toolbox_dnd_init().
2003-06-06 15:14:47 +00:00
Sven Neumann bc93e4a041 added "in_toolbox"; defaults to TRUE.
2003-06-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimptoolinfo.[ch]: added "in_toolbox"; defaults to TRUE.

	* app/tools/tool_manager.c: set "in_toolbox" to FALSE for tools
	derived from GimpImageTool.

	* app/widgets/gimptoolbox.c: respect the new flag when constructing
	the toolbox.
2003-06-06 14:58:20 +00:00
Jakub Steiner 2cdaaf38b1 M themes/Default/images/tools/stock-tool-smudge-16.png make it more clear
2003-06-06  Jakub Steiner <jimmac@ximian.com>

* M themes/Default/images/tools/stock-tool-smudge-16.png
* themes/Default/images/tools/stock-tool-smudge-22.png: make it
  more clear it's a smudge tool, not a path tool
2003-06-06 13:51:03 +00:00
Sven Neumann 39431228ad fixed button order.
2003-06-06  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpexport.c (confirm_save_dialog): fixed button order.
2003-06-06 13:33:34 +00:00
Sven Neumann aca442cf8a UTF-8 validate messages before passing them to g_message().
2003-06-06  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/message.pdb: UTF-8 validate messages before
	passing them to g_message().

	* app/pdb/message_cmds.c
	* libgimp/gimpmessage_pdb.c: regenerated.
2003-06-06 13:12:44 +00:00
Maurits Rijk c46c9b536a fix for #114495 2003-06-06 13:01:38 +00:00
Sven Neumann 17cd9400bb fixed broken usage of g_strconcat() that caused a crash (bug #114564).
2003-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig.c (gfig_save_callbk): fixed broken usage of
	g_strconcat() that caused a crash (bug #114564).
2003-06-06 12:42:22 +00:00
Michael Natterer ef30cf315d app/gui/image-menu.c moved the convenience items which create new docks
2003-06-06  Michael Natterer  <mitch@gimp.org>

	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: moved the convenience items which
	create new docks from the "Dialogs/" level to a new
	"Dialogs/Create New Dock/" sub-menu.  Fixes bug #111278.

	* app/gui/dialogs-commands.[ch] (dialogs_create_data_cmd_callback):
	new convenience constructor callback. Factored out duplicated
	code to the new dialogs_create_dock() utility function.
2003-06-06 12:16:13 +00:00
Michael Natterer 4f33a4788f added CW/CCW to the "Rotate" menu entries as suggested in bug #57797.
2003-06-06  Michael Natterer  <mitch@gimp.org>

	* app/gui/image-menu.c: added CW/CCW to the "Rotate" menu entries
	as suggested in bug #57797. Cleaned up image_menu_update().
2003-06-06 11:17:09 +00:00
Sven Neumann 4ff89cbdc5 use gtk_window_present() instead of reimplementing its functionality.
2003-06-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CML_explorer.c (CML_save_to_file_callback): use
	gtk_window_present() instead of reimplementing its functionality.
2003-06-06 10:56:08 +00:00
Maurits Rijk f50e083734 Fix for #114496 and #83947. Minor code clean-up. 2003-06-06 10:39:27 +00:00
Michael Natterer 2c95877093 use gtk_label_set_text_with_mnemonic() instead of just
2003-06-06  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpitemfactory.c (gimp_item_factory_set_label):
	use gtk_label_set_text_with_mnemonic() instead of just
	gtk_label_set_text().

	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: added mnemonics for all sub-menus.
	Fixes bug #106991.

	* app/gui/image-menu.c: cleaned up the "Layers" menu: moved
	sub-menus together. Changed the "Stack" menu's labels and
	accelerators and added "Select Top/Bottom Layer" for consistency
	(bound to Home/End).

	* app/gui/layers-commands.[ch]: changed accordingly. Added the
	new select top/bottom callbacks.
2003-06-06 10:30:14 +00:00
Jan Morén 88288b6e76 Updated Swedish translation.
2003-06-06  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-06 09:21:55 +00:00
Sven Neumann e23a566f52 removed unneeded includes.
2003-06-05  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcolortool.c: removed unneeded includes.

2003-06-05  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added app/tools/gimpcoloroptions.c
2003-06-05 20:42:38 +00:00
Sven Neumann a6988b2746 simplified by using the functions inherited from GimpColorTool.
2003-06-05  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c: simplified by using the functions
	inherited from GimpColorTool.
2003-06-05 20:29:03 +00:00
Sven Neumann b1c437b4f8 use OPAQUE_OPACITY instead of 255.
2003-06-05  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable.c (gimp_drawable_get_color_at):
	* app/core/gimpimage-projection.c (gimp_image_projection_get_color_at):
	use OPAQUE_OPACITY instead of 255.

	* app/core/gimpimage-pick-color.[ch]: factored out code that
	averages over colors so it can be used from GimpImageTool.

	* app/tools/gimpimagemaptool.[ch]: derived from GimpColorTool and
	added a GimpColorTool::pick implementation.

	* app/tools/gimpcoloroptions.c
	* app/tools/gimpcolorpickeroptions.c: add the toggle for
	"sample_merged" in gimp_color_picker_options_gui().

	* app/tools/gimpcolortool.c (gimp_color_tool_cursor_update): check
	if the cursor is over the active drawable or if "sample_merged" is
	active.

	* app/tools/gimplevelstool.c: simplified since all color-picking is
	now handled by the parent classes. Fixes bug #112668.
2003-06-05 18:47:23 +00:00
Sven Neumann 21b4aba939 changed the default radius.
2003-06-05  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcoloroptions.c: changed the default radius.

	* app/tools/gimpcolortool.[ch]: pass GimpColorOptions to
	gimp_color_tool_enable(). Added gimp_color_tool_disable() and
	gimp_color_tool_is_enabled().

	* app/tools/gimpcolorpickertool.c: changed accordingly.

	* app/tools/gimppainttool.[ch]: derived GimpPaintTool from
	GimpColorTool and removed most color picking code.

	* app/tools/gimpdodgeburntool.c (gimp_dodgeburn_tool_modifier_key)
	* app/tools/gimperasertool.c (gimp_eraser_tool_modifier_key):
	chain up to the parent class.

	* app/tools/gimppaintbrushtool.c: purely cosmetic change.
2003-06-05 15:43:49 +00:00
Michael Natterer f8081a8629 always return channel->x1,y1,x2,y2, *not* tx1,ty1,tx2,ty2 since the latter
2003-06-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpchannel.c (gimp_channel_bounds): always return
	channel->x1,y1,x2,y2, *not* tx1,ty1,tx2,ty2 since the latter
	contain bogus values if the mask is empty. Fixes bug #114419.

	* plug-ins/script-fu/scripts/unsharp-mask.scm: cleaned up
	while searching the bug.
2003-06-05 13:27:27 +00:00
Michael Natterer 378a6d3d6a moved gimp-undo-push-group-end to the end of the script. Fixes bug
2003-06-05  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/predator.scm (script-fu-predator):
	moved gimp-undo-push-group-end to the end of the script.
	Fixes bug #114416.
2003-06-05 12:04:07 +00:00
Kwok-Koon Cheung ba4f801482 Updated traditional Chinese translation.
* zh_TW.po: Updated traditional Chinese translation.
2003-06-05 07:03:18 +00:00
Kwok-Koon Cheung 46cd5b6bf5 Convert unmaintained korean translations to utf-8 2003-06-05 00:01:49 +00:00
Sven Neumann b108d7028b added VOID: ENUM, BOXED, INT.
2003-06-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpmarshal.list: added VOID: ENUM, BOXED, INT.

	* app/tools/gimpcolortool.[ch]: added a default implementation for
	GimpColorTool::pick. Emit a "picked" signal when a color was
	successfully picked.

	* app/tools/gimpcolorpickertool.c: simplified a lot since
	GimpColorTool does most of the work for us now.
2003-06-04 20:23:36 +00:00
Michael Natterer a014c9d0d3 undraw the cursor on GDK_PROXIMITY_OUT. Always set shell->proximity to
2003-06-04  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): undraw the cursor on
	GDK_PROXIMITY_OUT. Always set shell->proximity to FALSE *before*
	calling gimp_display_shell_update_cursor().
2003-06-04 19:51:22 +00:00
Sven Neumann 59c91cb346 use a font selection widget (bug #113884).
2003-06-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/film.c: use a font selection widget (bug #113884).
2003-06-04 17:54:16 +00:00
Sven Neumann 9d2cc5f82a reordered arguments.
2003-06-04  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-pick-color.[ch]: reordered arguments.

	* app/tools/gimpcolorpickertool.c
	* app/tools/gimppainttool.c: changed accordingly.
2003-06-04 16:42:46 +00:00
Michael Natterer 99e7fe032f moved the "Reset" button to the "Advanced" page since it only resets this
2003-06-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/film/film.c: moved the "Reset" button to the "Advanced"
	page since it only resets this page. Fixed widget packing and
	spacing. Added more stock icons and mnemonics. Cleanup.
2003-06-04 16:13:18 +00:00
Sven Neumann 737bf44e28 app/tools/Makefile.am app/tools/gimpcoloroptions.[ch] new files that
2003-06-04  Sven Neumann  <sven@gimp.org>

        * app/tools/Makefile.am
        * app/tools/gimpcoloroptions.[ch]
        * app/tools/gimpcolortool.[ch]: new files that implement base
        classes moved out of GimpColorPickerOptions and GimpColorPickerTool.

        * app/tools/gimpcolorpickeroptions.[ch]
        * app/tools/gimpcolorpickertool.[ch]: derive from the new obejcts.

        * app/tools/gimpimagemaptool.h
        * app/tools/gimppainttool.c
        * app/tools/tools-types.h: moved typedefs into the types file.
2003-06-04 15:48:17 +00:00
Michael Natterer 909325ee67 call gimp_display_shell_scale_setup() instead of
2003-06-04  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_reconnect):
	call gimp_display_shell_scale_setup() instead of
	gimp_display_shell_shrink_wrap() so window size, zoom factor and
	scroll offsets are preserved across File->Revert if possible.
	Fixes bug #114383.
2003-06-04 13:06:59 +00:00
Sven Neumann d195b74c29 applied a patch from Wolfgang Hofer that makes the plug-in use
2003-06-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/xjt/xjt.c: applied a patch from Wolfgang Hofer that
	makes the plug-in use locale-independant code to convert floats to
	strings and back.
2003-06-04 10:39:52 +00:00
Jan Morén 92d1afc822 Updated Swedish translation.
2003-06-04  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-06-04 09:04:05 +00:00