Commit Graph

17226 Commits

Author SHA1 Message Date
Michael Natterer a52ad9d3c4 #define GIMP_DOCKABLE_DRAG_OFFSET publically.
2005-12-30  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockable.[ch]: #define GIMP_DOCKABLE_DRAG_OFFSET
	publically.

	* app/widgets/gimpdockbook.c (gimp_dockbook_tab_drag_end): use the
	define to reset the dockable's drag offsets.
2005-12-30 01:37:35 +00:00
Michael Natterer a66bf70163 clean up treeview/model code.
2005-12-30  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/preferences-dialog.c
	(prefs_tree_select_callback)
	(prefs_notebook_page_callback): clean up treeview/model code.
2005-12-30 00:38:38 +00:00
Sven Neumann 46644a68bb typo.
2005-12-30  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpgradienteditor.c (view_events): typo.
2005-12-30 00:00:21 +00:00
Sven Neumann a896bd1534 commented out gravity setting. While it's nice with
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new):
	commented out gravity setting. While it's nice with
	"resize-windows-on-zoom", it doesn't yield satisfying behaviour in
	most cases.
2005-12-29 22:23:29 +00:00
Sven Neumann 06d21f93a4 set the current notebook page to the dockable that was just added.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockbook.c (gimp_dockbook_dockable_added): set
	the current notebook page to the dockable that was just added.
2005-12-29 22:07:38 +00:00
Sven Neumann 047770d011 added missing cast 2005-12-29 22:05:12 +00:00
Roman Joost e39c243854 fixed incorrect and inconsistent translation for 'button'
2005-12-29  Roman Joost <romanofski@gimp.org>

        * de.po: fixed incorrect and inconsistent translation for 'button'
2005-12-29 21:58:35 +00:00
Sven Neumann b07cbb500f fiddle with the "focus-on-map" window hint to prevent the dialogs from
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdialogfactory.c (gimp_dialog_factories_show_foreach):
	fiddle with the "focus-on-map" window hint to prevent the dialogs
	from grabbing the focus away from the image window. Fixes bug #167762
	for window managers supporting this hint.

	* app/display/gimpdisplayshell-callbacks.c: removed redundant call
	to gdk_window_focus() that wasn't having the desired effect anyway.
2005-12-29 21:32:46 +00:00
Simon Budig 0f0a0f4b63 new function: image_add_vectors
2005-12-29  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/image.pdb: new function:
	    image_add_vectors

	* tools/pdbgen/pdb/vectors.pdb: new functions:
	    vectors_get_strokes
	    vectors_stroke_get_point_at_dist
	    vectors_stroke_close

	removed nonfunctional undo code (that does not belong here anyways)
	and fixed a bug in [...]_cubicto.

	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2005-12-29 20:55:07 +00:00
Sven Neumann 8fec4cd8c1 split gimp_dialog_factories_toggle() into two functions. Turned the
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdialogfactory.[ch]: split
	gimp_dialog_factories_toggle() into two functions. Turned the
	tri-state into a simple boolean state. Dialogs are now either
	shown or not, without treating the toolbox any special.

	* app/actions/dialogs-commands.c
	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.
2005-12-29 20:47:29 +00:00
Sven Neumann e341b0e319 added --license command-line option.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/main.c: added --license command-line option.

	* docs/gimp.1.in: documented the new option.
2005-12-29 18:39:03 +00:00
Sven Neumann aa590be77a set the source dockable insensitive during the drag operation.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockbook.c: set the source dockable insensitive
	during the drag operation.
2005-12-29 16:42:45 +00:00
Simon Budig 3c257b69ba extended gimp_bezier_stroke_new_ellipse() with an "angle" parameter.
2005-12-29  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpbezierstroke.[ch]: extended
	gimp_bezier_stroke_new_ellipse() with an "angle" parameter.
	* app/vectors/gimpvectors-import.c: changed accordingly, untabbified.

	* tools/pdbgen/pdb/vectors.pdb: added PDB-wrappers for
	      vectors_bezier_stroke_new_moveto
	      vectors_bezier_stroke_lineto
	      vectors_bezier_stroke_conicto
	      vectors_bezier_stroke_cubicto
	      vectors_bezier_stroke_new_ellipse

	Undo does not work properly yet.

	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2005-12-29 16:05:31 +00:00
