Commit Graph

12169 Commits

Author SHA1 Message Date
Zygimantas Berucka 7964ab058b Added "lt" to ALL_LINGUAS.
2004-05-23  Zygimantas Berucka  <uid0@akl.lt>

	* configure.in: Added "lt" to ALL_LINGUAS.
2004-05-23 11:45:24 +00:00
Michael Schumacher e9259c097a gimp_register_file_handler_mime added
* libgimp/gimp.def: gimp_register_file_handler_mime added
2004-05-23 11:21:40 +00:00
Zygimantas Berucka 126b06605b Added Lithuanian translation.
2004-05-23  Zygimantas Berucka  <uid0@akl.lt>

* lt.po: Added Lithuanian translation.
2004-05-23 11:19:31 +00:00
Michael Natterer 43cdd54dd1 reoedered to somehow reflect the class hierarchy.
2004-05-23  Michael Natterer  <mitch@gimp.org>

	* app/widgets/widgets-types.h: reoedered to somehow reflect the
	class hierarchy.

	Some dockable context handling cleanup:

	* app/widgets/gimpdocked.[ch]: removed "prev_context" parameter
	from GimpDocked::set_context(). Widgets which need the old context
	to disconnect from should remember it themselves.

	* app/widgets/gimpdockable.c (gimp_dockable_set_context): don't
	pass the old context to gimp_docked_set_context().
	Some cleanup.

	* app/widgets/gimpcontainerbox.c
	* app/widgets/gimpcontainereditor.c: changed accordingly.

	* app/display/gimpnavigationview.[ch]
	* app/widgets/gimpimageeditor.[ch]
	* app/widgets/gimpitemtreeview.[ch]: added a "context" member
	which holds the context set by GimpDocked::set_context().

	* app/widgets/gimpdrawabletreeview.c: use the view's context
	instead of gimp_get_user_context().

	* app/widgets/gimpcoloreditor.[ch]: removed separate API to
	set the context because it implements the GimpDockedInterface.

	* app/widgets/gimpcomponenteditor.c
	* app/widgets/gimperrorconsole.c: pass "menu-factory",
	"menu-identifier" and "ui-path" to g_object_new() instead of
	calling gimp_editor_create_menu() later.

	Action cleanup partly related to the context stuff above:

	* app/actions/actions.c (action_data_get_gimp): get the Gimp from
	context->gimp, not gimage->gimp because gimage may be NULL.

	(action_data_get_context): changed to use the new context members
	added above.

	* app/actions/channels-actions.c (channels_actions_update): cleanup.

	* app/actions/edit-actions.c (edit_actions_update): fixed
	sensitivity of "edit-undo-clear".

	* app/actions/vectors-actions.c (vectors_actions_update): make
	"vectors-merge-visible" sensitive only if there is more than one
	GimpVectors in the image.

	* app/actions/colormap-editor-actions.c
	* app/actions/gradient-editor-actions.c
	* app/actions/palette-editor-actions.c: added FG/BG color previews
	to actions which take colors from them. Changed code to be safe
	against "context" being NULL.

	* app/actions/drawable-commands.c:
	s/active_drawable/drawable/g. Makes the code more readable.

	* app/actions/select-commands.[ch]
	* app/actions/vectors-commands.[ch]: removed public stroke utility
	functions and other stuff which is not needed any more because
	dialog buttons invoke the correct actions now. Moved the
	functions' code to the resp. action callbacks.
2004-05-23 10:04:41 +00:00
Zygimantas Berucka 92514b0d27 Updated Lithuanian translation.
2004-05-23  Zygimantas Berucka  <uid0@akl.lt>

* lt.po: Updated Lithuanian translation.
2004-05-23 09:02:50 +00:00
Marco Ciampa 6a35040dde Updated italian translation 2004-05-22 22:33:41 +00:00
Marco Ciampa 08eb06b131 Updated italian translation 2004-05-22 00:13:43 +00:00
Ole Laursen 76f7781448 Fixed a string in Danish translation.
2004-05-21  Ole Laursen  <olau@hardworking.dk>

	* da.po: Fixed a string in Danish translation.
