Commit Graph

20953 Commits

Author SHA1 Message Date
Daniel Nylander 4a2fa5bf77 sv.po: Swedish translation updated
svn path=/trunk/; revision=23176
2007-08-09 22:17:04 +00:00
Sven Neumann 4a23147250 libgimpwidgets/libgimpwidgets-sections.txt libgimpwidgets/visual-index.xml
2007-08-09  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/visual-index.xml

	* libgimpwidgets/tmpl/gimpnumberpairentry.sgml: regenerated.


svn path=/trunk/; revision=23175
2007-08-09 21:21:58 +00:00
Martin Nordholts 2bf9e62b3d [ch} -> [ch] in the just-commited ChangeLog entry
svn path=/trunk/; revision=23174
2007-08-09 21:04:01 +00:00
Martin Nordholts 5df8a73dc4 Added properties for most of the instance members, and updated API.
2007-08-09  Martin Nordholts  <martinn@svn.gnome.org>

	* libgimpwidgets/gimpnumberpairentry.[ch}: Added properties for
	most of the instance members, and updated API.
	(gimp_number_pair_entry_get_aspect)
	(gimp_number_pair_entry_get_default_values)
	(gimp_number_pair_entry_get_ratio)
	(gimp_number_pair_entry_set_aspect)
	(gimp_number_pair_entry_set_ratio): Added API functions.

	* libgimpwidgets/gimpwidgets.def: Updated.

svn path=/trunk/; revision=23173
2007-08-09 21:01:39 +00:00
Daniel Nylander dfdd6177ca sv.po: Swedish translation updated
svn path=/trunk/; revision=23172
2007-08-09 19:34:38 +00:00
Daniel Nylander b0484e8266 sv.po: Swedish translation updated
svn path=/trunk/; revision=23171
2007-08-09 19:34:04 +00:00
Sven Neumann c0f30006dd store the selected paper-size.
2007-08-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-settings.c: store the selected paper-size.

svn path=/trunk/; revision=23170
2007-08-09 14:26:01 +00:00
Sven Neumann 38f854e70a tweaked label positons.
2007-08-09  Sven Neumann  <sven@gimp.org>

	* app/gui/splash.c: tweaked label positons.

svn path=/trunk/; revision=23169
2007-08-09 11:17:08 +00:00
Sven Neumann c127a0bdc4 while dragging the preview image, draw only an outline.
2007-08-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-preview.[ch]: while dragging the preview
	image, draw only an outline.

svn path=/trunk/; revision=23168
2007-08-09 10:39:40 +00:00
Sven Neumann d9f1ceabf6 tweaked spacings on the Color Management page.
2007-08-09  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: tweaked spacings on the Color
	Management page.

svn path=/trunk/; revision=23167
2007-08-09 09:50:27 +00:00
Sven Neumann 8baa91b04f save a few more pixels vertically
svn path=/trunk/; revision=23166
2007-08-09 00:13:12 +00:00
Sven Neumann 5811866a7e further tweaks to the dialog layout
svn path=/trunk/; revision=23165
2007-08-09 00:11:10 +00:00
Sven Neumann 3dc9a2cc08 fixed the behavior when changing the unit.
2007-08-09  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-page-layout.c: fixed the behavior when
	changing the unit.


svn path=/trunk/; revision=23164
2007-08-08 23:37:10 +00:00
Sven Neumann 7140af83e1 the unit-changed callback wasn't so unimportant after all
svn path=/trunk/; revision=23163
2007-08-08 23:21:26 +00:00
Sven Neumann 088134ec2b removed useless callbacks
svn path=/trunk/; revision=23162
2007-08-08 23:06:25 +00:00
Sven Neumann 70f4351e1a factored code into utilty functions
svn path=/trunk/; revision=23161
2007-08-08 22:52:23 +00:00
Sven Neumann 639a9e62d0 plug-ins/print/print-page-layout.c tweaked layout and changed labels to
2007-08-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print.c: tweaked layout and changed labels to 
the
	terms used in the EOG print dialog.


svn path=/trunk/; revision=23160
2007-08-08 21:48:31 +00:00
Sven Neumann c166b002bb plug-ins/print/print.[ch] plug-ins/print/print-page-layout.c replaced the
2007-08-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.[ch]
	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print-settings.c: replaced the two Center 
buttons
	with a combo-box.


svn path=/trunk/; revision=23159
2007-08-08 21:28:07 +00:00
Manish Singh b6bac3fc8c remove reference to now deprecated gimp_color_display_new() function.
2007-08-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.defs: remove reference to now deprecated
        gimp_color_display_new() function.

