Commit Graph

15779 Commits

Author SHA1 Message Date
Sven Neumann bbc1c947ad added more properties.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.c: added more properties.
2005-05-25 23:47:42 +00:00
Sven Neumann 59cb5d75ba added MIME type as a construct property to GimpData.
2005-05-26  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdata.[ch]: added MIME type as a construct property
	to GimpData.

	* app/core/gimpbrush-load.c
	* app/core/gimpbrushgenerated.c
	* app/core/gimpbrushpipe.c
	* app/core/gimpgradient-load.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c: set the MIME type when loading a data
	object from file. MIME types needs review and GimpPalette isn't
	quite done yet...

	* app/core/gimpdashpattern.c: cosmetics.
2005-05-25 23:25:45 +00:00
Nathan Summers 79f57d5b5f made the G_FILENAME_ENCODING not or incorrectly set error message more
2005-05-25  Nathan Summers  <rock@gimp.org>

        * app/sanity.c (sanity_check_filename_encoding): made the
        G_FILENAME_ENCODING not or incorrectly set error message more
        idiomatic.
2005-05-25 23:21:06 +00:00
Sven Neumann c863ad0fc2 correctly handle very small target sizes.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpoffsetarea.c (gimp_offset_area_expose_event):
	correctly handle very small target sizes.
2005-05-25 11:49:54 +00:00
Sven Neumann 5190f74be5 app/app-docs.sgml app/app-sections.txt updated.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt
	* app/app.types: updated.
2005-05-25 11:23:59 +00:00
Sven Neumann e0b3fdfc3c fixed gtk-doc comments.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpclipboard.[ch]: fixed gtk-doc comments.
2005-05-25 11:23:06 +00:00
Michael Natterer 7abaab62e0 added virtual function GimpViewable::get_size() and public API
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpviewable.[ch]: added virtual function
	GimpViewable::get_size() and public API gimp_viewable_get_size()
	which return width and height and a boolean indicating if the
	viewable has a size at all.
	Added default implementation of GimpViewable::get_popup_size()
	using the new get_size() API.

	* app/core/gimpbrush.c
	* app/core/gimpbuffer.c
	* app/core/gimpdrawable.c
	* app/core/gimpimage.c
	* app/core/gimppattern.c: implement GimpViewable::get_size().

	* app/core/gimpbrush.c
	* app/core/gimppattern.c: removed GimpViewable::get_popup_size()
	implementations, the default one is good enough.

	* app/core/gimpbrushpipe.c (gimp_brush_pipe_get_popup_size):
	redirect to gimp_viewable_get_size() instead of duplicating its
	return values.

	* app/widgets/gimpcontainertreeview.c
	* app/widgets/gimpview.c: allow pixbuf dragging out of any
	viewable that has a size.

	* app/widgets/gimpdrawabletreeview.c: removed pixbuf dragging code
	here.

	* app/widgets/gimpdnd.c: set gimp busy around encoding/decoding
	pixbufs into/from GtkSelectionData, because it can be a time
	consuming operation.
2005-05-25 10:05:17 +00:00
Michael Natterer 4bbeec9640 fixed type of the dropped layer.
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_pixbuf): fixed
	type of the dropped layer.
2005-05-25 09:54:05 +00:00
Sven Neumann 8f141bcb08 ellipsize the dockable title if it is too wide.
2005-05-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockable.c: ellipsize the dockable title if it
	is too wide.

	* app/widgets/gimpstrokeeditor.c: added mnemonic for the presets
	combo.
2005-05-25 09:45:06 +00:00
Michael Natterer 6ada399543 oops... 2005-05-24 22:24:44 +00:00
Michael Natterer a398aba3d2 implemented dropping of pixbufs. Bail out early from all callbacks if
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptoolbox-dnd.c: implemented dropping of pixbufs.
	Bail out early from all callbacks if gimp->busy is TRUE.
2005-05-24 22:22:24 +00:00
Michael Natterer baee43b51a added --store option which tries to store a file in the clipboard manager,
2005-05-25  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: added --store option which tries to
	store a file in the clipboard manager, improved error reporting.
2005-05-24 22:06:52 +00:00
Sven Neumann 014f22c4c7 only set a horizontal size request on the vertical color bar.
2005-05-24  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorselect.c: only set a horizontal size
	request on the vertical color bar.
2005-05-24 10:48:47 +00:00
Sven Neumann a17ff1dac7 updated german translation.
2005-05-24  Sven Neumann  <sven@gimp.org>

	* de.po: updated german translation.
2005-05-24 10:40:44 +00:00
Sven Neumann e40dca8156 Makefile.am (tips_POFILES) added et.po (Estonian).
2005-05-24  Sven Neumann  <sven@gimp.org>

	* Makefile.am (tips_POFILES) added et.po (Estonian).