Sven Neumann 278b498e41 moved some code to an internal helper function.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c (gimp_dockable_expose_event): moved
	some code to an internal helper function.
2005-12-29 16:00:28 +00:00
David Odin 842a9abb7f small cleanups
* plug-ins/common/waves.c: small cleanups
2005-12-29 15:49:19 +00:00
Adam Weinberger 97d108b983 Updated Canadian English translation.
2005-12-29  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-12-29 08:27:57 +00:00
Sven Neumann 850e7af79e only set the horizontal offset from the button press location 2005-12-29 04:45:41 +00:00
Sven Neumann 405c0e1234 invalidate stored coordinates on button release.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.[ch]: invalidate stored coordinates on
	button release.
2005-12-29 04:28:41 +00:00
Sven Neumann 9c6dbc4719 let the drag icon mimic the appearance of a notebook tab.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockbook.c: let the drag icon mimic the
	appearance of a notebook tab.
2005-12-29 04:05:50 +00:00
Sven Neumann 7ab05fddea use the width of the source widget as the minimum width of the drag icon.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockbook.c (gimp_dockbook_tab_drag_begin): use
	the width of the source widget as the minimum width of the drag
	icon.
2005-12-29 03:48:35 +00:00
Sven Neumann 2723c2e790 store coordinates of last button press event.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.[ch]: store coordinates of last button
	press event.

	* app/widgets/gimpdockbook.c (gimp_dockbook_tab_drag_begin): set
	the drag hotspot to the mouse position that started the drag.
2005-12-29 03:12:26 +00:00
Sven Neumann 59fa7c4e25 draw the standalone dockable like a notebook tab to indicate that it can
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c (gimp_dockable_expose_event): draw the
	standalone dockable like a notebook tab to indicate that it can be
	dragged.
2005-12-29 02:27:32 +00:00
Sven Neumann 720ce44272 typso 2005-12-29 01:35:03 +00:00
Sven Neumann 99d8fa90d0 allow to unset the tooltip by passing NULL.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimphelpui.c (gimp_help_set_help_data): allow to
	unset the tooltip by passing NULL.

	* app/widgets/gimpdockseparator.c: unset the tooltip while the same
	text is being shown as a label.
2005-12-29 01:33:38 +00:00
Michael Natterer a0d231b33c renamed GIMP_PDB_PATH to GIMP_PDB_VECTORS and add the former as an alias
2005-12-29  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): renamed
	GIMP_PDB_PATH to GIMP_PDB_VECTORS and add the former as an alias
	for the latter.

	* libgimp/gimp.h (union _GimpParamData): added back d_path member
	to maintian source compatibility.

	* tools/pdbgen/pdb.pl
	* libgimp/gimp.c
	* app/pdb/procedural_db.c
	* app/plug-in/plug-in-params.c
	* libgimpbase/gimpprotocol.[ch]
	* plug-ins/pygimp/pygimp-pdb.c
	* plug-ins/script-fu/siod-wrapper.c: s/GIMP_PDB_PATH/GIMP_PDB_VECTORS/

	* app/pdb/image_cmds.c
	* app/pdb/procedural_db_cmds.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpimage_pdb.c
	* libgimp/gimpvectors_pdb.c
	* tools/pdbgen/enums.pl: regenerated.
2005-12-29 01:07:02 +00:00
Simon Budig 949fa77a46 gimp_vectors_[gs]et_locked renamed to _linked for consistency.
2005-12-29  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/vectors.pdb:
	   gimp_vectors_[gs]et_locked  renamed to _linked for consistency.

	   gimp_vectors_[gs]et_tattoo, gimp_vectors_get_image: new.

	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated
2005-12-29 00:33:14 +00:00
Sven Neumann 7c440def4a it appears that I forgot to commit this file earlier 2005-12-29 00:11:51 +00:00
Sven Neumann e59ece7cab code cleanup, use alloca in gimp_colormap_editor_clear().
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolormapeditor.c: code cleanup, use alloca in
	gimp_colormap_editor_clear().
2005-12-29 00:11:09 +00:00
Sven Neumann 8798be7157 another small code cleanup 2005-12-28 23:51:39 +00:00
Sven Neumann 6af4b9b317 make sure the title area is cleared when the timeout is cancelled.
2005-12-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c: make sure the title area is cleared
	when the timeout is cancelled.
