Commit Graph

13814 Commits

Author SHA1 Message Date
Sven Neumann 726821fef7 say "Click to create preview" if no preview is available.
2004-10-25  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_get_desc_string): say
	"Click to create preview" if no preview is available.
2004-10-24 22:30:52 +00:00
Michael Natterer 2e94997de6 added added app/actions/error-console-commands.c
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added added app/actions/error-console-commands.c
2004-10-24 22:26:48 +00:00
Michael Natterer df34354784 added gimp_text_buffer_save() which saves a GtkTextBuffer's contents to a
2004-10-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_save()
	which saves a GtkTextBuffer's contents to a file.

	* app/widgets/gimperrorconsole.c: use
	gimp_editor_add_action_button() and removed all "clicked"
	callbacks, including all file saving code.

	* app/actions/error-console-actions.c
	* app/actions/error-console-commands.[ch]: added the code removed
	above to the action callbacks. Use gimp_text_buffer_save().
2004-10-24 22:26:11 +00:00
Michael Natterer 714771d450 app/widgets/gimpgradienteditor.[ch] added public APIs for zooming the
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpgradienteditor.[ch]
	* app/widgets/gimppaletteeditor.[ch]: added public APIs for
	zooming the editors. Use gimp_editor_add_action_button() to create
	all buttons. Removed all button callbacks and all duplicated
	button sensitivity logic.

	* app/widgets/gimpdataeditor.c (gimp_data_editor_set_data): update
	the editor's UI manager if it exists.

	* app/actions/gradient-editor-actions.c
	* app/actions/gradient-editor-commands.[ch]: added zoom actions
	and callback and call gimp_gradient_editor_zoom(). Fixed
	gradient_editor_actions_update() to actually set all items'
	sensitivity (it was possible to modify read-only gradients and
	even to crash GIMP).

	* app/actions/palette-editor-actions.c
	* app/actions/palette-editor-commands.[ch]: changed "new" and
	"zoom" actions to actually do their job instead of calling
	gtk_button_clicked(editor->foo_button).
2004-10-24 20:38:35 +00:00
Francisco Javier F. Serrador e64a292d45 Updated Spanish translation.
2004-10-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-10-24 20:34:56 +00:00
Michael Natterer d9f681b492 added app/actions/colormap-editor-commands.c and
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/actions/colormap-editor-commands.c
	and app/actions/palette-editor-commands.c
2004-10-24 18:33:21 +00:00
Michael Natterer 8afbb733c7 removed the "Edit Color" dialog callbacks and use
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolormapeditor.c: removed the "Edit Color"
	dialog callbacks and use gimp_editor_add_action_button() for
	the edit button. Removed button sensitivity logic. Hide the
	color dialog when the image's mode changes.

	* app/actions/colormap-editor-actions.c: added missing tooltip
	for the edit action.

	* app/actions/colormap-editor-commands.c: implement the dialog
	here.
2004-10-24 18:32:24 +00:00
David Odin bcfbc61e15 only return early if there's nothing to desaturate.
* app/core/gimpdrawable-desaturate.c: only return early if there's nothing
  to desaturate.
2004-10-24 16:25:26 +00:00
Michael Natterer ceaec00551 don't leak the filenames of the import and export dialogs.
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* app/actions/vectors-commands.c: don't leak the filenames of the
	import and export dialogs.
2004-10-24 13:13:21 +00:00
Adam Weinberger 46aba2fc98 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-23 23:32:41 +00:00
Michael Natterer fa7893629f added app/dialogs/vectors-[im|ex]port-dialog.c
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/vectors-[im|ex]port-dialog.c
2004-10-23 22:55:26 +00:00
Michael Natterer 86c108c5d3 app/dialogs/Makefile.am app/dialogs/vectors-export-dialog.[ch] new files.
2004-10-24  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/vectors-export-dialog.[ch]
	* app/dialogs/vectors-import-dialog.[ch]: new files.

	* app/actions/vectors-commands.c: use the new dialogs and remember
	their last values.
2004-10-23 22:54:41 +00:00
Sven Neumann 868aefc322 libgimp/libgimp-sections.txt added gimp_drawable_mask_intersect().
2004-10-23  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpdrawable.sgml: added gimp_drawable_mask_intersect().
2004-10-23 21:54:58 +00:00
Sven Neumann f21e575bc2 added missing controls to the path import and export dialogs.
2004-10-23  Sven Neumann  <sven@gimp.org>

	* app/actions/vectors-commands.c: added missing controls to the
	path import and export dialogs.