2004-05-21 18:48:14 +00:00
Nate Summers 1883a7e985 Recommitted lost changes to NEWS and ChangeLog 2004-05-21 18:22:46 +00:00
Sven Neumann f14e42b01b better fix for bug #123811; patch provided by Philip Lafleur.
2004-05-21  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_interpolate): better
	fix for bug #123811; patch provided by Philip Lafleur.
2004-05-21 15:23:28 +00:00
Sven Neumann a8becd6b59 added some GtkSizeGroups and changed spacings to improve the dialog
2004-05-21  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c: added some GtkSizeGroups and
	changed spacings to improve the dialog layout.

	* app/gui/file-new-dialog.c
	* app/widgets/gimpgrideditor.c
	* app/widgets/gimptemplateeditor.c: minor changes for consistency.
2004-05-21 14:17:27 +00:00
Sven Neumann ebb19b59f1 plug-ins/gflare/gflare.c plug-ins/gfli/gfli.c
2004-05-21  Sven Neumann  <sven@gimp.org>

	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sel2path/sel2path_adv_dialog.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/icodialog.c: HIG-ification.
2004-05-21 11:16:27 +00:00
Sven Neumann eef3737606 updated.
2004-05-21  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: updated.
2004-05-21 09:32:18 +00:00
Marco Ciampa c11280e69f Updated italian translation 2004-05-20 22:54:55 +00:00
Michael Natterer db735c4c7a eek, delete the data only if "OK" was pressed.
2004-05-21  Michael Natterer  <mitch@gimp.org>

	* app/actions/data-commands.c (data_delete_callback): eek, delete
	the data only if "OK" was pressed.
2004-05-20 22:35:18 +00:00
Michael Natterer d4a163eb90 use gtk_widget_get_screen(), not window_get_screen() on a button.
2004-05-21  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimperrorconsole.c
	(gimp_error_console_save_ext_clicked): use
	gtk_widget_get_screen(), not window_get_screen() on a button.
