Commit graph

21613 commits

Author SHA1 Message Date
Michael Natterer 74be00e0b6 redid the x, y, width and height entries according to a mockup from peter.
2007-10-16  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleoptions.c: redid the x, y, width and
	height entries according to a mockup from peter.


svn path=/trunk/; revision=23843
2007-10-16 14:24:08 +00:00
Michael Natterer 802a4b435e always connect to refval-changed *and* value-changed of the GimpSizeEntry.
2007-10-16  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppropwidgets.c (gimp_prop_size_entry_new):
	always connect to refval-changed *and* value-changed of the
	GimpSizeEntry.


svn path=/trunk/; revision=23842
2007-10-16 14:22:28 +00:00
Sven Neumann c1c7afb03a libgimp/gimppatternselectbutton.c libgimp/gimpbrushselectbutton.c
2007-10-16  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppatternselectbutton.c
	* libgimp/gimpbrushselectbutton.c
	* libgimpwidgets/gimpcolorarea.c
	* app/widgets/gimpdnd.c
	* app/widgets/gimpdockbook.c: set GDK_WINDOW_TYPE_HINT_DND on
	popup windows used to implement a DND cursor.

svn path=/trunk/; revision=23841
2007-10-16 13:56:34 +00:00
Gabor Kelemen ce2370b7dd Translation updated by Árpád Bíró.
2007-10-16  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated by Árpád Bíró.


svn path=/trunk/; revision=23840
2007-10-16 12:24:50 +00:00
Gabor Kelemen e62459dbec Translation updated by Árpád Bíró.
2007-10-16  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated by Árpád Bíró.


svn path=/trunk/; revision=23839
2007-10-16 12:11:55 +00:00
Sven Neumann 100ab0cb77 increased the arbitrary upper limit on the number of segments in
2007-10-16  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/gradient.pdb: increased the arbitrary upper
	limit on the number of segments in
	gimp-gradient-segment-range-split-uniform. The old value used to
	create errors in the "Palette to Gradient" script for most of 
our
	palettes.

	* app/pdb/gradient_cmds.c: regenerated.


svn path=/trunk/; revision=23838
2007-10-16 06:30:59 +00:00
Sven Neumann 206f19004f removed obsolete comment about adding alpha before adding a layer above
2007-10-16  Sven Neumann  <sven@gimp.org>

	* libgimp/gimplayer.c (gimp_layer_copy): removed obsolete 
comment
	about adding alpha before adding a layer above the background 
layer.


svn path=/trunk/; revision=23837
2007-10-16 06:02:18 +00:00
Sven Neumann 27dca4642c updated German translation
svn path=/trunk/; revision=23836
2007-10-15 20:54:19 +00:00
Sven Neumann f72606f09b more translator comments
svn path=/trunk/; revision=23835
2007-10-15 20:53:41 +00:00
Sven Neumann 46fa984a2d added translator comment for the string "Current". Changed "Auto Shrink
2007-10-15  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c: added translator comment for 
the
	string "Current". Changed "Auto Shrink Selection" to "Auto 
Shrink".


svn path=/trunk/; revision=23834
2007-10-15 20:49:27 +00:00
Martin Nordholts e81fb95976 Use gimp_vectors_bounds() instead of gimp_item_offsets|width|height() when
2007-10-15  Martin Nordholts  <martinn@svn.gnome.org>

	* app/core/gimpimage-arrange.c (compute_offset): Use
	gimp_vectors_bounds() instead of gimp_item_offsets|width|height()
	when calculating size and position for a path. Fixes bug #486517.

svn path=/trunk/; revision=23833
2007-10-15 20:17:56 +00:00
Martin Nordholts 8690e913a7 Use gimp_vectors_bounds() instead of gimp_item_offsets|width|height() when
2007-10-15  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimpaligntool.c (gimp_align_tool_draw): Use
	gimp_vectors_bounds() instead of gimp_item_offsets|width|height()
	when calculating bounding rectangle for a path. Part of a fix for
	bug #486517.