2005-05-24 10:09:13 +00:00
Priit Laes 7123bf2e3c Translation updated by "Last-Translator: Olle Niit\n".
2005-05-24  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by "Last-Translator: Olle Niit\n".
2005-05-24 03:13:20 +00:00
Priit Laes f8904cbdaa Translation updated by "Last-Translator: Olle Niit olle@paalalinn.com\n".
2005-05-24  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by "Last-Translator: Olle Niit olle@paalalinn.com\n".
2005-05-24 03:13:09 +00:00
Priit Laes 0c64ebcbe9 Translation updated by Olle Niit.
2005-05-24  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Olle Niit.
2005-05-24 03:12:55 +00:00
Sven Neumann 0d6c07eac6 plugged a small memleak.
2005-05-24  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpcolorconfig.c (gimp_color_config_set_property):
	plugged a small memleak.
2005-05-23 22:12:47 +00:00
Sven Neumann feb4a5b0d8 plug-ins/gfig/gfig-dialog.c initialize GimpRGB and GFigContext structs
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gfig/gfig.c: initialize GimpRGB and GFigContext structs
	before using them.
2005-05-23 20:11:09 +00:00
Adam Weinberger 85ff67b5a5 Updated Canadian English translation.
2005-05-23  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-05-23 17:07:39 +00:00
Sven Neumann 247603f9e1 news 2005-05-23 11:35:21 +00:00
Sven Neumann b6d0c2d3a2 also grab the keyboard and allow to cancel the operation using the Escape
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): also grab the
	keyboard and allow to cancel the operation using the Escape key.
2005-05-23 10:47:32 +00:00
Sven Neumann b08d42c66d always apply the selected delay.
2005-05-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: always apply the selected delay.
2005-05-23 09:53:18 +00:00
Sven Neumann ed19b5aabe we don't actually need to keep a pointer to the dashes array.
2005-05-23  Sven Neumann  <neumann@jpk.com>

	* app/widgets/gimpcellrendererdashes.[ch]: we don't actually need to
	keep a pointer to the dashes array.
	(gimp_cell_renderer_dashes_render): respect horizontal padding.

	* app/widgets/gimpstrokeeditor.c: added 2 pixels horizontal
	padding for the dashes cell-renderer.
2005-05-23 09:37:05 +00:00
Michael Schumacher 446dd757db added the missing -mwindows for OS_WIN32
2005-05-23  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/helpbrowser/Makefile.am: added the missing -mwindows
	for OS_WIN32
2005-05-22 23:46:37 +00:00
Tor Lillqvist 2e69860531 Don't crash if gimp.exe isn't found in PATH either.
2005-05-23  Tor Lillqvist  <tml@novell.com>

	* gimptool-win32.c.in (get_prefix): Don't crash if gimp.exe isn't
	found in PATH either.
2005-05-22 22:59:47 +00:00
Michael Natterer 1506480dd2 added libgimpwidgets/gimpwidgetsenums.c
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added libgimpwidgets/gimpwidgetsenums.c
2005-05-22 21:34:53 +00:00
Michael Natterer 5fc8730806 changed gimpwidgetsenums.c rule to include the bits for "desc" and "help"
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am: changed gimpwidgetsenums.c rule to
	include the bits for "desc" and "help" support.

	* libgimpwidgets/gimpwidgetsenums.h: added "desc" and "help"
	strings for the GimpColorSelectorChannel enum.

	* libgimpwidgets/gimpwidgetsenums.c: added to CVS because it
	contains translatable strings now.

	* libgimpwidgets/gimpwidgets.def: changed accordingly.

	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: removed duplicated arrays of
	strings here and get them from the type system.
2005-05-22 21:00:20 +00:00
Michael Natterer bcc88a5281 changed gimpwidgetsenums.c rule to include the bits for "desc" and "help"
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/Makefile.am: changed gimpwidgetsenums.c rule to
	include the bits for "desc" and "help" support.

	* libgimpwidgets/gimpwidgetsenums.h: added "desc" and "help"
	strings for the GimpColorSelectorChannel enum.

	* libgimpwidgets/gimpwidgetsenums.c: added to CVS because it
	contains translatable strings now.

	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: removed duplicated arrays of
	strings here and get them from the type system.
2005-05-22 20:57:23 +00:00
Sven Neumann d21f31d065 use quotewords() from Text::ParseWords to split the trigraph. This
2005-05-22  Sven Neumann  <sven@gimp.org>

	* tools/gimp-mkenums (parse_trigraph): use quotewords() from
	Text::ParseWords to split the trigraph. This function correctly
	deals with commas inside quotes.

	* app/core/core-enums.[ch]: tweaked descriptions in the
	GimpDashPreset enum.
2005-05-22 13:12:14 +00:00
Sven Neumann 7358758f68 minor cleanup.
2005-05-22  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.c: minor cleanup.

	* app/widgets/gimpcellrendererdashes.c: don't draw a background,
	draw the dash pattern twice, use the correct widget state.