2005-12-28 23:43:53 +00:00
Manish Singh 8ac30ae882 handle d_path -> d_vectors rename.
2005-12-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c: handle d_path -> d_vectors rename.
2005-12-28 22:33:50 +00:00
Sven Neumann 8e9b20e55c HACKING document the changed dependencies.
2005-12-28  Sven Neumann  <sven@gimp.org>

	* HACKING
	* INSTALL: document the changed dependencies.

	* configure.in
	* app/sanity.c: check for glib >= 2.8.2 at compile and run-time.

	* app/plug-in/plug-in.c: removed workaround for glib < 2.8.2.
2005-12-28 21:36:03 +00:00
Simon Budig cbea67912b tools/pdbgen/pdb/image.pdb Added new functions for the vectors PDB API.
2005-12-28  Simon Budig  <simon@gimp.org>

	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/vectors.pdb: Added new functions for the vectors
	PDB API. Minor cleanups. Please try to use them and test:

	  gimp_image_get_active_vectors
	  gimp_image_set_active_vectors
	  gimp_image_get_vectors_by_tattoo
	  gimp_image_lower_vectors
	  gimp_image_lower_vectors_to_bottom
	  gimp_image_raise_vectors
	  gimp_image_raise_vectors_to_top
	  gimp_image_remove_vectors

	  gimp_vectors_get_locked
	  gimp_vectors_set_locked
	  gimp_vectors_get_name
	  gimp_vectors_set_name
	  gimp_vectors_get_visible
	  gimp_vectors_set_visible
	  gimp_vectors_stroke_get_length
	  gimp_vectors_stroke_remove
	  gimp_vectors_stroke_scale

	* libgimp/gimp.[ch]: renamed the unused d_path to d_vectors and
	use it. Untabbified.

	* devel-docs/libgimp/tmpl/gimpvectors.sgml
	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpvectors_pdb.[ch]: Regenerated

	* app/vectors/gimpstroke.h: minor cleanup.
2005-12-28 21:24:12 +00:00
Sven Neumann fa41465e2a added "Image/Arrange" placeholder.
2005-12-28  Sven Neumann  <sven@gimp.org>

        * menus/image-menu.xml.in: added "Image/Arrange" placeholder.

        * plug-ins/common/align_layers.c: moved to the Image menu, it
        doesn't work on a single layer.
2005-12-28 21:08:26 +00:00
Sven Neumann f7e62345ea app/Makefile.am new file collecting some strings about the app.
2005-12-28  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am
	* app/about.h: new file collecting some strings about the app.

	* app/main.c
	* app/dialogs/about-dialog.c
	* app/dialogs/user-install-dialog.c: use the defines from about.h.
2005-12-28 20:45:52 +00:00
Michael Natterer e397c0ef0a set the new "do-overwrite-confirmation" property on GtkFileChooser.
2005-12-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpfiledialog.[ch]: set the new
	"do-overwrite-confirmation" property on GtkFileChooser. Removed
	gimp_file_overwrite_dialog().

	* app/dialogs/file-save-dialog.c (file_save_dialog_check_uri):
	removed broken code which tried to figure if a file exists.
	Fixes bug #309729.

	* app/widgets/gimpdnd-xds.c: added gimp_file_overwrite_dialog()
	here as private utility function.
2005-12-28 20:02:54 +00:00
Michael Natterer 338c785181 set the new "wrap-license" property on GtkAboutDialog and remove the
2005-12-28  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/about-dialog.c: set the new "wrap-license" property
	on GtkAboutDialog and remove the explicit newlines from the string
	holding the GPL.
2005-12-28 19:53:46 +00:00
Michael Natterer a01d0f7e88 removed gimp_action_get_accel_closure().
2005-12-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpwidgets-utils.[ch]: removed
	gimp_action_get_accel_closure().

	* app/widgets/gimpactionview.c (gimp_action_view_new): use
	gtk_action_get_accel_closure() instead.
2005-12-28 19:50:08 +00:00
Michael Natterer bbdfa25de9 bump version to 2.3.7, require GTK+ >= 2.8.0 and pango >= 2.10.0.
2005-12-28  Michael Natterer  <mitch@gimp.org>

	* configure.in: bump version to 2.3.7,
	require GTK+ >= 2.8.0 and pango >= 2.10.0.

	* app/gui/gui.c (gui_sanity_check): changed accordingly.