svn path=/trunk/; revision=23158
2007-08-08 20:36:26 +00:00
Sven Neumann 9804399087 probably better to return 1.0 in case of failed parameter checks
svn path=/trunk/; revision=23157
2007-08-08 19:31:00 +00:00
Sven Neumann 4cba8a2364 include number-pair-entry instead of ratio-entry.
2007-08-08  Sven Neumann  <sven@gimp.org>

	* tools/widgets.c: include number-pair-entry instead of 
ratio-entry.

	* libgimpwidgets/images/gimp-ratio-entry.png
	* libgimpwidgets/images/gimp-number-pair-entry.png: replaced
	screenshots.

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types
	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/tmpl/gimpnumberpairentry.sgml
	* libgimpwidgets/tmpl/gimpratioentry.sgml: adopt to change from
	GimpRatioEntry to GimpNumberPairEntry.


svn path=/trunk/; revision=23156
2007-08-08 18:55:56 +00:00
Sven Neumann aa51fd4c06 formatting. Fixed use of instance private data, added missing parameter
2007-08-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpnumberpairentry.[ch]: formatting. Fixed use
	of instance private data, added missing parameter checks.


svn path=/trunk/; revision=23155
2007-08-08 18:46:58 +00:00
Martin Nordholts 93d4dc68de Renamed GimpRatioEntry to GimpNumberPairEntry, and generalized the code a
2007-08-08  Martin Nordholts  <martinn@svn.gnome.org>

	Renamed GimpRatioEntry to GimpNumberPairEntry, and generalized the
	code a lot, so that it can be used both for 'Fixed: Aspect ratio'
	and 'Fixed: Size'. Support is also added for having default values
	and a 'user overrided' value mode.

	* libgimpwidgets/gimpnumberpairentry.[ch]: Now contains the
	rewrite and generalization of GimpRatioEntry.
	(gimp_number_pair_entry_get_type)
	(gimp_number_pair_entry_new)
        (gimp_number_pair_entry_set_default_values)
	(gimp_number_pair_entry_set_values)
        (gimp_number_pair_entry_get_values): New libgimpwidget API.

	* app/widgets/gimppropwidgets.[ch] (gimp_prop_size_2d_new): Added
	new helper widget for setting up a GimpNumberPairEntry for the
	Fixed: Size entry in the Rectangle Options.

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	Use the new gimp_prop_size_2d_entry for the Fixed: Size entry.

	* libgimpwidgets/gimpwidgets.def: Removed gimp_ratio_entry_* and
	added gimp_number_pair_entry_*.

	* libgimpwidgets/gimpwidgets.h * libgimpwidgets/gimpwidgetstypes.h
	* libgimpwidgets/Makefile.am (libgimpwidgets_2_0_la_sources)
	(libgimpwidgetsinclude_HEADERS): Updated accordingly.

svn path=/trunk/; revision=23154
2007-08-08 18:08:24 +00:00
Sven Neumann abbd60c5e6 fixed a bug that I introduced earlier today.
2007-08-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_image_get_profile): fixed a bug
	that I introduced earlier today.


svn path=/trunk/; revision=23153
2007-08-08 18:03:29 +00:00
Sven Neumann 46fc994030 use a text view in a scrolled window for the preview area.
2007-08-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpprofilechooserdialog.[ch]: use a text view in a
	scrolled window for the preview area.

svn path=/trunk/; revision=23152
2007-08-08 14:33:03 +00:00
Sven Neumann 86092afbcc further code cleanup
svn path=/trunk/; revision=23151
2007-08-08 13:13:09 +00:00
Sven Neumann ce300917de app/app-sections.txt adjust to renamed files in app/paint-funcs.
2007-08-08  Sven Neumann  <sven@gimp.org>

	* app/app-sections.txt
	* app/app-docs.sgml: adjust to renamed files in app/paint-funcs.

svn path=/trunk/; revision=23150
2007-08-08 12:55:12 +00:00
Martin Nordholts 17020f29b2 Migrate entry completion code and put responsability on clients to set
2007-08-08  Martin Nordholts  <martinn@svn.gnome.org>

	* libgimpwidgets/gimpratioentry.[ch]: Migrate entry completion
	code and put responsability on clients to set that up when needed.

	* app/tools/gimprectangleoptions.[ch]: Setup entry completion code
	manually for the GimpRatioEntry widgets by using
	(gimp_rectangle_options_setup_ratio_completion)
	(gimp_ratio_entry_history_select, gimp_ratio_entry_history_add):
	these new functions.