2004-05-20 22:33:19 +00:00
Maurits Rijk f02a8b618b HIG-ified, replaced deprecated widget GtkCList by GtkTreeModel/View (also
* plug-ins/imagemap/imap_*.[ch]: (partly) HIG-ified, replaced
  deprecated widget GtkCList by GtkTreeModel/View (also fixes #136893),
  use file choosers instead of file selectors, minor clean-up.
2004-05-20 20:50:23 +00:00
Marco Ciampa 1f786473bc Updated italian translation 2004-05-20 20:20:01 +00:00
Sven Neumann 722d160868 plug-ins/Lighting/lighting_ui.c plug-ins/MapObject/mapobject_ui.c
2004-05-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp.c
	* plug-ins/gfig/gfig-preview.c
	* plug-ins/gfig/gfig.c: HIG-ified.
2004-05-20 16:47:18 +00:00
Sven Neumann 25e6d3a9a4 plug-ins/bmp/bmpwrite.c plug-ins/fits/fits.c plug-ins/flame/flame.c
2004-05-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpwrite.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp.c: HIG-ified.
2004-05-20 15:51:25 +00:00
Sven Neumann d5b0eb8fe3 finish the ChangeLog entry 2004-05-20 15:06:26 +00:00
Sven Neumann c5d6cc37a6 plug-ins/Lighting/lighting_ui.c plug-ins/MapObject/mapobject_ui.c
2004-05-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c
2004-05-20 15:05:48 +00:00
Sven Neumann 0960acc0ee plug-ins/FractalExplorer/Dialogs.c HIG-ification and some code cleanup.
2004-05-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c: HIG-ification and
	some code cleanup.
2004-05-20 13:32:35 +00:00
Manish Singh a7b2d6d5ce vte sucks 2004-05-20 02:36:11 +00:00
Manish Singh a63a2e86d6 Actually return values from the run function. Fixes #141338.
2004-05-19  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Actually return values from the run
        function. Fixes #141338.
2004-05-20 02:33:59 +00:00
Sven Neumann fe5d17d0aa NEWS update 2004-05-20 02:03:48 +00:00
Sven Neumann 84eb369709 plug-ins/maze/maze_face.c HIG-ified. Say goodbye to "Parameter Settings".
2004-05-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/maze/maze_face.c
	* plug-ins/xjt/xjt.c: HIG-ified. Say goodbye to "Parameter Settings".
2004-05-20 01:40:48 +00:00
Sven Neumann 8885e76c91 plug-ins/common/warp.c plug-ins/common/whirlpinch.c plug-ins/common/wmf.c
2004-05-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/warp.c
	* plug-ins/common/whirlpinch.c
	* plug-ins/common/wmf.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c: HIG-ified.
2004-05-20 01:19:47 +00:00
Manish Singh f5fd7288e0 remove unnecessary G_OBJECT() casts.
2004-05-19  Manish Singh  <yosh@gimp.org>

        * app/actions/file-actions.c: remove unnecessary G_OBJECT() casts.

        * tools/pdbgen/pdb/help.pdb
        * tools/pdbgen/pdb/image.pdb
        * tools/pdbgen/pdb/paths.pdb
        * tools/pdbgen/pdb/plug_in.pdb: a bit of quoting clean up.

        * tools/pdbgen/pdb/plug_in.pdb: handle icon_data_length properly.

        * app/pdb/plug_in_cmds.c: regenerated.
2004-05-20 01:13:14 +00:00
Sven Neumann aaf38056c7 plug-ins/common/tga.c plug-ins/common/threshold_alpha.c
2004-05-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tga.c
	* plug-ins/common/threshold_alpha.c
	* plug-ins/common/tiff.c
	* plug-ins/common/tile.c
	* plug-ins/common/tileit.c
	* plug-ins/common/uniteditor.c
	* plug-ins/common/unsharp.c
	* plug-ins/common/video.c
	* plug-ins/common/vpropagate.c: HIG-ified.
2004-05-20 00:50:05 +00:00
Sven Neumann 0c19a57ffd plug-ins/common/randomize.c plug-ins/common/ripple.c
2004-05-20  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/randomize.c
	* plug-ins/common/ripple.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/scatter_hsv.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/sharpen.c
	* plug-ins/common/shift.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/snoise.c
	* plug-ins/common/sobel.c
	* plug-ins/common/sparkle.c
	* plug-ins/common/spread.c
	* plug-ins/common/struc.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c: HIG-ified.
2004-05-19 23:54:40 +00:00
Michael Natterer 2849cf23e5 app/widgets/Makefile.am app/widgets/widgets-types.h new GtkAction subclass
2004-05-19  Michael Natterer  <mitch@gimp.org>

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpaction.[ch]: new GtkAction subclass which can
	show either a color or viewable preview in GtkImageMenuItem
	proxies.

	* app/widgets/gimpenumaction.[ch]
	* app/widgets/gimppluginaction.[ch]
	* app/widgets/gimpstringaction.[ch]: derive them from GimpAction.

	* app/widgets/gimpactiongroup.c (gimp_action_group_add_actions):
	add GimpActions, not GtkActions.

	(gimp_action_group_set_action_color)
	(gimp_action_group_set_action_viewable): removed all hacks and
	simply set the "color" or "viewable" properties of the GimpAction
	to change. Fixes color/viewable previews in menus.

	* app/actions/file-actions.c: show previews in the "Open Recent"
	menu items.

	Unrelated:

	* app/widgets/widgets-types.h: removed GimpDockedInterface typedef...

	* app/widgets/gimpdocked.h: ...and added it here. We don't have
	class struct typedefs in the types header either.

	* app/actions/edit-actions.c: added <Ctrl>+semicolon as shortcut
	for "edit-fill-pattern".

	* app/actions/gradient-editor-actions.c: added some stock IDs.
	Please comment.
2004-05-19 20:56:37 +00:00
Sven Neumann eff2a3d7a8 plug-ins/common/papertile.c plug-ins/common/pat.c
2004-05-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/papertile.c
	* plug-ins/common/pat.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/png.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psp.c: HIG-ified.
2004-05-19 17:53:21 +00:00
Sven Neumann 08270066f5 plug-ins/common/mapcolor.c plug-ins/common/mblur.c plug-ins/common/mng.c
2004-05-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mapcolor.c
	* plug-ins/common/mblur.c
	* plug-ins/common/mng.c
	* plug-ins/common/mosaic.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/oilify.c: HIG-ified.
2004-05-19 16:51:32 +00:00
Sven Neumann 2dd8165723 plug-ins/common/hot.c plug-ins/common/iwarp.c plug-ins/common/jpeg.c
2004-05-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/hot.c
	* plug-ins/common/iwarp.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/lic.c
	* plug-ins/common/mail.c: HIG-ified.
2004-05-19 15:58:05 +00:00
Sven Neumann cafb7c437c plug-ins/common/gauss_iir.c plug-ins/common/gauss_rle.c
2004-05-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gauss_iir.c
	* plug-ins/common/gauss_rle.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/gtm.c: HIG-ified.
2004-05-19 15:28:01 +00:00
Sven Neumann 116f269f67 fixed minor dialog layout issues.
2004-05-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/exchange.c: fixed minor dialog layout issues.
2004-05-19 13:15:11 +00:00
Sven Neumann d34529cd32 added the camera icon to the dialog.
2004-05-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: added the camera icon to the dialog.
2004-05-19 12:24:36 +00:00
Sven Neumann 7bf149ce01 plug-ins/common/film.c HIG-ified.
2004-05-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/film.c
	* plug-ins/common/fractaltrace.c: HIG-ified.
2004-05-19 12:08:05 +00:00
Sven Neumann 9a5b21cc3f make sure that pressure never becomes negative. Fixes bug #123811; thanks
2004-05-19  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_interpolate): make
	sure that pressure never becomes negative. Fixes bug #123811;
	thanks to Philip Lafleur for investigating this problem.
2004-05-19 10:33:47 +00:00
Marco Ciampa 7b77ffc1b1 Updated italian translation 2004-05-18 23:43:42 +00:00
Sven Neumann 8ff2d5d053 updated.
2004-05-19  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: updated.
2004-05-18 23:23:46 +00:00
Sven Neumann 7af78258dd added some stock icons.
2004-05-19  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/channel_mixer.c: added some stock icons.

	* plug-ins/common/edge.c
	* plug-ins/common/emboss.c
	* plug-ins/common/engrave.c
	* plug-ins/common/exchange.c: HIG-ified.

	* plug-ins/common/sel_gauss.c: tiny changes for a more consistent
	HIG-ification.
2004-05-18 23:07:29 +00:00
Michael Natterer 540aa5ce66 made plugin_icon_register() an underscore-prefixed function which needs to
2004-05-19  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/plug_in.pdb: made plugin_icon_register() an
	underscore-prefixed function which needs to be wrapped.

	* libgimp/gimpplugin_pdb.[ch]: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimpplugin.[ch]: new files containing
	gimp_plugin_icon_register() which has no "icon_data_length"
	parameter and determines it from the passed icon data.

	* libgimp/gimp.def: added gimp_plugin_icon_register.

	* plug-ins/common/plugindetails.c
	* plug-ins/common/screenshot.c
	* plug-ins/common/uniteditor.c
	* plug-ins/print/print.c: don't pass the icon_data_length.
2004-05-18 22:54:41 +00:00
Sven Neumann 1ea45f10f3 plug-ins/common/checkerboard.c plug-ins/common/colorify.c
2004-05-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/checkerboard.c
	* plug-ins/common/colorify.c
	* plug-ins/common/colortoalpha.c
	* plug-ins/common/compose.c
	* plug-ins/common/convmatrix.c
	* plug-ins/common/csource.c
	* plug-ins/common/cubism.c
	* plug-ins/common/decompose.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/depthmerge.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/destripe.c
	* plug-ins/common/diffraction.c
	* plug-ins/common/displace.c: HIG-ified.
2004-05-18 21:21:23 +00:00
Michael Natterer 3fb934b2a4 Allow plug-ins to register menu icons. Fixes bug #120500.
2004-05-18  Michael Natterer  <mitch@gimp.org>

	Allow plug-ins to register menu icons. Fixes bug #120500.

	* app/core/core-enums.[ch]: added enum GimpIconType which can
	be one of { STOCK_ID, IMAGE_FILE, INLINE_PIXBUF }.

	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_data)
	* app/config/gimpscanner.[ch] (gimp_scanner_parse_data): new
	functions which write/parse raw binary data. Needed for storing
	inline pixbufs in pluginrc.

	* app/config/gimpconfigwriter.[ch] (gimp_config_writer_identifier):
	new function which writes out an unquoted and unescaped string.

	* app/plug-in/plug-in-proc.[ch] (struct PlugInProcDef): added
	new members "icon_type", "icon_data_length" and "icon_data".
	Reordered members so file_proc specific stuff is at the end.

	(plug_in_proc_def_get_stock_id)
	(plug_in_proc_def_get_pixbuf): new functions to access the
	procedure's icon.

	* app/plug-in/plug-in-rc.c: save/restore the registered icons.

	* app/actions/file-dialog-actions.c
	* app/actions/plug-in-actions.c: set the action's stock ID from
	the procedure's stock ID.

	* app/widgets/gimppluginaction.c
	(gimp_plug_in_action_connect_proxy): if the procedure provides a
	pixbuf, set it as icon for the menu item.

	* app/menus/file-dialog-menu.[ch]
	* app/menus/file-open-menu.c
	* app/menus/file-save-menu.c
	* app/xcf/xcf.c: changed accordingly.

	* tools/pdbgen/pdb/plug_in.pdb (plugin_icon_register): new PDB
	function which can be called during query().

	* tools/pdbgen/enums.pl
	* app/pdb/internal_procs.c
	* app/pdb/plug_in_cmds.c
	* libgimp/gimpenums.h
	* libgimp/gimpplugin_pdb.c
	* libgimp/gimpplugin_pdb.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c: regenerated.

	* plug-ins/common/plugindetails.c
	* plug-ins/common/uniteditor.c
	* plug-ins/print/print.c: register stock_id icons.

	* plug-ins/common/screenshot.c: register an inline_pixbuf icon for
	testing purposes (used emblem-camera.png from gnome-icon-theme).

	* app/actions/dialogs-actions.c
	* app/actions/file-actions.c: unrelated: added some more icons
	to menu items.
