Commit Graph

11608 Commits

Author SHA1 Message Date
Sven Neumann 6823e69bbf let GdkPixbuf scale the thumbnail. It does a nicer job than
2004-03-03  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_get_new_preview):
	let GdkPixbuf scale the thumbnail. It does a nicer job than
	temp_buf_scale().
2004-03-03 15:30:48 +00:00
Michael Natterer fdb8b0f9ab GDK_TYPE_MODIFIER_TYPE are flags, not enum values, use the right
2004-03-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolormapeditor.c (gimp_colormap_editor_class_init):
	GDK_TYPE_MODIFIER_TYPE are flags, not enum values, use the
	right marshaller for the "selected" signal.
2004-03-03 14:44:34 +00:00
Michael Natterer 4a72992495 updated.
2004-03-03  Michael Natterer  <mitch@gimp.org>

	* libgimpthumb/tmpl/gimpthumb-utils.sgml: updated.
2004-03-03 14:23:28 +00:00
Michael Natterer 5198408aff moved the (disabled) ENABLE_FILE_SYSTEM_ICONS from the .c to the .h file
2004-03-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppreviewrendererimagefile.[ch]: moved the
	(disabled) ENABLE_FILE_SYSTEM_ICONS from the .c to the .h file and
	#ifdef the "gpointer file_system" member with it.
2004-03-03 14:00:00 +00:00
Michael Natterer 5f6fd78fd5 moved the (disabled) ENABLE_FILE_SYSTEM_ICONS from the .c to the .h file
2004-03-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppreviewrendererimagefile.[ch]: moved the
	(disabled) ENABLE_FILE_SYSTEM_ICONS from the .c to the .h file and
	#ifdef the "gpointer file_system" member with it.
2004-03-03 13:52:54 +00:00
Simon Budig d765998230 fixed offset handling. Vectors objects always have 0,0 as offsets and
2004-03-03  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors.c: fixed offset handling. Vectors
	objects always have 0,0 as offsets and image->width,
	image->height as their dimensions.

	Fixes bug #135994.
2004-03-03 13:32:49 +00:00
Michael Natterer 31324ffb23 return the "errno" of a failed stat() call.
2004-03-03  Michael Natterer  <mitch@gimp.org>

	* libgimpthumb/gimpthumb-utils.[ch] (gimp_thumb_file_test):
	return the "errno" of a failed stat() call.

	* libgimpthumb/gimpthumbnail.[ch]: added member
	"image_not_found_errno" which contains the errno as returned by
	gimp_thumb_file_test() if thumbnail->image_state is
	GIMP_THUMB_STATE_NOT_FOUND.

	* app/core/gimpimagefile.c (gimp_imagefile_get_desc_string): display
	the real error as specified by thumbnail->image_not_found_errno
	instead of just "Could not open".
2004-03-03 12:47:35 +00:00
Michael Natterer 1b63a05791 app/widgets/Makefile.am app/widgets/widgets-types.h added new preview
2004-03-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimppreviewrendererimagefile.[ch]: added new preview
	renderer class (has some disabled code from my GtkFileChooser tree
	and behaves exactly as the default implementation).

	* app/widgets/gimppreviewrenderer-utils.c: use it for GimpImagefiles.
2004-03-03 12:39:19 +00:00
Manish Singh db856068bb Disable PF_*ARRAY for now. Addresses #122049.
2004-03-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Disable PF_*ARRAY for now. Addresses
        #122049.
2004-03-02 18:25:29 +00:00
Michael Natterer dade4a8430 app/tools/gimpeditselectiontool.c compress undo steps only if the redo
2004-03-02  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpeditselectiontool.c
	* app/widgets/gimplayertreeview.c: compress undo steps only
	if the redo stack is empty.
2004-03-02 14:33:31 +00:00
Pedro Gimeno f49a8c63ff Fix handling of positive Y displacements of the bumpmap. Thanks to Joao
2004-03-02  Pedro Gimeno  <pggimeno@wanadoo.es>

	* plug-ins/common/bumpmap.c (bumpmap): Fix handling of positive Y
	displacements of the bumpmap. Thanks to Joao S.O. Bueno for
	tracking this. Fixes bug #135866.