svn path=/trunk/; revision=23149
2007-08-08 12:52:25 +00:00
Sven Neumann 4ab3e92782 modules/cdisplay_lcms.c corrected memory handling. cmsOpenProfileFromMem()
2007-08-08  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c
	* plug-ins/common/lcms.c: corrected memory handling.
	cmsOpenProfileFromMem() actually copies the data.

	* libgimpwidgets/gimpcolordisplay.c
	* libgimpwidgets/gimpcolordisplaystack.c: disconnect in dispose().

svn path=/trunk/; revision=23148
2007-08-08 12:27:11 +00:00
Sven Neumann 40144a272b added missing call to destroy_preview(). Fixes bug #464457.
2007-08-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-save.c (save_dialog): added missing call to
	destroy_preview(). Fixes bug #464457.

	* plug-ins/jpeg/jpeg-load.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/jpeg/jpeg.[ch]: renamed global variables used for the
	preview hack.

svn path=/trunk/; revision=23147
2007-08-08 10:31:38 +00:00
Hendrik Brandt f81b2c57b1 Updated German translation. Start translation bugfixing and unifying for
2007-08-08  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation. Start translation bugfixing and unifying for 2.4 release.


svn path=/trunk/; revision=23146
2007-08-08 10:16:02 +00:00
Sven Neumann 6213c7ab19 added buttons to unset the color profiles.
2007-08-08  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: added buttons to unset the
	color profiles.

	* app/widgets/gimppropwidgets.c
	* libgimpwidgets/gimppropwidgets.c: minor cleanup.

svn path=/trunk/; revision=23145
2007-08-08 09:56:51 +00:00
Sven Neumann 49bb407674 app/paint-funcs/Makefile.am
2007-08-08  Sven Neumann  <sven@gimp.org>

	* app/paint-funcs/Makefile.am

	* app/paint-funcs/sample-funcs.[ch]: renamed to 
	* app/paint-funcs/subsample-region.[ch]

	* app/paint-funcs/scale-funcs.[ch]: renamed to 
	* app/paint-funcs/scale-region.[ch]

	* app/paint-funcs/reduce-region.[ch]: new files based on a patch
	from Geert Jordaens (bug #464466).

	* app/base/tile-manager-preview.c
	* app/core/gimp-transform-region.c
	* app/core/gimpbrush-scale.c
	* app/core/gimpdrawable-preview.c
	* app/core/gimpdrawable.c: changed accordingly.

svn path=/trunk/; revision=23144
2007-08-08 08:35:45 +00:00
Martin Nordholts 75c759e87a Serialize Fixed: Width/Height/Size to config.
2007-08-08  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangleoptions.c
	(gimp_rectangle_options_iface_base_init): Serialize Fixed:
	Width/Height/Size to config.

svn path=/trunk/; revision=23143
2007-08-08 08:08:03 +00:00
Sven Neumann 5bb8cc59cb fixed reference count of the display filter stack.
2007-08-08  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): fixed
	reference count of the display filter stack.

svn path=/trunk/; revision=23142
2007-08-08 07:48:11 +00:00
Martin Nordholts d050042232 Remove fixed_aspect_property.
2007-08-08  Martin Nordholts  <martinn@svn.gnome.org>

	* app/widgets/gimppropwidgets.[ch]
	(gimp_prop_aspect_ratio_new)
	(gimp_prop_aspect_ratio_changed): Remove fixed_aspect_property.

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	Changed accordingly.

svn path=/trunk/; revision=23141
2007-08-08 06:32:45 +00:00
Martin Nordholts e87d0a123a Use separate desired-fixed-size-width/height properties for Fixed: Size
2007-08-08  Martin Nordholts  <martinn@svn.gnome.org>

	* app/tools/gimprectangleoptions.[ch]: Use separate
	desired-fixed-size-width/height properties for Fixed: Size instead
	of sharing properties with Fixed: Width/Height.

	* app/tools/gimprectangletool.c: Use the two new properties for
	Fixed: Size.

svn path=/trunk/; revision=23140
2007-08-08 06:10:00 +00:00
Ulf-D. Ehlert 7b2ab08963 po/de.po po-libgimp/de.po Updated German translation.
2007-08-07  Ulf-D. Ehlert  <ulfehlert@svn.gnome.org>

	* po/de.po
	* po-libgimp/de.po
	* po-plug-ins/de.po: Updated German translation.

svn path=/trunk/; revision=23139
2007-08-07 16:33:10 +00:00
Sven Neumann 6d15db3b69 added entries for the right and bottom margins. Use the unit from the
2007-08-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-page-layout.c: added entries for the right
	and bottom margins. Use the unit from the image size entry.