2004-05-18 21:19:43 +00:00
Maurits Rijk 5784e3ee22 HIGified, fixed indendation, speed improvement (around 70 %). 2004-05-18 20:22:37 +00:00
Sven Neumann 0cc32e9932 plug-ins/common/blur.c plug-ins/common/borderaverage.c
2004-05-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/blur.c
	* plug-ins/common/borderaverage.c
	* plug-ins/common/bumpmap.c
	* plug-ins/common/ccanalyze.c: HIG-ified.
2004-05-18 18:13:48 +00:00
Sven Neumann 63133b304e libgimpwidgets/tmpl/gimphelpui.sgml regenerated.
2004-05-18  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/tmpl/gimphelpui.sgml
	* libgimpwidgets/tmpl/gimpsizeentry.sgml: regenerated.
2004-05-18 17:31:15 +00:00
Sven Neumann b298b90cc7 return the created label widget so that it can for example be put into a
2004-05-18  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.[ch] (gimp_size_entry_attach_label):
	return the created label widget so that it can for example be put
	into a GtkSizeGroup.

	* plug-ins/libgimpoldpreview/gimpoldpreview.[ch]: removed the
	optional "Preview" frame. Always put the preview into a sunken
	frame.

	* plug-ins/common/AlienMap2.c
	* plug-ins/common/blinds.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/glasstile.c
	* plug-ins/common/grid.c
	* plug-ins/common/illusion.c
	* plug-ins/common/jigsaw.c
	* plug-ins/common/max_rgb.c
	* plug-ins/common/nlfilt.c
	* plug-ins/common/noisify.c
	* plug-ins/common/nova.c
	* plug-ins/common/plasma.c
	* plug-ins/common/polar.c
	* plug-ins/common/waves.c
	* plug-ins/common/wind.c: changed accordingly, HIG-ified.
2004-05-18 17:06:06 +00:00