svn path=/trunk/; revision=23832
2007-10-15 17:58:58 +00:00
Michael Natterer 6a6591b457 split the "unit" property into "position-unit" and "size-unit" and added a
2007-10-15  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleoptions.[ch]: split the "unit" property
	into "position-unit" and "size-unit" and added a unit menu to the
	position widget group. UI pending further changes...


svn path=/trunk/; revision=23831
2007-10-15 16:47:07 +00:00
Michael Natterer 2d4ce38ae4 moved the "Highlight" toggle down to the "Guides" combo.
2007-10-15  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	moved the "Highlight" toggle down to the "Guides" combo.


svn path=/trunk/; revision=23830
2007-10-15 16:34:58 +00:00
Michael Natterer a16e2c9a9f added the x and y size entries to the GimpRectangleOptionPrivate struct.
2007-10-15  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleoptions.[ch]: added the x and y size
	entries to the GimpRectangleOptionPrivate struct.

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_start): set
	the image's resolution on the x, y, width and height size entries.


svn path=/trunk/; revision=23829
2007-10-15 16:26:05 +00:00
Žygimantas Beručka 6428890937 Updated Lithuanian translation.
svn path=/trunk/; revision=23828
2007-10-15 16:21:49 +00:00
Daniel Nylander d5fb0be9cf sv.po: Updated Swedish translation
svn path=/trunk/; revision=23827
2007-10-15 13:28:59 +00:00
Julien Hardelin 32c0283d7f improved fr translation
2007-10-15  Julien Hardelin <jhardlin@orange.fr>

	* fr.po: improved fr translation

svn path=/trunk/; revision=23826
2007-10-15 07:01:59 +00:00
Michael Natterer 3b2fa02a6e Reduced the Width: and Height: labels to W: and H:. Please check and
2007-10-14  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	Reduced the Width: and Height: labels to W: and H:. Please check
	and comment, we need some solution for this group of widgets
	including the unit menu.


svn path=/trunk/; revision=23825
2007-10-14 20:24:57 +00:00
Michael Natterer 9003166a10 enable the unit menu on the "Height" entry. Looks like crap and needs to
2007-10-14  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	enable the unit menu on the "Height" entry. Looks like crap and
	needs to be changed, but the unit functionality is almost complete
	now.


svn path=/trunk/; revision=23824
2007-10-14 20:15:50 +00:00
Michael Natterer c5d70d901f Fix last commit.
svn path=/trunk/; revision=23823
2007-10-14 19:55:10 +00:00
Michael Natterer 1e71a30ce3 renamed properties x0 and y0 to x and y. Also reordered all property code
2007-10-14  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleoptions.[ch]: renamed properties x0 and
	y0 to x and y. Also reordered all property code to be in the same
	order and added some empty lines to group the properties.

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


svn path=/trunk/; revision=23822
2007-10-14 19:48:56 +00:00
Michael Natterer 0a824ddba0 added parameter "gboolean property_is_pixel" which indicates that the
2007-10-14  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppropwidgets.[ch] (gimp_prop_size_entry_new):
	added parameter "gboolean property_is_pixel" which indicates that
	the stored property value is always in pixels and not in the
	selected unit.

	* app/tools/gimptextoptions.c
	* app/widgets/gimpstrokeeditor.c: pass FALSE to keep the old
	behavior.

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	added property "fixed-unit" which is used for all fixed values
	now. Perhaps we need separate units for width/height/size. Enable
	the unit menu on the "Width" and "Height" size entries of the
	"Fixed" section and configure them to store the value in
	pixels. This was the easy part, some other widgets still need unit
	support.

	* app/tools/gimprectangletool.c (gimp_rectangle_tool_start): set
	the image's resolution on the size entries changed above.


