Commit Graph

7368 Commits

Author SHA1 Message Date
Michael Natterer 0aace89615 don't #include "core/gimpbrush.h"
2002-10-30  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdevices.c: don't #include "core/gimpbrush.h"
2002-10-30 18:32:23 +00:00
Michael Natterer b705a3ab99 cosmetic cleanup.
2002-10-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbrush.[ch]: cosmetic cleanup.
2002-10-30 18:25:40 +00:00
Michael Natterer 41ca3053dd fixed rendering for partial expose events.
2002-10-30  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorscale.c: fixed rendering for partial
	expose events.

	* libgimpwidgets/gimpwidgets.[ch]: added gimp_color_scale_entry_new().

	* libgimpwidgets/gimpcolorscales.c: use the color scales.
2002-10-30 16:10:18 +00:00
Sven Neumann 1c0e9df23b use a mnemonic that doesn't collide with the rest of the dialog.
2002-10-30  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorselect.c: use a mnemonic that doesn't
	collide with the rest of the dialog.

	* modules/Makefile.am
	* modules/colorsel_gtk.c: removed the GTK color selector module.

	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: translate in the gimp14-libgimp domain.
2002-10-30 15:12:30 +00:00
Michael Natterer 0ea33ada16 create the notebook labels with mnemonics.
2002-10-30  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolornotebook.c: create the notebook labels
	with mnemonics.

	* libgimpwidgets/gimpcolorselect.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: added mnemonics to the tab strings.

	* libgimpwidgets/gimpcolorscale.c: looks finished now.

	* libgimpwidgets/gimpcolorscales.c: tie the test color scale to
	the right channel adjustment and update its color and channel
	accordingly. Added mnemonics for the channels.
2002-10-30 14:52:58 +00:00
Wang Jian 26dc29eb68 *** empty log message *** 2002-10-30 06:27:08 +00:00
Sven Neumann 8de5b9ee1c derive it from GtkScale, override the expose method and draw something
2002-10-30  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscale.[ch]: derive it from GtkScale,
	override the expose method and draw something there. Work in
	progress...

	* libgimpwidgets/gimpcolorscales.c: added a GimpColorScale widget
	for testing.
2002-10-30 02:02:18 +00:00
Sven Neumann 4453452105 derive it from GtkScale.
2002-10-30  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscale.[ch]: derive it from GtkScale.
2002-10-30 00:21:31 +00:00
Michael Natterer c9d54558f9 added some API and stuff. Still does nothing.
2002-10-30  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorscale.[ch]: added some API and
	stuff. Still does nothing.
2002-10-29 23:54:02 +00:00
Sven Neumann 49eaa7e3e1 cosmetics.
2002-10-30  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorarea.[ch]: cosmetics.

2002-10-30  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/tmpl/gimpcolorscale.sgml: added GimpColorScale.

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types
	* libgimpwidgets/tmpl/gimpcolorarea.sgml: updated.
2002-10-29 23:42:27 +00:00
Sven Neumann c1dc9f2b8a should really add the files 2002-10-29 23:18:23 +00:00
Sven Neumann d25441c1d2 new files, basic framework for a new widget, does nothing yet.
2002-10-30  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscale.[ch]: new files, basic framework
	for a new widget, does nothing yet.

	* Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
2002-10-29 23:16:17 +00:00
Sven Neumann d0639f0540 removed the hashmark from the hex entry.
2002-10-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorscales.c: removed the hashmark from the
	hex entry.
2002-10-29 13:10:00 +00:00
Michael Natterer 43729d4c02 libgimpwidgets/libgimpwidgets-docs.sgml
2002-10-29  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpcolornotebook.sgml: updated.
2002-10-29 12:50:35 +00:00
Michael Natterer c97782f358 made the color notebook a GimpColorSelector subclass so they have the same
2002-10-29  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolornotebook.[ch]: made the color notebook
	a GimpColorSelector subclass so they have the same API.

	* app/gui/color-notebook.c: changed accordingly.
