Commit Graph

8094 Commits

Author SHA1 Message Date
Pablo Gonzalo del Campo 3fab2a942a Updated Spanish translation.
2003-03-03  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-03-03 15:41:48 +00:00
Pablo Gonzalo del Campo 7c8f576940 Updated Spanish translation.
2003-03-03  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-03-03 15:41:27 +00:00
Sven Neumann eab662ff5d fixed a typo in the kernel for sobel vertical edge detection spotted by
2003-03-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/edge.c (edge): fixed a typo in the kernel for
	sobel vertical edge detection spotted by Sunil Mohan Adapa (bug
	#107441).
2003-03-03 13:22:09 +00:00
Michael Natterer b31fd4b911 removed the constructors with a GimpViewable parameter and always create
2003-03-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppreviewrenderer.[ch]: removed the constructors
	with a GimpViewable parameter and always create renderers from
	viewable types only. Made gimp_preview_renderer_update() emit only
	the "update" signal and added the new function
	gimp_preview_renderer_invalidate() which does what the old
	_update() did (invalidating and adding an idle function which
	emits "update"). Added gimp_preview_renderer_remove_idle() so
	renderer updating can be fully controlled using public functions.

	* app/widgets/gimppreviewrendererbrush.[ch]: no need to remember
	the widget for the brushpipe animation, simply call
	gimp_preview_renderer_update() in the animation timeout.

	* app/widgets/gimppreview.[ch]
	* app/widgets/gimpcontainertreeview.c: changed accordingly. Call
	gimp_preview_renderer_remove_idle() after setting the initial
	viewable because we will be updated anyway by the first expose.

	* app/widgets/gimppreview.[ch]: Added a size_request()
	implementation. Removed gimp_preview_update(). Added new
	constructor gimp_preview_new_full_by_types() to make the
	constructor API symmetric. Removed code duplication by calling the
	_by_types() constructors from the ones taking GimpViewable
	parameters.

	* app/gui/palette-import-dialog.c
	* app/widgets/gimppropwidgets.c
	* app/widgets/gimpselectioneditor.c: changed accordingly.
2003-03-03 12:59:03 +00:00
Michael Natterer 5b6560675f don't try to convert a grayscale layer to grayscale. Fixes bug #107422.
2003-03-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c (gimp_layer_create_mask): don't try to
	convert a grayscale layer to grayscale. Fixes bug #107422.
2003-03-03 12:36:42 +00:00
Tomas Ogren 24c407cf3d Wrongly translated menu
2003-03-03  Tomas Ogren <stric@ing.umu.se>

* sv.po: Wrongly translated menu
2003-03-03 02:51:23 +00:00
Evandro Fernandes Giovanini 507341f3fb Updated Brazilian Portuguese translation from Alexandre Folle de Menezes
2003-03-02  Evandro Fernandes Giovanini <evandrofg@ig.com.br>

        * pt_BR.po: Updated Brazilian Portuguese translation
        from Alexandre Folle de Menezes <afmenez@terra.com.br>.
2003-03-02 18:29:54 +00:00
Manish Singh f6dfa9f9cb libgimpwidgets/tmpl/gimpcolordisplay.sgml fix typo. "definitiions" should
2003-03-02  Manish Singh  <yosh@gimp.org>

        * libgimpwidgets/tmpl/gimpcolordisplay.sgml
        * libgimpwidgets/tmpl/gimpcolorselector.sgml: fix typo. "definitiions"
        should be "definitions"
2003-03-02 17:39:45 +00:00
Sven Neumann 8d1d6f0770 libgimpcolor/gimpbilinear.[ch] applied a patch from David Necas
2003-03-02  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimpbilinear.[ch]
	* libgimpcolor/gimpcolor.def: applied a patch from David Necas
	<yeti@physics.muni.cz> that adds gimp_bilinear_pixels_8(), a new
	function that computes the bilinear interpolation of four pixels.

2003-03-02  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/libgimpcolor-sections.txt
	* libgimpcolor/tmpl/gimpbilinear.sgml: updated.
2003-03-02 16:27:01 +00:00
Sven Neumann ec2ce1d269 tools/pdbgen/pdb/guides.pdb fixed gimp_image_find_next_guide() which was
2003-03-02  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/guides.pdb
	* app/pdb/guides_cmds.c: fixed gimp_image_find_next_guide() which
	was broken for the case when the image had no guides at all. Fixes
	the hanging rotate plug-in (bug #106823).
2003-03-02 13:33:25 +00:00
Duarte Loreto 79c833c934 Updated Portuguese translation.
2003-03-02  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2003-03-02 02:12:18 +00:00
Duarte Loreto 65528321b0 Updated Portuguese translation.
2003-03-02  Duarte Loreto <happyguy_pt@hotmail.com>

        * pt.po: Updated Portuguese translation.
2003-03-02 01:11:34 +00:00
Yuri Syrota 316b08fb5d Added Ukrainian translation file 2003-03-01 17:52:11 +00:00
Yuri Syrota 55a2224c1b Updated Ukrainian translation 2003-03-01 14:52:48 +00:00
Michael Natterer 251f6b0483 added "gint bytes" to the GimpPreviewRenderer struct and pass it to
2003-03-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppreviewrenderer.[ch]: added "gint bytes" to the
	GimpPreviewRenderer struct and pass it to
	gimp_preview_render_to_buffer().

	* app/widgets/gimppreviewrendererbrush.[ch]: render the indicators
	to the renderer's buffer, not to the TempBuf so they always appear
	in the corner again.

	Misc cleanups:

	* app/core/gimpbuffer.c (gimp_buffer_get_new_preview)
	* app/core/gimppattern.c (gimp_pattern_get_new_preview): no need
	to center the TempBuf if smaller than requested because
	GimpPreviewRenderer::render()'s default implementation adjusts the
	offsets itself.

	* app/widgets/gimppreview.c (gimp_preview_set_viewable): no need
	to update ourselves after we changed the renderer because the
	renderer's signal will update us.

	* app/widgets/gimppreviewrenderer.c (gimp_preview_renderer_draw):
	replaced my stupid buf_rect calculation overkill by something
	simple that does the same.
2003-03-01 12:55:43 +00:00
Michael Natterer 48bf4fb7b2 don't scale the preview up if the buffer is too small.
2003-03-01  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbuffer.c: don't scale the preview up if the
	buffer is too small.

	* app/core/gimppattern.c: don't add a white border around the
	preview if the pattern is too small.

	* app/widgets/gimppreviewrenderer.[ch]: new object. A buffer
	that updates itself on GimpViewable changes and can render
	itself to any widget. Basically GimpPreview reduced to the
	render and draw code.

	* app/widgets/gimppreview.[ch]: removed all rendering and drawing
	code and keep a GimpPreviewRenderer instance. Connect to its
	"update" signal for queuing draws on the preview.

	* app/widgets/gimpcellrendererviewable.[ch]
	* app/widgets/gimpcontainertreeview.c: same here: removed
	rendering and drawing code and keep GimpPreviewRenderers in the
	list store.  Delays preview creation for GtkTreeViews until the
	buffer is really needed for drawing and adds idle preview updating
	on viewable changes.

	* app/widgets/gimppreview-utils.[ch]
	* app/widgets/gimpbrushpreview.[ch]
	* app/widgets/gimpbufferpreview.[ch]
	* app/widgets/gimpdrawablepreview.[ch]
	* app/widgets/gimpimagepreview.[ch]: removed...

	* app/widgets/gimppreviewrenderer-utils.[ch]
	* app/widgets/gimppreviewrendererbrush.[ch]
	* app/widgets/gimppreviewrendererdrawable.[ch]
	* app/widgets/gimppreviewrendererimage.[ch]: ...and converted to
	GimpPreviewRenderer subclasses.

	* app/display/gimpnavigationview.c
	* app/gui/palette-import-dialog.c
	* app/widgets/Makefile.am
	* app/widgets/widgets-enums.h
	* app/widgets/widgets-types.h
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainermenuimpl.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimplistitem.c
	* app/widgets/gimpnavigationpreview.[ch]
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpvectorslistview.c: changed accordingly.
2003-03-01 03:53:41 +00:00
Michael Natterer 9525f64c71 removed useless includes.
2003-03-01  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpblendtool.c: removed useless includes.
2003-03-01 03:06:27 +00:00
Sven Neumann d1c1a597b9 oops.
2003-02-28  Sven Neumann  <sven@gimp.org>

	* app/core/gimpcontext.c (gimp_context_class_init): oops.
2003-02-28 18:20:29 +00:00
Sven Neumann f050987238 app/config/gimpconfig-deserialize.c transparently serialize and
2003-02-28  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-deserialize.c
	* app/config/gimpconfig-serialize.[ch]: transparently serialize
	and deserialize object properties that implement the
	GimpConfigInterface.

	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
	call reset recursively if properties are itself objects that
	implement the GimpConfigInterface.

	* app/config/gimpconfig-dump.c: adapt to API changes.

	* app/config/gimpconfig-params.h: made object properties installed
	using GIMP_CONFIG_INSTALL_PROP_OBJECT() be not writable by default.

	* app/core/gimpcontext.c (gimp_context_class_init): made objects
	properties explicitely writeable.

	* app/tools/gimptextoptions.c: made the GimpText object a property
	of GimpTextOptions and removed lots of special handling which is
	now transparently done by GimpConfigInterface.
2003-02-28 17:01:13 +00:00
Sven Neumann 25c715c1f4 renamed gimp_config_serialize_changed_properties() to
2003-02-28  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-serialize.[ch]: renamed
	gimp_config_serialize_changed_properties() to
	gimp_config_serialize_properties_diff() and added a new function
	gimp_config_serialize_changed_properties() that saves only
	properties that have been changed from their default values.

	* app/config/gimprc.c: follow the function name change.

	* app/core/gimpcontext.c: override GimpConfigInterface::serialize
	with gimp_config_serialize_changed_properties() so we store only
	tool_options that have been changed from their default values.
2003-02-28 13:58:19 +00:00
Sven Neumann 9519de07e1 simplified by using gimp_config_serialize_property() instead of doing it
2003-02-28  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-serialize.c
	(gimp_config_serialize_changed_properties): simplified by using
	gimp_config_serialize_property() instead of doing it all by hand.
2003-02-28 13:25:13 +00:00
Raphaël Quinet 2442f2f164 Oops! I mentioned Makefile.am in my last ChangeLog entry, but I
forgot to commit the file together with the other ones.
2003-02-28 13:00:44 +00:00
Manish Singh e7809f046a make clean shouldn't clean disted files
2003-02-27  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/doc/Makefile.am: make clean shouldn't clean disted
        files
2003-02-28 01:21:27 +00:00
Manish Singh 5bc3a7a31d app/tools/gimpbucketfilltool.c app/tools/gimpconvolvetool.c
2003-02-27  Manish Singh  <yosh@gimp.org>

        * app/tools/gimpbucketfilltool.c
        * app/tools/gimpconvolvetool.c
        * app/tools/gimpcroptool.c
        * app/tools/gimpdodgeburntool.c
        * app/tools/gimperasertool.c
        * app/tools/gimpfliptool.c
        * app/tools/gimpfuzzyselecttool.c
        * app/tools/gimpinkoptions.c
        * app/tools/gimpmagnifytool.c
        * app/tools/gimpmovetool.c
        * app/tools/gimprectselecttool.c
        * app/tools/gimpselectiontool.c
        * app/tools/gimptexttool.c
        * app/tools/gimptransformtool.c
        * app/widgets/gimpcellrendererviewable.c
        * app/widgets/gimpcontainertreeview.c: remove unecessary G_OBJECT()
        from g_object_set calls.

        * plug-ins/common/bumpmap.c: use g_signal_handlers_(un)block_by_func
        instead of gtk_signal_handler_(un)block_by_data.
2003-02-28 01:14:30 +00:00
Sven Neumann 62052c0c62 fixed gimp_rgb_intensity_uchar() which used to return 0 or 1 instead of 0
2003-02-27  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/gimprgb.c: fixed gimp_rgb_intensity_uchar() which
	used to return 0 or 1 instead of 0 to 255. Fixes bug #107202.
2003-02-27 20:12:52 +00:00
Pablo Gonzalo del Campo 8894a05d9a Updated Spanish translation.
2003-02-27  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-02-27 19:40:14 +00:00
Sven Neumann 06b3e1471c fixed typo which caused layer mask undo to fail.
2003-02-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-undo-push.c (undo_push_layer_mask): fixed
	typo which caused layer mask undo to fail.
2003-02-27 18:47:48 +00:00
Raphael Quinet 4f68907305 plug-ins/script-fu/scripts/Makefile.am
2003-02-27  Raphael Quinet  <quinet@gamers.org>

	* plug-ins/script-fu/scripts/Makefile.am
	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/alien-neon-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/bovinated-logo.scm
	* plug-ins/script-fu/scripts/chalk.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/chrome-logo.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/frosty-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/glowing-logo.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/neon-logo.scm
	* plug-ins/script-fu/scripts/script-fu-util.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/t-o-p-logo.scm
	* plug-ins/script-fu/scripts/textured-logo.scm: applied a slightly
	modified version of the patch provided by Chauk-Mean PROUM to fix
	the behavior of some alpha-to-logo scripts when the layer has a
	non-zero offset or if a selection exists.  Fixes bug #73891.
2003-02-27 17:04:04 +00:00
Michael Natterer 0614aa5329 added virtual function get_popup_size() which returns a boolean indicating
2003-02-27  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpviewable.[ch]: added virtual function
	get_popup_size() which returns a boolean indicating if a popup is
	needed and its size.

	* app/core/gimpbrush.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpbuffer.c
	* app/core/gimpdrawable-preview.[ch]
	* app/core/gimpdrawable.c
	* app/core/gimpgradient.c
	* app/core/gimpimage.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c
	* app/core/gimpundo.c: implement it.

	* app/widgets/gimppreview.[ch]: removed virtual functions
	needs_popup() and create_popup(). Removed the code which creates
	the popup and the popup members of the GimpPreview struct.

	* app/widgets/gimppreview-popup.[ch]: new files providing the
	utility function gimp_preview_popup_show() which can show popups
	from any widget, not just from a GimpPreview. Checks if a popup is
	needed using gimp_viewable_get_popup_size().

	* app/widgets/gimpcellrendererviewable.c: show popups here too.

	* app/widgets/gimpbrushpreview.c
	* app/widgets/gimpbufferpreview.c
	* app/widgets/gimpdrawablepreview.c
	* app/widgets/gimpimagepreview.c: removed needs_popup() and
	create_popup() implementations.

	* app/widgets/gimpnavigationpreview.c: removed empty render()
	implementation.

	* app/widgets/gimpundoeditor.c: use a tree instead of a list view.

	* app/widgets/gimpgradientpreview.[ch]
	* app/widgets/gimppalettepreview.[ch]
	* app/widgets/gimppatternpreview.[ch]: removed because they only
	implemented the removed popup functions.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpmenuitem.c
	* app/widgets/gimppreview-utils.c: changed accordingly
2003-02-27 13:59:41 +00:00
Sven Neumann b3e5867378 don't insert an extra line-break after a serialized property.
2003-02-26  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-serialize.c (gimp_config_serialize_properties):
	don't insert an extra line-break after a serialized property.

	* app/config/gimpconfig-serialize.c
	* app/config/gimpconfig-dump.c
	* app/gui/tips-parser.c: use g_string_truncate (str, 0) instead of
	assigning an empty string.

	* app/tools/gimptextoptions.c: override the serialize and
	deserialize methods of the GimpConfig interface and save/restore
	the associated GimpText object instead of GimpTextOptions.

	* app/tools/tool_options.c (gimp_tool_options_build_filename):
	don't append ".default" if no extension is given.
2003-02-26 20:34:58 +00:00
Sven Neumann 9d25aa5350 removed debugging output.
2003-02-26  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c: removed debugging output.
2003-02-26 19:03:06 +00:00
Sven Neumann 0ceeeb0254 added a writeable field to GimpData and set it from
2003-02-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.[ch]: added a writeable field to GimpData and
	set it from gimp_data_set_filename().

	* app/gui/brushes-menu.c
	* app/gui/gradients-menu.c
	* app/gui/palettes-menu.c
	* app/gui/patterns-menu.c
	* app/widgets/gimpbrushfactoryview.c
	* app/widgets/gimpdatafactoryview.c
	* app/widgets/gimpgradienteditor.c: look at data->writeable when
	setting widgets sensitivity.

	* app/gui/user-install-dialog.c (user_install_dialog_create): reduce
	some of the dialog clutter by not showing the directories created for
	plug-ins.

	* app/core/gimpviewable.[ch]: added a default_stock_id to
	GimpViewableClass so we don't need to hold a copy in each instance.
	Added accessor functions to set and get the stock_id.

	* app/core/gimptoolinfo.c
	* app/gui/dialogs-constructors.c
	* app/gui/image-menu.c
	* app/tools/gimpcroptool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimpcellrendererviewable.c
	* app/widgets/gimppreview.c
	* app/widgets/gimptoolbox.c: use gimp_viewable_get_stock_id().

	* app/text/gimptextlayer.c: set a text icon as default stock_id.
2003-02-26 18:08:26 +00:00
Michael Natterer 305db405b2 added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI
2003-02-26  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpviewable.[ch]: added "gchar *stock_id" to the
	GimpViewable struct. It is used by the GUI if the get_preview()
	functions return NULL. Default to GTK_STOCK_DIALOG_QUESTION.

	* app/core/gimptoolinfo.[ch]: set the tool's stock_id. Removed
	the cached GdkPixbuf. Don't implement any preview function
	so the GUI uses the stock_id.

	* app/tools/tool_manager.c: removed GdkPixbuf creation, removed
	the #warning about the buggy way we created the pixbuf.

	* app/gui/dialogs-constructors.c
	* app/gui/image-menu.c
	* app/tools/gimpcroptool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimptoolbox.c: use viewable->stock_id instead
	of tool_info->stock_id.

	* app/core/gimpbrush.c
	* app/core/gimpgradient.c
	* app/core/gimpimagefile.c
	* app/core/gimpundo.c: simplified get_preview() implementations:

	- never scale previews up, only down.
	- don't render white or checks backgrounds but simply return
	  TempBufs with alpha and let the preview system do its job.
	- don't add padding but simply return previews smaller than
	  requested.

	* app/display/gimpdisplayshell-render.[ch]: added
	"render_blend_white", a 2d lookup table for blending on white,
	just as the check lookup tables. Added "render_white_buf".

	* app/widgets/gimppreview.[ch]: changed a lot:

	- don't render the preview's border into the buffer.
	- added "GdkGC *border_gc" and draw the preview's border in expose()
	  using gdk_draw_rectangle().
	- added "GdkPixbuf *no_preview_pixbuf" and create it in
	  gimp_preview_real_render() if gimp_viewable_get_preview()
	  returned NULL.
	- factored the actual preview rendering out to
	  gimp_preview_render_to_buffer(). Added configurable background
	  rendering for the preview itself and it's padding area
	  (the area the preview is larger than the buffer returned
	  by gimp_viewable_get_preview()).
	- changed gimp_preview_render_and_flush() to
	  gimp_preview_render_preview() and added "inside_bg" and
	  "outside_bg" parameters.
	- use the new render buffers for blending on white.

	* app/widgets/gimpbrushpreview.c
	* app/widgets/gimpbufferpreview.c
	* app/widgets/gimpdrawablepreview.c
	* app/widgets/gimpgradientpreview.c
	* app/widgets/gimpimagepreview.c
	* app/widgets/gimppalettepreview.c
	* app/widgets/gimppatternpreview.c: don't create large white
	TempBufs to center the previews in but simply set the TempBuf's
	offsets to get them centered. Simplified & cleaned up many preview
	render functions. Pass the correct GimpPreviewBG modes to
	gimp_preview_render_preview().

	* app/widgets/gimpcellrendererviewable.[ch]: new GtkCellRenderer
	class derived from GtkCellRendererPixbuf which knows how
	to use gimp_viewable_get_preview_size() and renders the
	viewable's stock item if no preview can be created.

	* app/widgets/gimpcontainertreeview.c: added a GtkTreeCellDataFunc
	which creates the preview pixbuf if needed so we don't create it
	unconditionally upon item insertion. Fixed preview size assertion
	to use GIMP_PREVIEW_MAX_SIZE, not "64". Block "selection_changed"
	while reordering the selected item.

	* app/widgets/gimpcontainerview.c: cosmetic.

	* app/widgets/gimpimagefilepreview.[ch]
	* app/widgets/gimptoolinfopreview.[ch]
	* app/widgets/gimpundopreview.[ch]: removed because the default
	implementation is good enough.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimppreview-utils.c: changed accordingly.

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs-menu.c
	* app/gui/dialogs.c
	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: register grid and tree view variants
	of the document history.

	Unrelated:

	* app/gui/gui.c (gui_exit_finish_callback): disconnect from
	signals earlier.

	* app/gui/user-install-dialog.c: create the "tool-options" subdir
	of the user's ~/.gimp-1.3 directory.
2003-02-26 16:17:10 +00:00
Michael Natterer 2d5828ec2d added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI
2003-02-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpviewable.[ch]: added "gchar *stock_id" to the
	GimpViewable struct. It is used by the GUI if the get_preview()
	functions return NULL. Default to GTK_STOCK_DIALOG_QUESTION.

	* app/core/gimptoolinfo.[ch]: set the tool's stock_id. Removed
	the cached GdkPixbuf. Don't implement any preview function
	so the GUI uses the stock_id.

	* app/tools/tool_manager.c: removed GdkPixbuf creation, removed
	the #warning about the buggy way we created the pixbuf.

	* app/gui/dialogs-constructors.c
	* app/gui/image-menu.c
	* app/tools/gimpcroptool.c
	* app/tools/gimphistogramtool.c
	* app/tools/gimpimagemaptool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimptoolbox.c: use viewable->stock_id instead
	of tool_info->stock_id.

	* app/core/gimpbrush.c
	* app/core/gimpgradient.c
	* app/core/gimpimagefile.c
	* app/core/gimpundo.c: simplified get_preview() implementations:

	- never scale previews up, only down.
	- don't render white or checks backgrounds but simply return
	  TempBufs with alpha and let the preview system do its job.
	- don't add padding but simply return previews smaller than
	  requested.

	* app/display/gimpdisplayshell-render.[ch]: added
	"render_blend_white", a 2d lookup table for blending on white,
	just as the check lookup tables. Added "render_white_buf".

	* app/widgets/gimppreview.[ch]: changed a lot:

	- don't render the preview's border into the buffer.
	- added "GdkGC *border_gc" and draw the preview's border in expose()
	  using gdk_draw_rectangle().
	- added "GdkPixbuf *no_preview_pixbuf" and create it in
	  gimp_preview_real_render() if gimp_viewable_get_preview()
	  returned NULL.
	- factored the actual preview rendering out to
	  gimp_preview_render_to_buffer(). Added configurable background
	  rendering for the preview itself and it's padding area
	  (the area the preview is larger than the buffer returned
	  by gimp_viewable_get_preview()).
	- changed gimp_preview_render_and_flush() to
	  gimp_preview_render_preview() and added "inside_bg" and
	  "outside_bg" parameters.
	- use the new render buffers for blending on white.

	* app/widgets/gimpbrushpreview.c
	* app/widgets/gimpbufferpreview.c
	* app/widgets/gimpdrawablepreview.c
	* app/widgets/gimpgradientpreview.c
	* app/widgets/gimpimagepreview.c
	* app/widgets/gimppalettepreview.c
	* app/widgets/gimppatternpreview.c: don't create large white
	TempBufs to center the previews in but simply set the TempBuf's
	offsets to get them centered. Simplified & cleaned up many preview
	render functions. Pass the correct GimpPreviewBG modes to
	gimp_preview_render_preview().

	* app/widgets/gimpcellrendererviewable.[ch]: new GtkCellRenderer
	class derived from GtkCellRendererPixbuf which knows how
	to use gimp_viewable_get_preview_size() and renders the
	viewable's stock item if no preview can be created.

	* app/widgets/gimpcontainertreeview.c: added a GtkTreeCellDataFunc
	which creates the preview pixbuf if needed so we don't create it
	unconditionally upon item insertion. Fixed preview size assertion
	to use GIMP_PREVIEW_MAX_SIZE, not "64". Block "selection_changed"
	while reordering the selected item.

	* app/widgets/gimpcontainerview.c: cosmetic.

	* app/widgets/gimpimagefilepreview.[ch]
	* app/widgets/gimptoolinfopreview.[ch]
	* app/widgets/gimpundopreview.[ch]: removed because the default
	implementation is good enough.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimppreview-utils.c: changed accordingly.

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs-menu.c
	* app/gui/dialogs.c
	* app/gui/image-menu.c
	* app/gui/toolbox-menu.c: register grid and tree view variants
	of the document history.

	Unrelated:

	* app/gui/gui.c (gui_exit_finish_callback): disconnect from
	signals earlier.

	* app/gui/user-install-dialog.c: create the "tool-options" subdir
	of the user's ~/.gimp-1.3 directory.
2003-02-26 16:15:50 +00:00
Sven Neumann 4144a12773 fixed typo 2003-02-26 12:58:26 +00:00
Sven Neumann e4dd8a1081 moved the call to libtoolize before automake.
2003-02-26  Sven Neumann  <sven@gimp.org>

	* autogen.sh: moved the call to libtoolize before automake.

	* libgimpwidgets/gimpcolorscale.c: added some inline docs.

	* libgimpwidgets/gimpwidgets.[ch]: changed gimp_spin_button_new(),
	gimp_scale_entry_new() and gimp_color_scale_entry_new() to take
	doubles instead of floats for the adjustment values.

2003-02-26  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/tmpl/gimpcolorscales.sgml
	* libgimpwidgets/tmpl/gimpcolorselect.sgml
	* libgimpwidgets/tmpl/gimpcolorselector.sgml: improved.
2003-02-26 12:48:48 +00:00
Sven Neumann 3ba4840258 removed.
2003-02-26  Sven Neumann  <sven@gimp.org>

	* gimp_tips.cs.txt: removed.
2003-02-26 11:28:58 +00:00
Miloslav Trmac cfff47d1ee Add Czech tips translation 2003-02-26 00:22:15 +00:00
Miloslav Trmac 7ef98a0edb Update Czech translation 2003-02-25 22:17:28 +00:00
Jan Morén 476060c5bf Updated Swedish translation.
2003-02-25  Jan Morén  <jan.moren@lucs.lu.se>

        * sv.po: Updated Swedish translation.
2003-02-25 20:46:09 +00:00
Sven Neumann 3d526e741c app/display/gimpdisplayshell-callbacks.[ch] override
2003-02-25  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.[ch]
	* app/display/gimpdisplayshell.c: override GtkWidget::popup_menu()
	so we popup the Image menu on the default shortcut (Shift F10).

	* app/gui/image-menu.c (image_menu_entries): removed or replaced
	shortcuts that use the Alt key. Added access keys to all toplevel
	entries of the Image menu (see bug #106991).

	* app/gui/tools-commands.[ch]: removed "Swap Contexts" functionality.

	* app/widgets/gimpselectioneditor.[ch]: moved "Invert" button.
2003-02-25 19:12:11 +00:00
Michael Natterer f6a95200f2 replaced the "gboolean title_dirty" in GimpDisplayShell by "guint
2003-02-25  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.[ch]: replaced the "gboolean
	title_dirty" in GimpDisplayShell by "guint title_idle_id".
	(gimp_display_shell_flush): Call gimp_display_shell_update_title()
	unconditionally. Don't call info_window_update().

	* app/display/gimpdisplayshell-handlers.c
	* app/display/gimpdisplayshell-scale.c: ditto.

	* app/display/gimpdisplayshell-title.c: update the title in an
	idle function. Call info_window_update() from the idle function.
2003-02-25 19:01:10 +00:00
Pablo Gonzalo del Campo 6a70f8820f Updated Spanish translation.
2003-02-25  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2003-02-25 18:03:36 +00:00
Jan Morén 1b6071a22e Updated Swedish translation.
2003-02-25  Jan Morén  <jan.moren@lucs.lu.se>

        * sv.po: Updated Swedish translation.
2003-02-25 17:16:47 +00:00
Sven Neumann 890c6fdee4 app/config/gimpdisplayconfig.[ch] app/config/gimprc-blurbs.h
2003-02-25  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.[ch]
	* app/config/gimprc-blurbs.h
	* app/display/gimpdisplayshell.c
	* app/gui/preferences-dialog.c: applied a modified version of a
	patch from Toralf Lund <toralf@kscanners.no> that adds a new
	preferences option to choose the inital zoom ratio. Fixes bug
	#106730 and in my opinion also #103547.
2003-02-25 16:30:53 +00:00
Sven Neumann a7aae31211 replaced the GtkList with a GtkTreeView/Model, replaced all deprecated
2003-02-25  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/spheredesigner.c: replaced the GtkList with a
	GtkTreeView/Model, replaced all deprecated GTK+ calls.

	* plug-ins/common/uniteditor.c: cosmetics.
2003-02-25 14:48:24 +00:00
Michael Natterer 4da735e6b3 remove the insert_data from the hash table *after* calling the virtual
2003-02-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerview.c (gimp_container_view_remove):
	remove the insert_data from the hash table *after* calling the
	virtual remove_item() functions because GimpContainerTreeView's
	GtkTreeIters are freed by the hash table when removing them.
2003-02-25 03:19:55 +00:00
Sven Neumann a4f8b0caa8 app/config/gimprc-blurbs.h tried to improve the explanations of the new
2003-02-25  Sven Neumann  <sven@gimp.org>

	* app/config/gimprc-blurbs.h
	* app/gui/preferences-dialog.c: tried to improve the explanations
	of the new undo limits.
2003-02-25 02:46:44 +00:00
Sven Neumann f658f1ce22 if in free select mode set width and height in the tool options.
2003-02-25  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectselecttool.c (gimp_rect_select_tool_motion):
	if in free select mode set width and height in the tool options.

	* app/tools/gimpselectionoptions.c: relaxed the limits for the
	fixed-width and fixed-height properties.
2003-02-25 02:13:03 +00:00
Michael Natterer 2d3c02f4a5 the gtk_tree_model_get() argument list ends with -1, not NULL.
2003-02-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_button_press): the gtk_tree_model_get()
	argument list ends with -1, not NULL.
2003-02-25 00:39:50 +00:00