2004-10-23 21:49:46 +00:00
David Odin c44f008737 cleaned it up, fixed a (documented) memory leak and the weird behaviour of
* plug-ins/common/newsprint.c: cleaned it up, fixed a (documented) memory
  leak and the weird behaviour of the resolution scales.
2004-10-23 21:29:56 +00:00
David Odin e4202235f0 added a preview.
* plug-ins/common/newsprint.c: added a preview.
2004-10-23 20:01:45 +00:00
Michael Natterer 66529903b9 libgimp/gimpaspectpreview.h libgimp/gimpdrawablepreview.h
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpaspectpreview.h
	* libgimp/gimpdrawablepreview.h
	* libgimp/gimpprogressbar.h
	* libgimpwidgets/gimpcellrenderercolor.h
	* libgimpwidgets/gimpcellrenderertoggle.h
	* libgimpwidgets/gimpframe.h
	* libgimpwidgets/gimpintcombobox.h
	* libgimpwidgets/gimpintstore.h
	* libgimpwidgets/gimppreview.h
	* libgimpwidgets/gimppreviewarea.h
	* libgimpwidgets/gimpscrolledpreview.h: added padding to all class
	structs which have been added since 2.0.
2004-10-23 19:59:18 +00:00
Michael Natterer fa79ae2844 don't g_return_if_fail() if there is no active drawable, just silently
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* app/actions/file-commands.c (file_save_cmd_callback): don't
	g_return_if_fail() if there is no active drawable, just silently
	return.

	* app/actions/image-commands.c: remember the last merge_type of
	the "Merge Visible Layers" dialog.

	* app/actions/layers-commands.c: remeber the last values of the
	"Add Layer Mask" dialog.

	* app/actions/select-commands.c: renamed a bunch of static
	variables to be consistent with other variables used to remember
	dialog values.

	* app/actions/view-commands.c (view_fullscreen_cmd_callback): it's
	useless to update the "view-fullscreen" actions here because the
	"fullscreen" state of the shell changes asynchronously
2004-10-23 19:13:17 +00:00
Michael Natterer a01c6883f6 app/dialogs/image-merge-layers-dialog.c made them not resizable.
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/image-merge-layers-dialog.c
	* app/dialogs/layer-add-mask-dialog.c: made them not resizable.

	* app/dialogs/convert-dialog.c
	* app/dialogs/offset-dialog.c: renamed ugly variables.

	* app/dialogs/image-new-dialog.c
	* app/dialogs/stroke-dialog.c: irrelevant pedantic code reordering.
2004-10-23 19:01:26 +00:00
Michael Natterer b408ac301e added app/dialogs/image-merge-layers-dialog.c
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/image-merge-layers-dialog.c
2004-10-23 16:43:14 +00:00
Michael Natterer f50d4763a8 app/dialogs/Makefile.am one more dialog split out of actions/.
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/image-merge-layers-dialog.[ch]: one more dialog split
	out of actions/.

	* app/actions/image-commands.c: removed it here. Some cleanup.
2004-10-23 16:42:37 +00:00
Francisco Javier F. Serrador 39f7a4a923 Updated Spanish translation
2004-10-23  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation
2004-10-23 16:27:34 +00:00
Sven Neumann ea273aadb9 libgimpthumb/gimpthumb-utils.[ch] libgimpthumb/gimpthumbnail.[ch] added
2004-10-23  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch]
	* libgimpthumb/gimpthumbnail.[ch]
	* libgimpthumb/gimpthumb.def: added missing API, mainly for deleting
	thumbnails.

	* app/core/gimpimagefile.[ch]: when saving a thumbnail, delete a
	failure thumbnail if one exists. Unless the thumbnail was created
	explicitely, remove all other thumbnails for this image.

	* app/actions/documents-commands.c: changed accordingly.

	* app/file/file-open.c: only save a thumbnail if there isn't a
	valid thumbnail already.

	* app/widgets/gimpthumbbox.c: before attempting to create a new
	thumbnail, check if there's an uptodate failure thumbnail.
2004-10-23 15:30:39 +00:00
Francisco Javier F. Serrador dab05392af Updated Spanish translation
2004-10-23  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation
2004-10-23 15:10:01 +00:00
Miloslav Trmac 87331970e2 Updated Czech translation.
2004-10-23  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2004-10-23 14:37:52 +00:00
Michael Natterer a315265676 added app/dialogs/layer-add-mask-dialog.c
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/layer-add-mask-dialog.c
2004-10-23 14:03:27 +00:00
Michael Natterer cbaf441fb4 app/dialogs/Makefile.am one more dialog split out of actions/.
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/layer-add-mask-dialog.[ch]: one more dialog split
	out of actions/.

	* app/actions/layers-commands.c: removed it here. Some cleanup.