2004-03-02 12:26:38 +00:00
Manish Singh 2abf16baca define a gimp_stable symbol based on the version number (to complement
2004-03-01  Manish Singh  <yosh@gimp.org>

        * configure.in: define a gimp_stable symbol based on the version
        number (to complement gimp_unstable) and use it as a default for
        --enable-default-binary.
2004-03-02 06:36:17 +00:00
Sven Neumann 338f1e9f9a added simple test for gimp_config_diff().
2004-03-01  Sven Neumann  <sven@gimp.org>

	* app/config/test-config.c: added simple test for gimp_config_diff().
2004-03-01 19:50:18 +00:00
Miloslav Trmac d46ce12635 Update Czech translation 2004-03-01 15:53:20 +00:00
Michael Natterer 4a199a3e48 new function which configures the dialog to load an image.
2004-03-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_set_uri):
	new function which configures the dialog to load an image.

	* app/gui/file-open-dialog.c: use it. Don't use file-dialog-utils
	any more and allow setting the uri of an already visible file open
	dialog.

	* app/gui/file-dialog-utils.c: took the file open menu entries out
	of that insane logic that makes the menus insensitive while any
	file dialog is open.
2004-03-01 13:40:46 +00:00
Michael Natterer ca2f7f88de new function which configures the dialog to save an image.
2004-03-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_set_image):
	new function which configures the dialog to save an image.

	* app/gui/file-save-dialog.c: use it.

	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c: removed useless #inlcudes.
2004-03-01 12:27:33 +00:00
Michael Natterer 705114f02f added unused "GSList *file_procs" parameter.
2004-03-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.[ch] (gimp_file_dialog_new): added
	unused "GSList *file_procs" parameter.

	* app/gui/file-open-dialog.c: pass gimp->load_procs.
	* app/gui/file-save-dialog.c: pass gimp->save_procs.