svn path=/trunk/; revision=23821
2007-10-14 18:51:58 +00:00
Daniel Nylander ba1b9b5825 sv.po: Updated Swedish translation
svn path=/trunk/; revision=23820
2007-10-14 13:03:54 +00:00
Raphael Quinet a76ec5c8aa Re-wrote the cursor handling logic, added cursor modifiers, added hints in
2007-10-14  Raphael Quinet  <raphael@gimp.org>

	* app/tools/gimpaligntool.[ch]: Re-wrote the cursor handling
	logic, added cursor modifiers, added hints in the status bar in
	order to make it easier to discover how to use the tool.  Adds new
	translatable strings, fixes bug #486110.

svn path=/trunk/; revision=23819
2007-10-14 08:54:19 +00:00
Martin Nordholts 09516e5837 When Fixed: Size/Aspect ratio numbers are swapped and the Fixed:-rule is
2007-10-14  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_options_notify): When Fixed: Size/Aspect
	ratio numbers are swapped and the Fixed:-rule is active, swap
	width and height on any pending rectangle. Fixed bug #479999.

svn path=/trunk/; revision=23818
2007-10-14 08:26:18 +00:00
Daniel Nylander 369b5dec5f sv.po: Updated Swedish translation
svn path=/trunk/; revision=23817
2007-10-13 15:01:47 +00:00
Martin Nordholts 9305d2a1cc Use ROUND() not round().
2007-10-13  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_apply_aspect): Use ROUND() not round().

svn path=/trunk/; revision=23816
2007-10-13 12:14:46 +00:00
Sigurd Gartmann 920c38aec1 Updated Norwegian Bokmal translation (fix plurals error). Updated
2007-10-13  Sigurd Gartmann  <sigurdga@yahoo-inc.com>

	* no.po: Updated Norwegian Bokmal translation (fix plurals error).
	* nb.po: Updated Norwegian Bokmal translation (fix plurals error).


svn path=/trunk/; revision=23815
2007-10-13 11:43:45 +00:00
Sigurd Gartmann 114607f30d Updated Norwegian Bokmal translation.
2007-10-13  Sigurd Gartmann  <sigurdga@yahoo-inc.com>

	* nb.po: Updated Norwegian Bokmal translation.


svn path=/trunk/; revision=23814
2007-10-13 11:37:52 +00:00
Sigurd Gartmann 948287ccef Updated Norwegian Bokmal translation. Updated Norwegian Bokmal
2007-10-13  Sigurd Gartmann  <sigurdga@yahoo-inc.com>

	* no.po: Updated Norwegian Bokmal translation.
	* nb.po: Updated Norwegian Bokmal translation.


svn path=/trunk/; revision=23813
2007-10-13 11:08:35 +00:00
Sven Neumann 279ab9c688 don't use the last-used mapping in interactive mode, only do this when
2007-10-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/colormap-remap.c (run): don't use the 
last-used
	mapping in interactive mode, only do this when called with 
run-mode
	GIMP_RUN_WITH_LAST_VALS. Fixes bug #486283.


svn path=/trunk/; revision=23812
2007-10-13 10:50:38 +00:00
Martin Nordholts de694a5de3 Use round() when solving the aspect ratio equations as this produces more
2007-10-13  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangletool.c
	(gimp_rectangle_tool_apply_aspect): Use round() when solving the
	aspect ratio equations as this produces more accurate results.

svn path=/trunk/; revision=23811
2007-10-13 10:17:50 +00:00
Sven Neumann b7588c5a09 formatting.
2007-10-12  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdrawable-stroke.c: formatting.

svn path=/trunk/; revision=23810
2007-10-12 13:14:43 +00:00
Michael Natterer 68af3a33eb massively simplified the fixed rule widget showing/hiding, fixed their
2007-10-12  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprectangleoptions.[ch]: massively simplified the
	fixed rule widget showing/hiding, fixed their spacing, make sure
	they don't cause UI resizing on rule change.