2004-10-23 14:02:53 +00:00
Michael Natterer 6d9d93e15d don't tell nonsense by printing "I am going to run ./configure with no
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* autogen.sh: don't tell nonsense by printing "I am going to run
	./configure with no arguments", because we always pass at least
	--enable-maintainer-mode. Instead, simply always print all
	arguments. Also removed --copy from the calls to glib-gettextize
	and intltoolize.
2004-10-23 12:13:39 +00:00
Michael Natterer 6c0fd1dd9d don't tell nonsense by printing "I am going to run ./configure with no
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* autogen.sh: don't tell nonsense by printing "I am going to run
	./configure with no arguments", because we always pass at least
	--enable-maintainer-mode. Instead, simply always print all
	arguments.
2004-10-23 11:02:07 +00:00
Michael Natterer 6e9d0cfa5d added labels ("_Stroke") to the SLEECTION_STROKE and PATH_STROKE stock
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpstock.c: added labels ("_Stroke") to the
	SLEECTION_STROKE and PATH_STROKE stock items so they can be used
	in action areas.

	* app/widgets/gimpstrokeeditor.c: changed mnemonic to no clash
	with "_Stroke" and reordered some code.

	* app/dialogs/stroke-dialog.[ch]: use the passed stock_id instead
	of GTK_STOCK_OK. Added parameters to specify the dialog's title
	so it doesn't say "Stroke Options".

	* app/actions/select-commands.c
	* app/actions/vectors-commands.c
	* app/tools/gimpvectortool.c: pass "Stroke Selection" and "Stroke
	Path" as dialog titles.
2004-10-23 10:28:56 +00:00
Adam Weinberger 5256fb2c25 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-23 03:01:46 +00:00
Michael Natterer fd6d30fd30 When there are variants of actions with and without dialog, let the
2004-10-23  Michael Natterer  <mitch@gimp.org>

	When there are variants of actions with and without dialog, let
	the dialog-less actions try to use the values from the last dialog
	invocation:

	* app/actions/channels-actions.c
	* app/actions/channels-commands.[ch]
	* app/actions/layers-actions.c
	* app/actions/layers-commands.[ch]
	* app/actions/vectors-actions.c
	* app/actions/vectors-commands.[ch]: renamed the foo-new-defaults
	actions to foo-new-last-values and use the last values entered in
	the dialogs.

	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimpitemtreeview.c
	* app/widgets/gimplayertreeview.c
	* app/widgets/gimpvectorstreeview.c: changed accordingly. Show
	the dialog on clicking "New" and call the last-values action on
	<shift>+click.

	* app/actions/select-actions.c
	* app/actions/vectors-commands.c: renamed the foo-stroke-last-vals
	to -last-values.

	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpvectorstreeview.c: stroke with last values on
	<shift> clicking the stroke buttons.
2004-10-23 00:53:48 +00:00
Sven Neumann 00ff7e3f61 save to a temporary file and rename to avoid problems with concurrent
2004-10-23  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_save): save to a
	temporary file and rename to avoid problems with concurrent
	thumbnail creation.
2004-10-23 00:27:11 +00:00
Hendrik Brandt ee7a9923f7 Updated German translation (little correction).
2004-10-23  Hendrik Brandt  <hebra@cvs.gnome.org>

        * de.po: Updated German translation (little correction).
2004-10-22 23:01:35 +00:00
Hendrik Brandt 214d1f01cb Updated German translation.
2004-10-23  Hendrik Brandt  <hebra@cvs.gnome.org>

        * de.po: Updated German translation.
2004-10-22 22:57:42 +00:00
Michael Natterer 0de856aca9 added app/dialogs/layer-options-dialog.c
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/layer-options-dialog.c
2004-10-22 22:29:15 +00:00
Michael Natterer 5346f26bea app/dialogs/Makefile.am the new/edit layer dialog.
2004-10-23  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/layer-options-dialog.[ch]: the new/edit layer dialog.

	* app/actions/layers-commands.c: use it here.