2004-03-01 11:57:38 +00:00
Sven Neumann ad26c89bbb changed the upper limit for the supersampling depth from 10 to 6 (as a
2004-02-29  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpblendoptions.c: changed the upper limit for the
	supersampling depth from 10 to 6 (as a workaround for bug #133266).
2004-02-29 15:02:04 +00:00
Jan Morén 30fa1d1088 Updated Swedish translation.
2004-02-29  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2004-02-29 03:56:30 +00:00
Sven Neumann 2000fe59e5 no need to connect to "destroy", GTK_DIALOG_DESTROY_WITH_PARENT does this
2004-02-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpunitmenu.c (gimp_unit_menu_create_selection):
	no need to connect to "destroy", GTK_DIALOG_DESTROY_WITH_PARENT
	does this for us already.
2004-02-28 23:20:33 +00:00
Sven Neumann 5f6783a4fa removed the call to gtk_widget_get_toplevel() again. Implement the
2004-02-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpdialog.c: removed the call to
	gtk_widget_get_toplevel() again.
	Implement the GTK_DIALOG_DESTROY_WITH_PARENT behaviour in a way
	that works for GimpDialog.

	* app/gui/resolution-calibrate-dialog.c: pass the toplevel window
	to gimp_dialog_new ().
2004-02-28 21:33:03 +00:00
Michael Natterer 80fbb0f1f2 some general cleanup.
2004-02-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcellrendererviewable.c: some general cleanup.

	(gimp_cell_renderer_viewable_set_property): ref the new renderer
	before unrefing the old one. Fixes potential crash when setting
	the same renderer again.
2004-02-28 19:20:16 +00:00
Michael Natterer abee5eef7a when deleting the mask, use "Delete Layer Mask" instead of "Apply Layer
2004-02-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimplayer.c (gimp_layer_apply_mask): when deleting the
	mask, use "Delete Layer Mask" instead of "Apply Layer Mask" as
	undo description.
2004-02-28 18:56:55 +00:00
Christophe Merlet ccc134bb87 Updated French translation. 2004-02-28 15:12:09 +00:00
Sven Neumann 93f580fac7 if the parent widget is not a GtkWindow, use gtk_widget_get_toplevel() to
2004-02-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpdialog.c (gimp_dialog_new_valist): if the
	parent widget is not a GtkWindow, use gtk_widget_get_toplevel()
	to get a pointer to the window the widget lives in.

	* app/gui/resolution-calibrate-dialog.c: don't make the dialog
	modal. It was a bad idea to do that, leading to problems spotted
	by Pedro Gimeno (bug #135630).
2004-02-28 12:37:49 +00:00
Sven Neumann 7392745fc4 *** empty log message *** 2004-02-28 12:31:20 +00:00
Michael Natterer 797717a80d removed useless #includes.
2004-02-27  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpfileentry.c: removed useless #includes.
2004-02-27 22:51:19 +00:00
Michael Natterer 5bdd1635c8 app/gui/file-dialog-utils.c app/widgets/gimpfiledialog.c some irrelevant
2004-02-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-dialog-utils.c
	* app/widgets/gimpfiledialog.c
	* libgimpwidgets/gimpfileentry.[ch]: some irrelevant micro changes
	to make that patch smaller.
2004-02-27 22:25:37 +00:00
Michael Natterer d880e7f2d8 app/gui/file-dialog-utils.c app/widgets/gimpfiledialog.c some irrelevant
2004-02-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-dialog-utils.c
	* app/widgets/gimpfiledialog.c
	* libgimpwidgets/gimpfileentry.[ch]: some irrelevant micro changes
	to make that patch smaller.
2004-02-27 22:01:00 +00:00
Michael Natterer babcd868bf app/gui/file-open-dialog.c merged some small fixes/changes from my HEAD
2004-02-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c: merged some small fixes/changes
	from my HEAD tree so the file chooser patch becomes smaller.
2004-02-27 16:28:55 +00:00
Sven Neumann 0ca4fe757f peek the image to make sure that mtime and filesize are written correctly.
2004-02-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_save_thumb): peek the
	image to make sure that mtime and filesize are written correctly.
2004-02-27 16:27:06 +00:00
Michael Natterer da90ac6bfd removed the thumbnail box.
2004-02-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-open-dialog.c: removed the thumbnail box.

	* app/widgets/gimpfiledialog.c: and added it here.
2004-02-27 15:43:58 +00:00
Michael Natterer dfca2d79e3 renamed parameters and removed useless #includes.
2004-02-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-dialog-utils.[ch]: renamed parameters and removed
	useless #includes.
2004-02-27 14:51:51 +00:00
Michael Natterer f5c070ea54 file-dialog-utils.c -> gimpfiledialog.c
2004-02-27  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: file-dialog-utils.c -> gimpfiledialog.c
2004-02-27 14:47:42 +00:00
Michael Natterer 527aa849cb app/widgets/Makefile.am app/widgets/widgets-types.h new widget swallowing
2004-02-27  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpfiledialog.[ch]: new widget swallowing most
	of file-dialog-utils.[ch]'s functionality.

	* app/widgets/widgets-types.h: added "gpointer callback_data" to
	GimpItemFactorySetupFunc so the setup_funcs can create items in
	the same context as the item factory's default items.

	* app/widgets/gimpmenufactory.c (gimp_menu_factory_menu_new):
	pass "callback_data" to setup_func().

	* app/gui/file-open-menu.[ch]
	* app/gui/file-save-menu.[ch]: use the passed callback_data
	when creating the menus and attach the file_proc to the
	menu items using g_object_set_data().

	* app/gui/file-commands.[ch]: merged separate file type callbacks
	for open and save dialogs into one callback which simply
	calls gimp_file_dialog_set_file_proc().

	* app/gui/file-dialog-utils.[ch]: removed file_dialog_new()
	and file_dialog_set_proc().

	* app/gui/file-open-dialog.[ch]
	* app/gui/file-save-dialog.[ch]: use the new widget and removed
	global variables except the dialog pointer itself.

	* app/gui/image-menu.[ch]
	* app/gui/tool-options-menu.[ch]
	* app/gui/toolbox-menu.[ch]: changed accordingly.
2004-02-27 14:20:19 +00:00
Sven Neumann 2c936cc923 added RTL variants of stock icons.
2004-02-27  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/tmpl/gimpstock.sgml: added RTL variants of stock
	icons.
2004-02-27 12:55:09 +00:00
Francisco Javier F. Serrador 64135def7e Updated Spanish translation.
2004-02-27  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-02-26 23:55:15 +00:00
Sven Neumann d69d83bc83 improved help on missing libraries at run-time.
2004-02-26  Sven Neumann  <sven@gimp.org>

	* INSTALL: improved help on missing libraries at run-time.
2004-02-26 22:54:48 +00:00
Danilo Šegan 6230b17ab9 Updated Serbian translation. 2004-02-26 20:53:08 +00:00
Michael Natterer 771e1ea330 changed return value from gboolean to void because the function is no
2004-02-26  Michael Natterer  <mitch@gimp.org>

	* app/gui/file-dialog-utils.[ch] (file_dialog_hide): changed
	return value from gboolean to void because the function is no
	longer used as "delete_event" callback.

	* app/gui/file-open-dialog.c
	* app/gui/file-save-dialog.c: removed unused #includes.
2004-02-26 20:40:20 +00:00
Michael Natterer 5568644538 added missing cast.
2004-02-26  Michael Natterer  <mitch@gimp.org>

	* app/file/file-open.c (file_open_image): added missing cast.

	* app/widgets/gimperrorconsole.[ch]
	* app/widgets/gimptexteditor.[ch]: renamed members so my file
	chooser patch becomes smaller ;)
2004-02-26 20:04:20 +00:00
Pedro Gimeno 738d31d3a4 Applied a fix by Michael Natterer addressing a problem with the preview in
2004-02-26  Pedro Gimeno  <pggimeno@wanadoo.es>

	* app/file/file-open.c (file_open_image): Applied a fix by
	Michael Natterer addressing a problem with the preview in the
	open images list when loading a file.
2004-02-26 16:59:34 +00:00
Michael Natterer 2db5e0f5c6 renamed some members, cleanup.
2004-02-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpthumbbox.[ch]: renamed some members, cleanup.
2004-02-26 16:07:20 +00:00
Sven Neumann 5870597872 added ru.po (Russian).
2004-02-26  Sven Neumann  <sven@gimp.org>

	* Makefile.am (tips_POFILES): added ru.po (Russian).
2004-02-26 14:03:26 +00:00
Sven Neumann cdc2f0ded6 check display->shell before using it. It might be NULL if the function is
2004-02-26  Sven Neumann  <sven@gimp.org>

	* app/display/gimpprogress.c (gimp_progress_end): check
	display->shell before using it. It might be NULL if the function
	is being called from gimp_exit().

	* app/app_procs.c (app_exit_after_callback): added back the call
	to exit() but only for stable releases. See my comments in the
	code to understand the reasons.
2004-02-26 14:01:57 +00:00
Michael Natterer 3f9ae43250 app/widgets/Makefile.am app/widgets/widgets-types.h new widget ripped out
2004-02-26  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpthumbbox.[ch]: new widget ripped out of the file
	open dialog.

	* app/gui/file-open-dialog.c: use it.
2004-02-26 13:48:42 +00:00
Dmitry Mastrukov dd3de21f69 ru.po: Added Russian translation from Russian team <gnome-cyr@gnome.org>. 2004-02-26 05:35:25 +00:00
Dmitry Mastrukov a7acd2bb82 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2004-02-26 05:32:50 +00:00
Sven Neumann 1dae64f520 fixed my fixes.
2004-02-26  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c: fixed my fixes.
2004-02-25 23:44:27 +00:00
Sven Neumann c614e33b39 never return a failed pixbuf.
2004-02-25  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/gimpthumbnail.c (gimp_thumbnail_load_thumb): never
	return a failed pixbuf.

	(gimp_thumbnail_save_failure) (gimp_thumbnail_save_thumb): set the
	thumb_state when saving a thumbnail.
2004-02-25 22:54:31 +00:00