svn path=/trunk/; revision=23809
2007-10-12 13:00:55 +00:00
Michael Natterer ab83cf1150 #include "gimp-intl.h"
2007-10-12  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorselectorpalette.c: #include "gimp-intl.h"


svn path=/trunk/; revision=23808
2007-10-12 10:19:54 +00:00
Sven Neumann ace8b024b6 marked strings for translation (bug #485937).
2007-10-12  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolorselectorpalette.c: 
	* plug-ins/twain/twain.c: marked strings for translation (bug #485937).

svn path=/trunk/; revision=23807
2007-10-12 09:10:06 +00:00
Kevin Cozens 913d0d5f20 Fix off by one error. Stop on third digit after backslash when reading
2007-10-12  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/script-fu/tinyscheme/scheme.c: Fix off by one error.
	Stop on third digit after backslash when reading octal character.
	Original cause of bug #485538.

svn path=/trunk/; revision=23806
2007-10-12 06:19:41 +00:00
Gabor Kelemen c9c4094696 Translation updated by Árpád Bíró.
2007-10-11  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated by Árpád Bíró.


svn path=/trunk/; revision=23805
2007-10-11 21:40:47 +00:00
Sven Neumann f6863a0ef7 left-align the size entries.
2007-10-11  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	left-align the size entries.

svn path=/trunk/; revision=23804
2007-10-11 17:02:54 +00:00
Michael Natterer 45ca11b324 if we need to delete/create tools on button press because the active tool
2007-10-11  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_tool_events): if we need to
	delete/create tools on button press because the active tool
	doesn't support changing drawables, make sure the newly created
	tool gets its focus_display and modifier states set correctly.
	Fixes bug #485119. Improved disabled debug output.

	* app/tools/gimptool.c: stylistic cleanup in debug output.


svn path=/trunk/; revision=23803
2007-10-11 15:25:28 +00:00
Sven Neumann 66fecb60e6 moved the new string escape function here and also it for the
2007-10-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.[ch]: moved the new string
	escape function here and also it for the non-interactive case.

	* plug-ins/script-fu/script-fu-interface.c: changed accordingly.

svn path=/trunk/; revision=23802
2007-10-11 11:59:55 +00:00
Sven Neumann 426eb27e7e don't use g_strescape() as it mangles UTF-8 strings. Introduced our own
2007-10-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-interface.c: don't use
	g_strescape() as it mangles UTF-8 strings. Introduced our own
	escape function instead. Fixes bug #485538.

svn path=/trunk/; revision=23801
2007-10-11 11:48:35 +00:00
Sven Neumann 8a810a0300 use G_DIR_SEPARATOR instead of hardcoding the '\' under Windows.
2007-10-11  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
	use G_DIR_SEPARATOR instead of hardcoding the '\' under Windows.

svn path=/trunk/; revision=23800
2007-10-11 11:26:11 +00:00
Matic Žgur ac5dd2e224 Updated Slovenian translation
svn path=/trunk/; revision=23799
2007-10-11 07:38:33 +00:00
Matic Žgur cc1f9f4c10 Updated Slovenian translation
svn path=/trunk/; revision=23798
2007-10-11 07:36:23 +00:00
Matic Žgur e36436a94f Updated Slovenian translation
svn path=/trunk/; revision=23797
2007-10-11 07:32:39 +00:00
Daniel Nylander fdaf91d03f sv.po: Updated Swedish translation
svn path=/trunk/; revision=23796
2007-10-10 22:41:00 +00:00
Žygimantas Beručka fee4ddca92 Updated Lithuanian translation.
svn path=/trunk/; revision=23795
2007-10-10 22:30:29 +00:00
Žygimantas Beručka c4e21012f1 Updated Lithuanian translation.
svn path=/trunk/; revision=23794
2007-10-10 22:27:25 +00:00