svn path=/trunk/; revision=23138
2007-08-07 16:32:10 +00:00
Tor Lillqvist a4c7b092c2 Add libgimpcolor to cdisplay_libadd.
2007-08-07  Tor Lillqvist  <tml@novell.com>

	* modules/Makefile.am: Add libgimpcolor to cdisplay_libadd.


svn path=/trunk/; revision=23137
2007-08-07 14:42:08 +00:00
Sven Neumann ce4675a17d don't write the sRGB chunk if the user asked for the gAMA chunk
svn path=/trunk/; revision=23136
2007-08-07 14:25:40 +00:00
Sven Neumann 80e10f9200 in the absence of an embedded color profile, write the sRGB chunk.
2007-08-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c (save_image): in the absence of an
	embedded color profile, write the sRGB chunk.

svn path=/trunk/; revision=23135
2007-08-07 14:15:48 +00:00
Sven Neumann 2b2cc44ad0 app/core/gimppalette-import.c applied slightly modified version of a patch
2007-08-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-import.c
	* app/core/gimppalette-load.[ch]: applied slightly modified version
	of a patch from Nicola Archibald that adds support for importing
	Adobe Color palette version 1 files (bug #316618).

svn path=/trunk/; revision=23134
2007-08-07 13:42:55 +00:00
Sven Neumann 900f54e69f as a workaround for bug #360106, set a timeout that presents the dialog
2007-08-07  Sven Neumann  <sven@gimp.org>

	* app/gui/gui-vtable.c (gui_pdb_dialog_new): as a workaround for
	bug #360106, set a timeout that presents the dialog window.

	* app/widgets/gimppdbdialog.c (gimp_pdb_dialog_set_property):
	formatting.

svn path=/trunk/; revision=23133
2007-08-07 13:15:47 +00:00
Sven Neumann 852170b6c6 return NULL if the parasite exists but it is empty.
2007-08-07  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.c (gimp_image_get_icc_profile): return NULL
	if the parasite exists but it is empty.

svn path=/trunk/; revision=23132
2007-08-07 09:58:39 +00:00
Sven Neumann a90b367210 added the typedef here.
* plug-ins/common/poppler.c: added the typedef here.

svn path=/trunk/; revision=23131
2007-08-07 09:44:23 +00:00
Sven Neumann 35425c7028 app/plug-in/Makefile.am new files defining the GimpPlugIn error domain.
2007-08-07  Sven Neumann  <sven@gimp.org>

	* app/plug-in/Makefile.am
	* app/plug-in/plug-in-error.[ch]: new files defining the
	GimpPlugIn error domain.

	* app/plug-in/plug-in-icc-profile.c (plug_in_icc_profile_apply_rgb):
	set an error code.

	* app/file/file-open.c (file_open_profile_apply_rgb): only do the
	profile conversion if color management is enabled. If the plug-in
	is missing, show a warning and disable color management.
	Fixes bug #434205.

	* modules/cdisplay_lcms.c (cdisplay_lcms_get_rgb_profile): check
	if we actually got a profile before checking its color space.

	* libgimpwidgets/gimpwidgetstypes.h: removed leftover typedef
	for GimpResolutionEntry.


svn path=/trunk/; revision=23130
2007-08-07 09:26:28 +00:00
Sven Neumann 8a946eeb0d added new GimpColorDisplay API
svn path=/trunk/; revision=23129
2007-08-07 07:14:32 +00:00
Sven Neumann 60ea36beb6 added more mappings from old to new Script-Fu menu locations.
2007-08-07  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_map):
	added more mappings from old to new Script-Fu menu locations.


svn path=/trunk/; revision=23128
2007-08-06 22:54:03 +00:00
Sven Neumann a737408eeb added GimpColorConfig and GimpColorManaged as construct-only properties.
2007-08-06  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolordisplay.[ch]: added GimpColorConfig 
and
	GimpColorManaged as construct-only properties.
	Deprecated gimp_color_display_new().

	* libgimpwidgets/gimpwidgets.def: updated for new symbols.

	* app/widgets/gimpcolordisplayeditor.c: use g_object_new() 
instead
	of gimp_color_display_new().

	* modules/cdisplay_lcms.c: use the image's embedded color 
profile
	for the display filter. Assume sRGB if no monitor profile is
	configured.

	* app/display/gimpdisplayshell.c: 
	* app/display/gimpdisplayshell-filter.[ch]: pass the display as
	color-managed object to the display filter.


svn path=/trunk/; revision=23127
2007-08-06 22:10:09 +00:00