2004-10-22 22:28:45 +00:00
Adam Weinberger 1677236d2c Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-22 20:18:49 +00:00
Sven Neumann 43a4629965 app/tools/gimpimagemaptool.[ch] app/tools/gimpcurvestool.c allow to
2004-10-22  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpimagemaptool.[ch]
	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c: allow to Shift-click the Load and
	Save buttons to skip the file chooser dialog and reuse the last
	used filename. Fixes bug #75558.
2004-10-22 19:44:03 +00:00
Michael Natterer 8907fdcf46 added app/dialogs/template-options-dialog.c
2004-10-22  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/dialogs/template-options-dialog.c
2004-10-22 18:15:46 +00:00
Michael Natterer d1ce0a16bd app/dialogs/Makefile.am the new/edit template dialog.
2004-10-22  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/Makefile.am
	* app/dialogs/template-options-dialog.[ch]: the new/edit template
	dialog.

	* app/actions/templates-commands.c: removed the code here and use
	template_options_dialog_new(). Removed utility functions. Some
	cleanup.
2004-10-22 18:13:46 +00:00
Michael Natterer 59bd430526 make sure the button_box is always interted at the very bottom of the
2004-10-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpeditor.c (gimp_editor_ensure_button_box): make
	sure the button_box is always interted at the very bottom of the
	editor.

	* app/widgets/gimpviewabledialog.c: changed the "description"
	property from CONSTRUCT_ONLY to CONSTRUCT.

	* app/widgets/gimpcolormapeditor.c: show the index of the edited
	color in the color dialog and use the correct icon. Replaced label
	"Hex triplet" by "HTML notation" to be consistent with the color
	dialog. Removed wrong 2 pixel border around the table below the
	preview.
2004-10-22 15:41:03 +00:00
Sven Neumann 0b43e493dd fixed non-interactive call with default values.
2004-10-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: fixed non-interactive call with default
	values.
2004-10-22 15:26:50 +00:00
Sven Neumann 341b6da981 app/actions/colormap-editor-actions.c app/actions/dialogs-actions.c
2004-10-22  Sven Neumann  <sven@gimp.org>

	* app/actions/colormap-editor-actions.c
	* app/actions/dialogs-actions.c
	* app/core/gimpimage-colormap.c
	* app/dialogs/convert-dialog.c
	* app/dialogs/dialogs.c
	* app/widgets/gimpcolormapeditor.c: use the term "Colormap"
	instead of "Indexed Palette". Fixes bug #155829.
2004-10-22 14:43:43 +00:00
Miloslav Trmac c7647129d3 Updated Czech translation.
2004-10-22  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2004-10-22 13:51:05 +00:00
Sven Neumann 9fdf9b4a59 applied a patch by Karine Proot that adds a preview to the load dialog and
2004-10-22  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/wmf.c: applied a patch by Karine Proot that adds
	a preview to the load dialog and a similar UI as the SVG loader.
	Fixes bug #133519 and bug #133521.
2004-10-22 13:41:15 +00:00
Nikos Charonitakis 762719e85b Updated Greek translation 2004-10-22 12:54:53 +00:00
Michael Natterer 06447c00c2 added new enum GimpStrokeMethod which can be one of { LIBART, PAINT_CORE
2004-10-22  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added new enum GimpStrokeMethod which
	can be one of { LIBART, PAINT_CORE }.

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpstrokedesc.[ch]: new object which encapsulates
	the params and setup logic for the different stroke methods.

	* app/core/gimpitem.[ch]: use it in GimpItem::stroke() and
	in the gimp_item_stroke() wrapper.

	* app/core/gimpchannel.c (gimp_channel_stroke)
	* app/core/gimpselection.c (gimp_selection_stroke)
	* app/vectors/gimpvectors.c (gimp_vectors_stroke): changed accprdingly.

	* app/actions/select-commands.c
	* app/actions/vectors-commands.c
	* app/dialogs/stroke-dialog.c
	* tools/pdbgen/pdb/edit.pdb
	* tools/pdbgen/pdb/paths.pdb: use GimpStrokeDesc. Simplifies the
	code quite a bit.

	* app/pdb/edit_cmds.c
	* app/pdb/paths_cmds.c: regenerated.
2004-10-22 12:32:31 +00:00
Adam Weinberger fbfa5666e7 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-10-22 04:05:08 +00:00
Michael Natterer 14a2a2aa09 remember the param_spec with each radio button instead of with the
2004-10-22  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppropwidgets.c: remember the param_spec with each
	radio button instead of with the box/frame around them.
2004-10-22 02:15:14 +00:00