Commit Graph

8427 Commits

Author SHA1 Message Date
Michael Natterer 7362b07f8f factored button_box creation out to a utility function.
2003-04-01  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpeditor.c: factored button_box creation out to a
	utility function.
2003-04-01 09:07:53 +00:00
Manish Singh 35c1e88f43 added gboolean can_change_accels
2003-04-01  Manish Singh  <yosh@gimp.org>

        * config/gimpguiconfig.[ch]: added gboolean can_change_accels

        * config/gimprc-blurbs.h: blurb for the above

        * gui/preferences-dialog.c: UI for the above. Has warning about
        not working in GNOME2 yet (pending resolution of Bug #109653)

        * gui/menus.c: use can_change_accels. It simply parses the rc
        string gtk-can-change-accels = [0|1] depending on the state
        of can_change_accels in the gui config.

        * etc/gimprc
        * docs/gimprc-1.3.5.in: regenerated
2003-04-01 07:47:04 +00:00
Sven Neumann 06f25b1c8b strip the size from the font name before using it.
2003-04-01  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-compat.c (text_render): strip the size from
	the font name before using it.
2003-04-01 01:21:46 +00:00
Sven Neumann 0dad41aec4 use a fixed size for the popup and clamp to a maximum size (should
2003-04-01  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfont.c: use a fixed size for the popup and clamp to
	a maximum size (should actually use GIMP_PREVIEW_MAX_SIZE here).

	* app/text/gimptext.c
	* app/tools/gimptextoptions.c: minor string changes.
2003-04-01 00:35:38 +00:00
Sven Neumann 30fd587dd0 use a fixed size for the popup and added a maximum size (should actually
2003-04-01  Sven Neumann  <sven@gimp.org>

	* app/text/gimpfont.c: use a fixed size for the popup and added a
	maximum size (should actually use GIMP_PREVIEW_MAX_SIZE here).

	* app/text/gimptext.c
	* app/tools/gimptextoptions.c: minor string changes.
2003-04-01 00:34:50 +00:00
Jakub Steiner b4e2faf64f replace placeholder artwork
2003-03-31  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-text-dir-ltr-24.png:
* themes/Default/images/stock-text-dir-rtl-24.png: replace
  placeholder artwork
2003-03-31 19:14:55 +00:00
Sven Neumann a8f83bc078 when the user has changed the layer name from the layers dialog, don't
2003-03-31  Sven Neumann  <sven@gimp.org>

	* app/text/gimptextlayer.[ch]: when the user has changed the layer
	name from the layers dialog, don't change it with the text any longer.

	* app/tools/gimpmovetool.c: removed redundant include.

	* app/widgets/gimpcontainerpopup.c
	* app/widgets/widgets-enums.[ch]: fixed spelling.
2003-03-31 17:47:00 +00:00
Sven Neumann a93e91f38e themes/Default/images/Makefile.am
2003-03-31  Sven Neumann  <sven@gimp.org>

	* themes/Default/images/Makefile.am
	* themes/Default/images/stock-text-dir-ltr-24.png
	* themes/Default/images/stock-text-dir-rtl-24.png: placeholders
	for new icons.

	* libgimpwidgets/gimpstock.[ch]: register the new icons.

	* themes/Default/gtkrc: tweak GtkDialog in "gimp-default-style".

	* app/text/text-enums.[ch]
	* app/text/gimptext.[ch]
	* app/text/gimptextlayout.c: added new enum GimpTextDirection and
	use it instead of PangoDirection.

	* app/widgets/widgets-types.h
	* app/widgets/gimptexteditor.[ch]: made GimpTextEditor a real widget
	and added buttons to switch the text direction.

	* app/tools/gimptextoptions.[ch]
	* app/tools/gimptexttool.c: moved creation of the text editor to the
	text tool options, take care of GimpText::base-direction here.
2003-03-31 15:10:15 +00:00
Jakub Steiner 056f5ce54e make more aparent
2003-03-31  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/stock-list-16.png:
* themes/Default/images/stock-grid-16.png: make more aparent
2003-03-31 13:37:57 +00:00
Michael Natterer 529c5e71c4 added "icon_size" parameters to gimp_enum_stock_box_new[_with_range]().
2003-03-31  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpenummenu.[ch]: added "icon_size" parameters
	to gimp_enum_stock_box_new[_with_range]().

	* app/tools/gimpcurvestool.c
	* app/widgets/gimppropwidgets.c: changed accordingly.

	* app/widgets/gimpeditor.[ch]: added gimp_editor_add_stock_box().

	* app/widgets/widgets-enums.[ch]: register GimpViewType with
	the type system.

	* app/widgets/gimpcontainerpopup.c: use a stock box for the
	view as list/grid buttons.
2003-03-31 12:09:09 +00:00
Michael Natterer ff2757dff8 free the original cmap pointer, not the one we used for iteration (fixes
2003-03-31  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/xpm.c (save_image): free the original cmap
	pointer, not the one we used for iteration (fixes bug #109567).
2003-03-31 09:34:02 +00:00
Michael Natterer 59af012a50 applied patch from yvind Kols that fixes bug #109570.
2003-03-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable-transform-utils.c
	(gimp_drawable_transform_matrix_perspective): applied patch from
	yvind Kols that fixes bug #109570.
2003-03-31 08:32:30 +00:00
Sven Neumann 174f717fd1 POTFILES.in updated.
2003-03-31  Sven Neumann  <sven@gimp.org>

        * POTFILES.in
        * de.po: updated.
2003-03-31 00:17:18 +00:00
Sven Neumann d9dfddc204 configure.in plug-ins/common/Makefile.am plug-ins/common/plugin-defs.pl
2003-03-30  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl
	* plug-ins/common/mng.c: added MNG save plug-in written by
	S. Mukund <muks@mukund.org>.
2003-03-30 22:06:46 +00:00
Sven Neumann f50c7a5748 increased the upper limit for the brush radius to 1000. Fixes bug #109434.
2003-03-30  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpbrusheditor.c: increased the upper limit for the
	brush radius to 1000. Fixes bug #109434.
2003-03-30 19:30:10 +00:00
Michael Natterer e91d7943ae shut up compiler.
2003-03-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-resize.c (gimp_image_resize): shut up compiler.
2003-03-30 16:17:48 +00:00
Michael Natterer 372094aefa fixed to check the *new* guide position to be within bounds, not the old
2003-03-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-resize.c (gimp_image_resize): fixed to check
	the *new* guide position to be within bounds, not the old
	one. Cleanup.

	* app/core/gimpimage-undo-push.c (undo_pop_image_guide): undo
	guide removal and moves manually instead of calling
	gimp_image_[add|move]_guide() because the latter may run into
	g_return_if_fail(position <= gimage->width/height) if the undo
	step is part of a resize or crop undo group.
2003-03-30 16:11:51 +00:00
Michael Natterer 5eccc36081 set the active display before showing the menu (fixes bug #109472).
2003-03-30  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_origin_menu_popup): set the active display
	before showing the menu (fixes bug #109472).
2003-03-30 13:41:03 +00:00
Michael Natterer c736836f9c app/core/gimpimage-guides.c fixed to accept guide->position ==
2003-03-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-guides.c
	* tools/pdbgen/pdb/guides.pdb: fixed to accept guide->position ==
	image->width/height. Guides live *between* pixels, so they must be
	able to exist right of/below the image's rightmost/bottom pixel.

	* app/core/gimpimage-crop.c (gimp_image_crop_adjust_guides):
	fixed guide iteration to not crash when the current guide is
	removed from the image (fixes bug #109533).

	* app/pdb/guides_cmds.c: regenerated.
2003-03-30 13:09:57 +00:00
Manish Singh bbb3172db1 plug-ins/script-fu/interp_slib.c patch from Pedro Gimeno to fix printing
2003-03-29  Manish Singh  <yosh@gimp.org>

        * plug-ins/script-fu/interp_slib.c
        * plug-ins/script-fu/interp_sliba.c: patch from Pedro Gimeno to fix
        printing of floating point numbers in script-fu. (Bug #109505)
2003-03-29 20:16:19 +00:00
Simon Budig 6a29d4773e app/tools/gimpvectortool.[ch] app/vectors/gimpbezierstroke.c
2003-03-29  Simon Budig  <simon@gimp.org>

        * app/tools/gimpvectortool.[ch]
        * app/vectors/gimpbezierstroke.c
        * app/vectors/gimpstroke.[ch]
        * app/vectors/vectors-types.h: More vector tool stuff. Control
        handles start to behave...
2003-03-29 04:47:44 +00:00
Sven Neumann 48b5986740 app/text/gimptext.[ch] added a "base-direction" property to GimpText and
2003-03-28  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext.[ch]
	* app/text/gimptextlayout.c: added a "base-direction" property to
	GimpText and set it on the PangoContext when rendering the text.
2003-03-28 16:15:07 +00:00
Michael Natterer 6effedce17 call gtk_tree_selection_select_iter() in addition to
2003-03-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview.c
	(gimp_container_tree_view_select_item): call
	gtk_tree_selection_select_iter() in addition to
	gtk_tree_view_set_cursor() so we get the focus *and* the selection
	right in all cases.
2003-03-28 16:08:00 +00:00
Sven Neumann c7281b5227 app/gui/Makefile.am added font selection GUI to be used through the PDB.
2003-03-28  Sven Neumann  <sven@gimp.org>

	* app/gui/Makefile.am
	* app/gui/font-select.[ch]: added font selection GUI to be used
	through the PDB.

	* app/gui/brush-select.c
	* app/gui/gradient-select.c
	* app/gui/palette-select.c
	* app/gui/pattern-select.c: unified preview and dialog sizes.

	* tools/pdbgen/Makefile.am
	* tools/pdbgen/pdb/font_select.pdb: added new file that provides
	PDB accessors to the font selection GUI.

	* app/pdb/font_select_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimp_pdb.h
	* libgimp/gimpfontselect_pdb.[ch]
	* tools/pdbgen/groups.pl: regenerated.

	* libgimp/Makefile.am
	* libgimp/gimpfontmenu.c
	* libgimp/gimpmenu.[ch]: added a simple font selection widget to
	be used by plug-ins and scripts.

	* plug-ins/script-fu/script-fu-scripts.c: use the new font
	selection widget. Fixes bug #105610.
2003-03-28 14:13:54 +00:00
Michael Natterer f13f80f04a added "position" and "push_undo" parameters to gimp_image_add_[vh]guide().
2003-03-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-guides.[ch]: added "position" and "push_undo"
	parameters to gimp_image_add_[vh]guide(). Start with a refcount
	of 1, not 0 (EEK). Added gimp_image_guide_[un]ref(). Added
	"position" parameter to gimp_image_add_guide(). Added new
	function gimp_image_move_guide(). All functions push guide
	undos correctly and call gimp_image_update_guide() so this
	doesn't need to be done by callers.

	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-resize.c
	* app/core/gimpimage-undo-push.c
	* app/core/gimpimage.c
	* app/tools/gimpmeasuretool.c
	* app/xcf/xcf-load.c
	* tools/pdbgen/pdb/guides.pdb: greatly simplyfied all places which
	modify guides: don't fiddle with undo and guide properties
	manually but simply use the API provided.

	* app/tools/gimpmovetool.[ch]: ditto. Changed everything to
	create/move the guide on button_release, not button_press. Enable
	canceling the operation by clicking button3 before releasing
	button1. Keep the guide drawn at its old position until the move
	is finished (fixes bug #75349 and bug #109267).

	* app/pdb/guides_cmds.c: regenerated.
2003-03-28 13:52:01 +00:00
Pablo Gonzalo del Campo 392bbd695c Updated Spanish translation.
2003-03-28  Pablo Gonzalo del Campo <pablodc@bigfoot.com>

        * es.po: Updated Spanish translation.
2003-03-28 13:33:43 +00:00
Michael Natterer fec6f5b32b call gimp_imagefile_update() on success. Ensures that the previews are
2003-03-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimagefile.c (gimp_imagefile_save_thumbnail):
	call gimp_imagefile_update() on success. Ensures that the
	previews are updated whenever we write the thumbnail.
2003-03-28 11:27:56 +00:00
Michael Natterer 0d548e0769 oops... 2003-03-28 11:21:40 +00:00
Michael Natterer c3519365f5 allow keyboard activation.
2003-03-28  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcellrenderertoggle.c
	(gimp_cell_renderer_toggle_activate) *
	app/widgets/gimpcellrendererviewable.c
	(gimp_cell_renderer_viewable_activate): allow keyboard activation.

	* app/widgets/gimpcellrendererviewable.c
	(gimp_cell_renderer_viewable_render): fixed the if() which resets
	the renderer's border color to black. Fixes layer borders to be
	always correct now.
2003-03-28 11:20:24 +00:00
Sven Neumann bc9ef72c45 check for event != NULL to avoid crashing when the cell is activated using
2003-03-28  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcellrenderertoggle.c
	(gimp_cell_renderer_toggle_activate): check for event != NULL to
	avoid crashing when the cell is activated using the keyboard.
2003-03-28 08:21:47 +00:00
Sven Neumann 4e3b31e989 respect the antialias parameter.
2003-03-28  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext-compat.c: respect the antialias parameter.

	* app/text/gimptext.[ch]
	* app/text/gimptextlayout.c: added autohint property that allows
	to force the use of the Freetype auto-hinter.

	* app/tools/gimptextoptions.c: added check buttons for autohint
	and antialias. You need to patch PangoFT2 if you want to the
	antialias setting to have any effect (see #109370).
2003-03-28 01:35:01 +00:00
Jakub Steiner 1741894e73 minor shape fix 2003-03-27 19:31:06 +00:00
Jakub Steiner 08df8af8ad lighten up a bit
2003-03-27  Jakub Steiner <jimmac@ximian.com>

* data/images/gimp_splash.png: lighten up a bit
2003-03-27 19:26:05 +00:00
Jakub Steiner b8aaa6f33f lighten up a bit
2003-03-27  Jakub Steiner <jimmac@ximian.com>

* data/images/gimp_splash.png: lighten up a bit
2003-03-27 19:18:36 +00:00
Sven Neumann 10faf8d577 added hinting and antialias properties.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/text/gimptext.[ch]: added hinting and antialias properties.

	* app/text/gimptextlayout.c: rewrote some parts using the
	PangoFontMap API. Respect hinting and antialias properties.
	(PangoFT2 does not allow to switch antialias off, so that has no
	effect yet.)

	* app/tools/gimptextoptions.c: added a check button that controls
	hinting.
2003-03-27 17:24:53 +00:00
Sven Neumann dafddf1639 require PangoFT2 >= 1.2.0.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* configure.in: require PangoFT2 >= 1.2.0.

	* app/text/gimpfontlist.c: use the PangoFontMap API to list
	available fonts.
2003-03-27 15:52:25 +00:00
Jan Morén 4ee52d1d70 Updated Swedish translation.
2003-03-27  Jan Morén  <jan.moren@lucs.lu.se>

        * sv.po: Updated Swedish translation.
2003-03-27 14:27:41 +00:00
Michael Natterer 4305341d49 app/gui/channels-commands.c app/gui/file-new-dialog.c
2003-03-27  Michael Natterer  <mitch@gimp.org>

	* app/gui/channels-commands.c
	* app/gui/file-new-dialog.c
	* app/gui/layers-commands.c
	* app/gui/vectors-commands.c: use layer, channel, ... icons for
	the new layer, channel, ... dialogs.
2003-03-27 14:25:18 +00:00
Sven Neumann bed3c858da added new function gimp_list_sort().
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimplist.[ch]: added new function gimp_list_sort().

	* app/text/gimpfontlist.c (gimp_font_list_restore): sort the list
	after all fonts have been added instead of keeping the list in
	order while inserting
2003-03-27 14:11:05 +00:00
Sven Neumann ad6a8983c7 libgimpwidgets/libgimpwidgets-sections.txt new icons and lots of new sizes
2003-03-27  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpstock.sgml: new icons and lots of new
	sizes for existing icons.
2003-03-27 13:25:57 +00:00
Michael Natterer 71b7b39dfd Someone produces icons faster than I can commit...
2003-03-27  Michael Natterer  <mitch@gimp.org>

	Someone produces icons faster than I can commit...

	* themes/Default/images/stock-channel-alpha-16.png
	* themes/Default/images/stock-channel-alpha-24.png: updated.

	* themes/Default/images/stock-channel-alpha-32.png
	* themes/Default/images/stock-channel-alpha-48.png: new.

	* themes/Default/images/Makefile.am
	* libgimpwidgets/gimpstock.[ch]: added them to the stock system.

	* app/widgets/gimpcontainerpopup.c: use the new "view as list" and
	"view as grid" icons.
2003-03-27 13:04:49 +00:00
Sven Neumann 579bcb3411 POTFILES.in updated.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* POTFILES.in
	* de.po: updated.
2003-03-27 12:58:49 +00:00
Sven Neumann 85af9bad0a app/core/core-enums.[ch] fixed typos spotted by Janne (bug #109322).
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]
	* app/core/gimpimage.c: fixed typos spotted by Janne (bug #109322).

2003-03-27  Sven Neumann  <sven@gimp.org>

	* POTFILES.in
	* de.po: updated.
2003-03-27 12:58:10 +00:00
Michael Natterer e2bdd74617 More great icons from Jimmac:
2003-03-27  Michael Natterer  <mitch@gimp.org>

	More great icons from Jimmac:

	* themes/Default/images/stock-channel-16.png
	* themes/Default/images/stock-channel-24.png
	* themes/Default/images/stock-channel-blue-16.png
	* themes/Default/images/stock-channel-blue-24.png
	* themes/Default/images/stock-channel-gray-16.png
	* themes/Default/images/stock-channel-gray-24.png
	* themes/Default/images/stock-channel-green-16.png
	* themes/Default/images/stock-channel-green-24.png
	* themes/Default/images/stock-channel-red-16.png
	* themes/Default/images/stock-channel-red-24.png: updated.

	* themes/Default/images/stock-channel-32.png
	* themes/Default/images/stock-channel-48.png
	* themes/Default/images/stock-channel-blue-32.png
	* themes/Default/images/stock-channel-blue-48.png
	* themes/Default/images/stock-channel-gray-32.png
	* themes/Default/images/stock-channel-gray-48.png
	* themes/Default/images/stock-channel-green-32.png
	* themes/Default/images/stock-channel-green-48.png
	* themes/Default/images/stock-channel-red-32.png
	* themes/Default/images/stock-channel-red-48.png
	* themes/Default/images/stock-grid-16.png
	* themes/Default/images/stock-image-32.png
	* themes/Default/images/stock-image-48.png
	* themes/Default/images/stock-layer-32.png
	* themes/Default/images/stock-layer-48.png
	* themes/Default/images/stock-list-16.png
	* themes/Default/images/stock-text-layer-16.png
	* themes/Default/images/stock-text-layer-24.png
	* themes/Default/images/stock-text-layer-32.png
	* themes/Default/images/stock-text-layer-48.png: new ones.

	* themes/Default/images/Makefile.am
	* libgimpwidgets/gimpstock.[ch]: added them to the stock system.

	* app/text/gimptextlayer.c: use GIMP_STOCK_TEXT_LAYER.
2003-03-27 12:29:54 +00:00
Sven Neumann ce80c4c0b8 added a new marshaller.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/core/gimpmarshal.list: added a new marshaller.

	* app/widgets/gimpcontainergridview.[ch]: added a "move_cursor"
	signal and added keybindings for PageUp/PageDown and Home/End.
2003-03-27 12:06:55 +00:00
Michael Natterer 21def17709 allow object properties to be set again if they are G_PARAM_WRITABLE.
2003-03-27  Michael Natterer  <mitch@gimp.org>

	* app/config/gimpconfig-deserialize.c
	(gimp_config_deserialize_property): allow object properties to be
	set again if they are G_PARAM_WRITABLE. Fixes active brush,
	pattern etc. deserialization.
2003-03-27 11:36:01 +00:00
Jan Morén 86f8c5fccf Updated Swedish translation.
2003-03-27  Jan Morén  <jan.moren@lucs.lu.se>

        * sv.po: Updated Swedish translation.
2003-03-27 11:16:25 +00:00
Christian Rose 3a31da971b Added "yi" to ALL_LINGUAS again. Po files for libgimp, plug-ins, and
2003-03-27  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "yi" to ALL_LINGUAS again. Po files for
	libgimp, plug-ins, and script-fu have now been provided.
	* po-libgimp/yi.po, po-plug-ins/yi.po, po-script-fu/yi.po:
	Added Yiddish translations by
	Raphael Finkel <raphael@cs.uky.edu>.
2003-03-27 10:34:35 +00:00
Sven Neumann 2bdccbfd52 enlarged it a little.
2003-03-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptexteditor.c: enlarged it a little.
2003-03-27 00:12:15 +00:00
Michael Natterer d105530836 new small tool icons from Jimmac.
2003-03-26  Michael Natterer  <mitch@gimp.org>

	* themes/Default/images/tools/stock-tool-*-16.png: new small tool
	icons from Jimmac.

	* themes/Default/images/Makefile.am
	* libgimpwidgets/gimpstock.c: added them to the stock system.
2003-03-26 22:26:07 +00:00