2002-10-29 12:49:02 +00:00
Sven Neumann e4cd5ecdcb libgimpmodule/gimpmodule.c libgimpwidgets/gimpcolorscales.c include
2002-10-29  Sven Neumann  <sven@gimp.org>

	* libgimpmodule/gimpmodule.c
	* libgimpwidgets/gimpcolorscales.c
	* libgimpwidgets/gimpcolorselect.c: include libgimp-intl.h, not
	gimpintl.h since this is in the gimp14-libgimp translation domain.

	* libgimpmodule/gimpmoduledb.c
	* libgimptool/gimptool.c: no need to include intl.h from here, there
	are no translatable message.
2002-10-29 12:09:46 +00:00
Manish Singh 91a3ca8da3 strip paths from the plug-in filename for installation (fixes #97111).
2002-10-29  Manish Singh  <yosh@gimp.org>

        * gimptool-1.3.in: strip paths from the plug-in filename for
        installation (fixes #97111).
2002-10-29 11:25:09 +00:00
Sven Neumann f5780115a7 app/tools/Makefile.am removed this file which was moved to libgimptool in
2002-10-29  Sven Neumann  <sven@gimp.org>

        * app/tools/Makefile.am
        * app/tools/tools-enums.c: removed this file which was moved to
        libgimptool in March.
2002-10-29 10:51:34 +00:00
Christian Rose dc0fc6c7ed Updated Swedish translation.
2002-10-29  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2002-10-29 00:06:13 +00:00
Michael Natterer 8945226142 the color scales from the main color selection as GimpColorSelector
2002-10-28  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolorscales.[ch]: the color scales from
	the main color selection as GimpColorSelector subclass.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetsmarshal.list
	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.

	* libgimpwidgets/gimpcolornotebook.c: skip it when iterating the
	GimpColorSelector subclasses.

	* libgimpwidgets/gimpcolorselector.[ch]: added virtual function
	set_has_alpha() amd signal "channel_changed". Put RGB, HSV and
	channel values into to the GimpColorSelector struct where they are
	available for subclasses.

	* libgimpwidgets/gimpcolorselect.[ch]
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: changed accordingly, cleanup.

	* app/gui/color-notebook.[ch]: use the new GimpColorScales widget,
	lots of cleanup.

2002-10-28  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/tmpl/gimpcolorscales.sgml: added GimpColorScales.

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types
	* libgimpwidgets/tmpl/gimpcolorselect.sgml
	* libgimpwidgets/tmpl/gimpcolorselector.sgml; updated.
2002-10-28 20:13:17 +00:00
Michael Natterer dcb5f7b2da reordered action buttons.
2002-10-28  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/unsharp.c: reordered action buttons.
2002-10-28 19:12:17 +00:00
Michael Natterer 5f750eae3c the notebook as known from the main color selection as new widget.
2002-10-28  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimpcolornotebook.[ch]: the notebook as known
	from the main color selection as new widget.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpcolorselector.h
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.

	* app/gui/color-notebook.c: use the new widget.

2002-10-28  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/tmpl/gimpcolornotebook.sgml: added GimpColorNotebook.

	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types
	* libgimpwidgets/tmpl/gimpcolordisplay.sgml: updated.
2002-10-28 13:19:02 +00:00
Michael Natterer d34647e3a0 added "book_added" and "book_removed" signals. Removed the
2002-10-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdock.[ch]: added "book_added" and "book_removed"
	signals. Removed the "destroy_if_empty" flag and destroy empty
	docks in book_removed's default implementation.

	* app/widgets/gimptoolbox.c: implement "dock_added" and
	"dock_removed" and set the window to freely resizable vertically
	if it contains dockbooks, and to the current behaviour of snapping
	to multiples of tool_button height otherwise. Fixes bug #93309.

	* app/widgets/gimpimagedock.c: changed accordingly.
2002-10-25 13:21:54 +00:00
Stanislav Brabec f812426004 Updated Czech translation from Michal Bukovjan <bukm@centrum.cz>.
2002-10-25  Stanislav Brabec  <sbrabec@suse.cz>

	* cs.po: Updated Czech translation from Michal Bukovjan
	<bukm@centrum.cz>.
2002-10-25 12:09:39 +00:00
Michael Natterer b5d27fc4ac app/display/gimpdisplayshell.c app/gui/about-dialog.c
2002-10-25  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.c
	* app/gui/about-dialog.c
	* app/gui/convert-dialog.c
	* app/gui/dialogs-commands.c
	* app/gui/file-commands.c
	* app/gui/palette-import-dialog.c
	* app/tools/gimptexttool.c
	* app/widgets/gimpdialogfactory.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpwidgets-utils.c
	* libgimpwidgets/gimpfileselection.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/FractalExplorer/FractalExplorer.c
	* plug-ins/common/AlienMap.c
	* plug-ins/common/AlienMap2.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/general.c
	* plug-ins/gimpressionist/gimpressionist.c: replaced all sorts of
	gtk_widget_show()/gdk_window_rise() combinations by
	gtk_window_present().
2002-10-25 01:11:24 +00:00
Christian Rose 1b91957176 Updated Swedish translation by Jan Morén <jan.moren@lucs.lu.se>.
2002-10-25  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation by
	Jan Morén <jan.moren@lucs.lu.se>.
2002-10-24 23:51:43 +00:00
Michael Natterer ed3067f71a app/gui/Makefile.am new files implementing the color history which used to
2002-10-25  Michael Natterer  <mitch@gimp.org>

	* app/gui/Makefile.am
	* app/gui/color-history.[ch]: new files implementing the color
	history which used to live in color-notebook.*

	* app/gui/color-notebook.[ch]
	* app/gui/session.c: changed accordingly.
2002-10-24 23:10:50 +00:00
Michael Natterer 491bbe0481 removed #warning and inclusion of "display/*" stuff because we use
2002-10-25  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpimagedock.c: removed #warning and inclusion of
	"display/*" stuff because we use GimpDisplays as GimpObjects in
	this file.
2002-10-24 22:51:09 +00:00
Sven Neumann 18497f40da app/pdb/display_cmds.c the first display takes ownership of the image.
2002-10-24  Sven Neumann  <sven@gimp.org>

	* app/pdb/display_cmds.c
	* tools/pdbgen/pdb/display.pdb (display_new_invoker): the first
	display takes ownership of the image. Fixes bug #94371.
2002-10-24 13:06:03 +00:00
Pablo Saratxaga cf9095063a updated Vientamese file 2002-10-24 10:07:55 +00:00
Christian Rose 6039ba8808 Updated Swedish translation.
2002-10-24  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2002-10-24 01:31:53 +00:00
Sven Neumann 9c04105cfc plug-ins/common/compose.c applied a patch from Michael Niedermayer
2002-10-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c: applied a patch from
	Michael Niedermayer <michaelni@gmx.at> that adds support for
	YCbCr (de)composition (#96448).
2002-10-23 22:20:23 +00:00
Sven Neumann d26a7d0b0e libgimpmodule/libgimpmodule-sections.txt added missing declarations.
2002-10-23  Sven Neumann  <sven@gimp.org>

	* libgimpmodule/libgimpmodule-sections.txt
	* libgimpmodule/tmpl/gimpmodule.sgml: added missing declarations.
2002-10-23 16:06:19 +00:00
Michael Natterer c7ac6aff52 Moved generic datafile loading to LibGimpBase:
2002-10-23  Michael Natterer  <mitch@gimp.org>

	Moved generic datafile loading to LibGimpBase:

	* app/core/gimpdatafiles.[ch]: removed...

	* libgimpbase/gimpdatafiles.[ch]: ...and add here with a changed
	API which requires no more global variables.

	* libgimpbase/Makefile.am
	* libgimpbase/gimpbase.h
	* libgimpbase/gimpbasetypes.h
	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpdatafactory.c
	* app/gui/gui.c
	* app/plug-in/plug-in.c
	* app/plug-in/plug-ins.c
	* app/tools/tools.c: changed accordingly.

	Moved module loading to LibGimpModule:

	* app/core/gimpmodules.c: removed lots of code...

	* libgimpmodule/gimpmoduledb.[ch]: ...and added it here as
	GimpModuleDB object.

	* libgimpmodule/Makefile.am
	* libgimpmodule/gimpmoduletypes.h: changed accordingly.

	* app/core/gimp.[ch]: replaced gimp->modules by gimp->module_db.

	* libgimpmodule/gimpmodule.[ch]: added
	gimp_module_query(). Internal cleanup. Stuff...

	* app/gui/module-browser.c: changed accordingly. Unfinished...

	* app/core/gimpcontainer.c
	* app/core/gimplist.c: reverted the HACKS introduced recently.

	* app/core/gimpobject.[ch]: added gimp_g_object_get_memsize()
	utility function.

	* libgimpproxy/gimpobject.[ch]: regenerated.

	Changed display filter configuration stuff:

	* libgimpwidgets/gimpcolordisplay.[ch]: made the virtual
	configure() function return a GtkWidget instead of opening a
	dialog. Changed configure_cancel() to configure_reset(). Added
	"changed" signal.

	* app/display/gimpdisplayshell-filter-dialog.c: embed the filters'
	config GUI in the dialog. Connect to "changed" and added a "Reset"
	button which resets the filter.

	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c: changed accordingly.

	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: minor fixes.

2002-10-23  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/libgimpbase-docs.sgml
	* libgimpbase/libgimpbase-sections.txt
	* libgimpbase/tmpl/gimpbasetypes.sgml
	* libgimpbase/tmpl/gimpdatafiles.sgml: added GimpDatafiles

	* libgimpmodule/libgimpmodule-docs.sgml
	* libgimpmodule/libgimpmodule-sections.txt
	* libgimpmodule/tmpl/gimpmoduledb.sgml: added GimpModuleDB.

	* libgimpwidgets/libgimpwidgets.types: added gimp_dialog_get_type

	* libgimpmodule/tmpl/gimpmodule.sgml
	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
	* libgimpwidgets/tmpl/gimpdialog.sgml: updated.
2002-10-23 14:55:07 +00:00
Sven Neumann 5f5e05a805 don't free the OffsetDialog structure twice. Fixes bug #96520.
2002-10-22  Sven Neumann  <sven@gimp.org>

	* app/gui/offset-dialog.c (offset_ok_callback): don't free the
	OffsetDialog structure twice. Fixes bug #96520.
2002-10-22 19:34:02 +00:00
Ole Laursen 356f904f32 Updated Danish translation.
2002-10-22  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-10-22 18:12:54 +00:00
Michael Natterer bbe5372bdb removed because we don't document the *types.h files separately.
2002-10-21  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/tmpl/gimpmoduletypes.sgml: removed because we
	don't document the *types.h files separately.

	* libgimpmodule/libgimpmodule-docs.sgml
	* libgimpmodule/libgimpmodule-sections.txt
	* libgimpmodule/tmpl/gimpmodule.sgml: updated.
2002-10-21 16:39:49 +00:00
Sven Neumann 5e7d506ff9 libgimpwidgets/libgimpwidgets-sections.txt
2002-10-21  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
	* libgimpwidgets/tmpl/gimpcolorselect.sgml
	* libgimpwidgets/tmpl/gimpcolorselector.sgml: updated.
2002-10-21 15:49:32 +00:00
Sven Neumann ca6d7dc46c fixed some i18n glitches.
2002-10-21  Sven Neumann  <sven@gimp.org>

	* libgimpmodule/gimpmodule.c: fixed some i18n glitches.
2002-10-21 15:16:47 +00:00
Michael Natterer 0f77b4228f Makefile.am libgimpmodule/.cvsignore libgimpmodule/Makefile.am
2002-10-21  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* libgimpmodule/.cvsignore
	* libgimpmodule/Makefile.am
	* libgimpmodule/gimpmodule.[ch]
	* libgimpmodule/gimpmodule.def
	* libgimpmodule/gimpmoduletypes.h
	* libgimpmodule/makefile.msc: new library for module loading.

	* configure.in: generate Makefiles for libgimpmodule and its
	devel-docs. Added GMODULE_CFLAGS and GMODULE_LIBS.

	* app/Makefile.am: link the app against it.

	* libgimp/gimpmodule.h
	* app/core/gimpmoduleinfo.[ch]: removed.

	* libgimp/Makefile.am
	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpmodules.c
	* app/gui/module-browser.c: changed accordingly.

	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: #include "libgimpmodule/gimpmodule.h"

2002-10-21  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* libgimpmodule/.cvsignore
	* libgimpmodule/Makefile.am
	* libgimpmodule/libgimpmodule-docs.sgml
	* libgimpmodule/libgimpmodule-sections.txt
	* libgimpmodule/libgimpmodule.types
	* libgimpmodule/tmpl/.cvsignore
	* libgimpmodule/tmpl/gimpmodule.sgml
	* libgimpmodule/tmpl/gimpmoduletypes.sgml: added API docs for the
	new module loading lib.

	* libgimp/tmpl/gimpmodule.sgml: removed.

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt: changed accordingly.

	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
	* libgimpwidgets/tmpl/gimpcolorselect.sgml
	* libgimpwidgets/tmpl/gimpcolorselector.sgml: updated.

2002-10-21  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: removed app/core/gimpmoduleinfo.c

2002-10-21  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added libgimpmodule/gimpmodule.c
2002-10-21 14:15:02 +00:00
Michael Natterer fc451d3352 libgimp/tmpl/gimpcolordisplay.sgml removed
2002-10-20  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimpcolordisplay.sgml
	* libgimp/tmpl/gimpcolorselector.sgml: removed

	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
	* libgimpwidgets/tmpl/gimpcolorselect.sgml
	* libgimpwidgets/tmpl/gimpcolorselector.sgml: added

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpmodule.sgml
	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types: updated.
2002-10-20 13:10:20 +00:00
Michael Natterer 3f010e7640 libgimp/tmpl/gimpcolordisplay.sgml removed
2002-10-20  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimpcolordisplay.sgml
	* libgimp/tmpl/gimpcolorselector.sgml: removed

	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
	* libgimpwidgets/tmpl/gimpcolorselect.sgml
	* libgimpwidgets/tmpl/gimpcolorselector.sgml: added

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpmodule.sgml
	* libgimpwidgets/libgimpwidgets-docs.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.types: updated.
2002-10-20 13:09:32 +00:00
Michael Natterer 4cb04533e4 app/core/gimpmoduleinfo.[ch] separated module query from type registration
2002-10-20  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmoduleinfo.[ch]
	* libgimp/gimpmodule.h: separated module query from type
	registration by adding a separate "gimp_module_query" function
	which must be implemented by modules. Make local copies of the
	strings returned by the query function.

	* app/core/gimpmodules.c
	* app/gui/module-browser.c: changed accordingly.

	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: added the gimp_module_query() functions.
2002-10-20 12:40:30 +00:00
Michael Natterer 079b768ea7 removed the ColorDisplayNode struct entirely. GimpDisplayShell->filters is
2002-10-20  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-filter.[ch]: removed the
	ColorDisplayNode struct entirely. GimpDisplayShell->filters is now
	just a GList of GimpColorDisplay objects.

	* app/display/gimpdisplayshell-filter-dialog.c
	* app/display/gimpdisplayshell-render.c: changed accordingly.
2002-10-20 12:22:39 +00:00
Michael Natterer d7055a3351 Ported module loading to GTypeModule, getting rid of all own module
2002-10-20  Michael Natterer  <mitch@gimp.org>

	Ported module loading to GTypeModule, getting rid of all own
	module registering/bookkeeping stuff for color selectors and
	display filters. The modules now simply register GimpColorSelector
	and GimpColorDisplay subclasses, the list of registered subclasses
	can then be obtained calling g_type_children() on the abstract
	base classes.

	This is work in progress and just the first working state after I
	started breaking everything...

	* app/gui/color-select.[ch]
	* libgimp/gimpcolordisplay.h
	* libgimp/gimpcolorselector.h: removed.

	* app/gui/Makefile.am
	* libgimp/Makefile.am: changed accordingly.

	* libgimp/gimpmodule.h: massively simplified. All voodoo is gone.

	* libgimpwidgets/gimpcolordisplay.[ch]
	* libgimpwidgets/gimpcolorselector.[ch]: new abstract base classes
	which need to be subclassed by modules.

	* libgimpwidgets/gimpcolorselect.[ch]: the built-in color selector
	from app/gui/color-select.* ported to be a GimpColorSelector
	subclass.

	* libgimpwidgets/Makefile.am
	* libgimpwidgets/gimpwidgets.h
	* libgimpwidgets/gimpwidgetsmarshal.list
	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.

	* app/core/gimpmoduleinfo.[ch]: made it a GTypeModule subclass

	* app/core/gimpmodules.c: changed accordingly.

	* app/core/gimpcontainer.c
	* app/core/gimplist.c: HACKED around to allow GimpLists of
	GObjects (not GimpObjects). This is EEKy, so I will either make
	gimp->modules a simple GList and revert this bit of change, or
	allow GObjects all over the place in GimpContainer land...

	* app/display/gimpdisplayshell-filter.[ch]
	* app/gui/color-notebook.c: removed all module stuff and use
	g_type_children() to get the list of available color_selectors
	and display_filters.

	* app/display/gimpdisplayshell-filter-dialog.c
	* app/display/gimpdisplayshell-render.c
	* app/gui/module-browser.c: changed accordingly.

	* app/gui/gui.c: ref the built-in color selector's class before
	the modules are queried so it appears first in the list of
	GimpColorSelector's children.

	* modules/Makefile.am: build the water color selector again.

	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: ported them all to the new API.

	* modules/gimpmodregister.[ch]: removed the old EMX module hack.
2002-10-20 10:14:17 +00:00
Sven Neumann 921d265270 oops 2002-10-18 15:18:25 +00:00
Sven Neumann cedcb7bc8d changed an error message.
2002-10-18  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-mask.c (gimp_image_mask_extract): changed an
	error message.

	* app/widgets/gimpmessagebox.c: tweaked so it looks more like the
	query box.
2002-10-18 15:16:05 +00:00
Michael Natterer f2dbfa1291 app/gui/dialogs-constructors.c fixed warnings by casting/bracketting
2002-10-17  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs-constructors.c
	* app/widgets/gimptoolbox.c: fixed warnings by casting/bracketting
	properly.
2002-10-17 14:31:24 +00:00
Maurits Rijk a75dfc5642 Applied patch from <roccodevinger@yahoo.com> to fix #52896 (Lighting Effects
plugin needs interactive light placement)
2002-10-16 21:18:11 +00:00
Sven Neumann a6f0a90c06 changed the default button_icon_size to GTK_ICON_SIZE_MENU.
2002-10-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpeditor.c: changed the default button_icon_size to
	GTK_ICON_SIZE_MENU.

	* themes/Default/gtkrc
	* themes/Default/images/Makefile.am: don't override GTK+ button
	icons.  This renders some of the compiled-in icons unused; we
	should remove them later.
2002-10-15 20:52:46 +00:00