2005-05-22 12:20:25 +00:00
Manish Singh 2247561883 don't do pointer arithmetic with void *. Fixes bug #305005.
2005-05-21  Manish Singh  <yosh@gimp.org>

        * plug-ins/metadata/metadata.c (run): don't do pointer arithmetic
        with void *. Fixes bug #305005.
2005-05-22 05:40:04 +00:00
Michael Natterer 3ebe38bb33 added --selection-type option which allows operating on any of PRIMARY,
2005-05-22  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: added --selection-type option which
	allows operating on any of PRIMARY, SECONDARY and CLIPBOARD.
2005-05-22 02:33:13 +00:00
Sven Neumann a8318e18c5 added utility functions to copy and to free a dash pattern.
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/core/gimpdashpattern.[ch]: added utility functions to copy
	and to free a dash pattern.

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpcellrendererdashes.[ch]: added a simple cell
	renderer to visualize a dash pattern.

	* app/widgets/gimpstrokeeditor.c: show previews of the dash
	presets in the combo-box.
2005-05-21 20:24:42 +00:00
Michael Natterer b6ad77a1bd NULL terminate the options array.
2005-05-21  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c (main): NULL terminate the options array.
2005-05-21 20:23:13 +00:00
Sven Neumann b22a22fa83 NEWS flash 2005-05-21 14:50:11 +00:00
Sven Neumann 8386ca04a1 Allow to paste a new image using Ctrl-V (bug 169477):
2005-05-21  Sven Neumann  <sven@gimp.org>

	Allow to paste a new image using Ctrl-V (bug 169477):

	* menus/toolbox-menu.xml.in: added an accelerator for "edit-paste".

	* app/actions/edit-actions.c: keep "edit-paste" always enabled,
	even if no image is present.

	* app/actions/edit-commands.c (edit_paste_cmd_callback): forward
	to "edit-paste-as-new" if we are being called from the toolbox.
2005-05-21 14:25:06 +00:00
Sven Neumann 5dd652faba improved reporting of errors while parsing the menu definitions.
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpuimanager.c: improved reporting of errors
	while parsing the menu definitions.
2005-05-21 14:13:33 +00:00
Sven Neumann e89dc8e224 changed default dithering to GIMP_NO_DITHER (bug #303063).
2005-05-21  Sven Neumann  <sven@gimp.org>

	* app/dialogs/convert-dialog.c:
	* libgimp/gimpexport.c (export_convert_indexed): changed default
	dithering to GIMP_NO_DITHER (bug #303063).
2005-05-21 00:38:19 +00:00
Sven Neumann 9c5166ef9c libgimpwidgets/libgimpwidgets-docs.sgml
2005-05-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpcolorarea.sgml
	* libgimpwidgets/tmpl/gimpcolorbutton.sgml: updated.

	* libgimpwidgets/tmpl/gimpbrowser.sgml: new file.

	* tools/widgets.c: added GimpBrowser, changed widget packing.
2005-05-20 22:05:01 +00:00
Sven Neumann 04d9d5bd43 libgimpwidgets/gimpcolorarea.c more object properties.
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorarea.c
	* libgimpwidgets/gimpcolorbutton.c: more object properties.
2005-05-20 20:42:39 +00:00
Sven Neumann 6bd6a44442 libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgetsenums.h moved enums
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgetsenums.h
	* libgimpwidgets/gimpwidgetstypes.h: moved enums to a new file and
	register the GimpColorAreaType enum with the type system.

	* libgimpwidgets/gimpwidgets.def: updated.

	* libgimpwidgets/gimpcolorarea.c: added an object property.
2005-05-20 18:34:00 +00:00
Sven Neumann 1e4a9b7499 started to add object properties.
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c: started to add object properties.
2005-05-20 18:07:20 +00:00
Manish Singh d1d6d48577 Fix ytpo in wget command line so it actually works.
2005-05-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): Fix ytpo
        in wget command line so it actually works.
2005-05-20 17:06:26 +00:00
Marco Ciampa 8a1ba510c6 Updated italian translation. 2005-05-20 15:54:36 +00:00
Michael Natterer 05b0266911 don't include "libgimpbase/gimpbase.h"
2005-05-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdashpattern.c: don't include "libgimpbase/gimpbase.h"
2005-05-20 15:30:57 +00:00
Marco Ciampa 40b97bca69 Small fix. 2005-05-20 15:01:25 +00:00
Sven Neumann 3de9e50f67 made the color selection dialog transient to the window that contains the
2005-05-20  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.c (gimp_color_button_clicked):
	made the color selection dialog transient to the window that
	contains the color button.
2005-05-20 12:56:05 +00:00
Sven Neumann 6f32d586c9 minor changes, fixing earlier commits 2005-05-20 12:47:21 +00:00