2005-12-28 19:47:07 +00:00
Sven Neumann 26290a919e Made 2.3.6 development release from the 22nd Chaos Communication Congress.
2005-12-28  Sven Neumann  <sven@gimp.org>

        * Made 2.3.6 development release from the 22nd Chaos Communication
        Congress.
2005-12-28 19:30:45 +00:00
Sven Neumann a5321d8de0 news update for the 22C3 release 2005-12-28 18:54:23 +00:00
Sven Neumann f51155e0a2 splash screen for the 22C3 release.
2005-12-28  Sven Neumann  <sven@gimp.org>

	* data/images/gimp-splash.png: splash screen for the 22C3 release.
2005-12-28 18:47:53 +00:00
Michael Natterer fcc8df3210 follow paint-info renaming.
2005-12-28  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/paint_tools.pdb: follow paint-info renaming.

	* app/pdb/paint_tools_cmds.c: regenerated.
2005-12-28 16:42:29 +00:00
Marcel Telka 7a106d62b4 Updated Slovak translation.
2005-12-28  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-12-28 12:55:01 +00:00
Michael Natterer fed433607d app/paint/gimpconvolve.c (gimp_convolve_register) fixed stock IDs.
2005-12-27  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimpconvolve.c (gimp_convolve_register)
	* app/paint/gimpdodgeburn.c (gimp_dodge_burn_register): fixed
	stock IDs.
2005-12-27 20:51:24 +00:00
Michael Natterer ef9b04c535 Fixed incomplete core/ui separation of paint tools and paint methods:
2005-12-27  Michael Natterer  <mitch@gimp.org>

	Fixed incomplete core/ui separation of paint tools and paint
	methods:

	* app/core/core-enums.h
	* app/core/gimpcontext.[ch]: added a "paint-info" property and API
	so the current paint method can be selected without the need for
	an active tool.

	(gimp_context_real_set_tool): set the paint-info to
	tool_info->paint_info so the paint method follows the active tool
	just as the active image follows the active display.

	* app/core/gimp.h (struct Gimp)
	* app/core/gimppaintinfo.[ch]: added "standard_paint_info" API
	and stuff to be consistent with other context object properties.

	* app/paint/gimp-paint.c: set the paintbrush as
	standard_paint_info.

	* app/core/gimpstrokedesc.c (gimp_stroke_desc_new): removed the
	hack of falling back to the paintbrush when there is no active
	tool and use the active paint method instead. Fall back to the
	standard paint method if there is no active one.
	(nothing in the core uses the active tool any more now).

	* app/widgets/gimpdeviceinfo.h: add the paint info to the
	properties which are saved in devicerc.

	Added identifiers (names) and stock-ids to GimpPaintInfo:

	* app/core/gimppaintinfo.[ch] (gimp_paint_info_new): added
	identifier and stock-id parameters.

	* app/core/gimptoolinfo.c (gimp_tool_info_new): removed the hack
	of setting the paint-info stock-id from the tool-info stock-id.

	* app/paint/paint-types.h
	* app/paint/gimp-paint.c: changed GimpPaintRegisterCallback
	accordingly.

	* app/tools/gimp-tools.c (gimp_tools_register): changed paint
	info names accordingly.

	* app/paint/*.c (gimp_*_register): pass identifier and stock-id
	accordingly.
2005-12-27 18:57:01 +00:00
Sven Neumann d23fa327c8 fixed type of threshold parameter (bug #325007).
2005-12-27  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/unsharp.c (query): fixed type of threshold
	parameter (bug #325007).
2005-12-27 18:21:11 +00:00
Hendrik Richter cdf8dc0f31 Updated German translation.
2005-12-26  Hendrik Richter  <hendi@gnome-de.org>

	* de.po: Updated German translation.
2005-12-26 14:30:06 +00:00
Adam Weinberger 9afc4f804a Updated Canadian English translation.
2005-12-26  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-12-26 07:04:01 +00:00
Takeshi AIHANA e7197fd0b2 Updated Japanese translation by OKANO Takayoshi <kano@na.rim.or.jp>.
2005-12-25  Takeshi AIHANA <aihana@gnome.gr.jp>

	* ja.po: Updated Japanese translation by OKANO Takayoshi <kano@na.rim.or.jp>.
2005-12-25 11:09:45 +00:00