Commit Graph

11395 Commits

Author SHA1 Message Date
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
Sven Neumann 8f5833ccf0 libgimpthumb/libgimpthumb-sections.txt updated.
2004-02-25  Sven Neumann  <sven@gimp.org>

	* libgimpthumb/libgimpthumb-sections.txt
	* libgimpthumb/tmpl/gimpthumb-enums.sgml: updated.
2004-02-25 22:21:56 +00:00
Michael Natterer aa1ca52a37 Changed libgimpthumb API in a way that will make GtkFileChooser
2004-02-25  Michael Natterer  <mitch@gimp.org>

	Changed libgimpthumb API in a way that will make GtkFileChooser
	integration possible without doing major hacks:

	* libgimpthumb/gimpthumb-enums.h: added GimpThumbFileType enum
	and extended GimpThumbState enum.

	* libgimpthumb/gimpthumb-utils.[ch]: return GimpThumbFileType
	instead of gboolean from gimp_thumb_file_test().

	* libgimpthumb/gimpthumbnail.c
	* app/core/gimpimagefile.c: changed accordingly (the icons
	used for REMOTE, FOLDER and SPECIAL need to be changed).
2004-02-25 17:33:45 +00:00
Michael Natterer 4ae2c548d6 cleanup.
2004-02-25  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpimagemaptool.c: cleanup.

	* app/tools/gimplevelstool.c (gimp_levels_tool_dialog): added 2px
	spacing between the pick buttons and their entries.
2004-02-25 15:56:50 +00:00
Jordi Mallach b25c64c5e4 Updated Catalan translation by Xavier Conde Rueda <xaviconde@eresmas.com>. 2004-02-25 14:19:38 +00:00
Michael Natterer 0d3e3625c3 moved "shell_desc" from GimpImageMapTool to GimpImageMapToolClass and
2004-02-25  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpimagemaptool.[ch]: moved "shell_desc" from
	GimpImageMapTool to GimpImageMapToolClass and added
	"load_dialog_title" and "save_dialog_title". Create the
	load/save buttons in gimp_image_map_tool_initialize() and
	remember them in the GimpImageMapTool struct. Moved the
	whole load/save button/dialog logic into private functions.

	* app/tools/gimpcurvestool.c
	* app/tools/gimplevelstool.c: changed accordingly, removed
	load/save callbacks, inlined the load/save functions into
	GimpImageMapTool's virtual function implementations.

	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcolorizetool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimpthresholdtool.c: changed accordingly.
2004-02-25 13:55:45 +00:00
Pablo Gonzalo del Campo dc25eebfaa Updated Spanish translation.
2003-02-25  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2004-02-25 13:34:04 +00:00
Pablo Gonzalo del Campo a5b30d85fa Updated Spanish translation.
2004-02-25  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2004-02-25 13:33:45 +00:00
Pablo G. del Campo 67fa056328 Updated Spanish translation.
2004-02-25  Pablo G. del Campo  <pablodc@bigfoot.com>

	* es.po: Updated Spanish translation.
2004-02-25 13:33:16 +00:00
Sven Neumann 0a309fe940 app/tools/gimpcurvestool.[ch] removed obsoleted variables.
2004-02-25  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.[ch]
	* app/tools/gimplevelstool.h: removed obsoleted variables.
2004-02-25 12:31:18 +00:00
Sven Neumann c66053676c removed obsolete includes 2004-02-25 10:28:09 +00:00
Sven Neumann c1de6345a7 app/tools/gimpcurvestool.[ch] app/tools/gimpimagemapoptions.[ch]
2004-02-25  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.[ch]
	* app/tools/gimpimagemapoptions.[ch]
	* app/tools/gimpimagemaptool.[ch]
	* app/tools/gimplevelstool.[ch]: moved the settings file dialog
	that was duplicated in the curves and levels tools to the
	GimpImageMapTool class. Store the last used filename in the
	GimpImageMapOptions (proper fix for bug #135059).
2004-02-25 10:23:43 +00:00
Alastair McKinstry c9ee3dc2a6 Updated Irish translation 2004-02-24 22:38:07 +00:00
Dave Neary 879e24fec9 Revert to 1.2 behaviour of hiding rather than destroying the curves
2004-02-24  Dave Neary  <bolsh@gimp.org>

        * app/tools/gimpcurvestool.c: Revert to 1.2 behaviour of hiding
        rather than destroying the curves load/save dialog. This makes
        the last selected curve be selected when the dialog is
        re-opened, and fixes bug #135059.

        Also append G_DIR_SEPARATOR_S to the end of the filename we
        build while creating the dialog, rather than ".".
2004-02-24 22:09:28 +00:00