Commit Graph

6850 Commits

Author SHA1 Message Date
Sven Neumann 1ab94ead7e serialize to a temporary file and rename it to the target filename when it
2002-05-13  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig.c (gimp_config_serialize): serialize to a
	temporary file and rename it to the target filename when it is
	completely written.
2002-05-13 21:39:59 +00:00
Michael Natterer 84d244c1ed parse parasiterc using GScanner instead of gimprc.
2002-05-13  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpparasite.c: parse parasiterc using GScanner instead
	of gimprc.

	* app/gimprc.c: removed the parasite parsing stuff.
2002-05-13 20:24:19 +00:00
Ole Laursen 0ab1722b9b Updated Danish translation.
2002-05-13  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-05-13 19:26:19 +00:00
Sven Neumann a663c855ce added _with_range variants for all enum menu widgets that limit the range
2002-05-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpenummenu.[ch]: added _with_range variants for all
	enum menu widgets that limit the range of choices.

	* app/gui/file-new-dialog.c
	* app/gui/layers-commands.c
	* app/gui/preferences-dialog.c: use GimpEnumMenus with ranges.
2002-05-13 17:15:17 +00:00
Sven Neumann 0172411138 uhh, skipping values used in the PDB was a bad idea. Removed the skip
2002-05-13  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: uhh, skipping values used in the PDB
	was a bad idea. Removed the skip trigraphs again. This breaks the
	GUI; will fix it later.

	* tools/pdbgen/enums.pl: regenerated.
2002-05-13 15:53:45 +00:00
Sven Neumann 16e8b1bec8 registered GimpFillType enum and added translatable names to
2002-05-13  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.[ch]: registered GimpFillType enum and added
	translatable names to GimpImageBaseType.

	* app/core/gimp.[ch]
	* app/core/gimpedit.c
	* app/core/gimpimage-new.[ch]: removed gimp_image_new_[init|exit]()
	where we used to create names for the enums mentioned above. Dropped
	gimp_image_new_set_have_current_cut_buffer() in favor of accessing
	the value directly.

	* app/gui/file-new-dialog.c (file_new_dialog_create)
	* app/gui/layers-commands.c (layers_new_layer_query): use
	GimpEnumMenus to choose the base_type and fill_type.
2002-05-13 15:35:27 +00:00
Michael Natterer 73057f7689 gimp_display_idlerenderer_callback()). The assertion went off whenever we
2002-05-13  Michael Natterer  <mitch@gimp.org>

	* app/paint-funcs/paint-funcs.c commented out a warning in
	initial_sub_region and a g_error() in combine_sub_region which
	didn't expect to get chunks of pixels with a width of > 128
	passed. I guess it was an assertion to ensure the integrity of
	some higher level code (see gimpdisplay.c:
	gimp_display_idlerenderer_callback()).  The assertion went off
	whenever we wanted to render a preview with a width of > 128,
	which is however handled absolutely correctly by the two
	functions. (fixes #26072)

	* app/core/gimpcontext.c (gimp_context_get_by_type): unref objects
	before returning them. Fixes our biggest memleak (whole images).

	* app/display/gimpdisplay-handlers.c: commented out debugging
	g_print()s which track the image's refcount.
2002-05-13 14:28:49 +00:00
Sven Neumann d8c4461c20 use gimp_image_get_name().
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpmenu.c: use gimp_image_get_name().

	* plug-ins/common/deinterlace.c: don't use 'O' as mnemonic, it's
	already taken by the _OK button.
2002-05-13 13:21:55 +00:00
Sven Neumann 2e8fdca5aa documentation fix.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c: documentation fix.
2002-05-13 11:41:22 +00:00
Sven Neumann 33bd6db575 updates 2002-05-13 11:23:37 +00:00
Sven Neumann a6722c6151 libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt updated.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml: updated.
2002-05-13 11:23:18 +00:00
Sven Neumann 378cfc793d ignore gimpbase.h.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am: ignore gimpbase.h.

	* libgimpbase/libgimpbase-docs.sgml: removed GimpBase and GimpUtils
	sections, added GimpProtocol.

	* libgimpbase/libgimpbase-sections.txt: updated.

	* libgimpbase/tmpl/gimpbase.sgml
	* libgimpbase/tmpl/gimputils.sgml: removed.

	* libgimpbase/tmpl/gimpbasetypes.sgml
	* libgimpbase/tmpl/gimpenv.sgml
	* libgimpbase/tmpl/gimpparasite.sgml
	* libgimpbase/tmpl/gimpprotocol.sgml
	* libgimpbase/tmpl/gimpunit.sgml: updated.
2002-05-13 11:13:41 +00:00
Sven Neumann 3b9eefee4c removed one more unneeded template file 2002-05-13 11:00:16 +00:00
Sven Neumann f95e27ab71 removed GimpColorTypes section.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/libgimpcolor-docs.sgml: removed GimpColorTypes section.

	* libgimpcolor/libgimpcolor-sections.txt: updated.

	* libgimpcolor/tmpl/gimpcolortypes.sgml: removed.

	* libgimpcolor/tmpl/gimpadaptivesupersample.sgml
	* libgimpcolor/tmpl/gimphsv.sgml
	* libgimpcolor/tmpl/gimprgb.sgml: updated.
2002-05-13 10:55:46 +00:00
Sven Neumann 6564db3c2a added GimpMD5 section, removed GimpMathTypes.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimpmath/libgimpmath-docs.sgml: added GimpMD5 section, removed
	GimpMathTypes.

	* libgimpmath/libgimpmath-sections.txt: updated.

	* libgimpmath/tmpl/gimpmathtypes.sgml: removed.

	* libgimpmath/tmpl/gimpmd5.sgml: added GimpMD5 template.

	* libgimpmath/tmpl/gimpmatrix.sgml
	* libgimpmath/tmpl/gimpvector.sgml: updated.
2002-05-13 10:47:29 +00:00
Sven Neumann 1be6408590 added GimpStock section, removed GimpWidgetTypes.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-docs.sgml: added GimpStock section,
	removed GimpWidgetTypes.

	* libgimpwidgets/libgimpwidgets-sections.txt: updated.

	* libgimpwidgets/tmpl/gimpstock.sgml: added GimpStock templates.

	* libgimpwidgets/tmpl/gimpwidgetstypes.sgml: removed.

	* libgimpwidgets/tmpl/gimpbutton.sgml
	* libgimpwidgets/tmpl/gimpchainbutton.sgml
	* libgimpwidgets/tmpl/gimpcolorarea.sgml
	* libgimpwidgets/tmpl/gimpcolorbutton.sgml
	* libgimpwidgets/tmpl/gimpdialog.sgml
	* libgimpwidgets/tmpl/gimpfileselection.sgml
	* libgimpwidgets/tmpl/gimphelpui.sgml
	* libgimpwidgets/tmpl/gimpoffsetarea.sgml
	* libgimpwidgets/tmpl/gimppatheditor.sgml
	* libgimpwidgets/tmpl/gimppixmap.sgml
	* libgimpwidgets/tmpl/gimpquerybox.sgml
	* libgimpwidgets/tmpl/gimpsizeentry.sgml
	* libgimpwidgets/tmpl/gimpunitmenu.sgml
	* libgimpwidgets/tmpl/gimpwidgets.sgml: updated.
2002-05-13 10:37:53 +00:00
Michael Natterer 2216807dca oops... 2002-05-12 23:26:07 +00:00
Michael Natterer 474a4ec430 set the view's display to NULL in "destroy". Fixes crash on closing the
2002-05-13  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpnavigationview.c: set the view's display to NULL
	in "destroy". Fixes crash on closing the navigation dialog.

	* app/gui/dialogs-constructors.c
	* app/gui/menus.c: use GIMP_STOCK_NAVIGATION instead of
	GIMP_STOCK_TOOL_MOVE. Use the new GIMP_STOCK_WARNING (see below)
	for the error console.

	* themes/Default/images/*.png
	* themes/Default/images/tools/*.png: renamed all stock icons to
	have the pixel size instead of "button" or "menu" in the name.
	(e.g. stock-menu-scale.png -> stock-scale-16.png).

	* libgimpwidgets/gimpstock.[ch]
	* themes/Default/gtkrc
	* themes/Default/imagerc
	* themes/Default/images/Makefile.am: changed accordingly.
2002-05-12 23:20:21 +00:00
Michael Natterer 384a2a851e connect to size allocations of the navigation preview's parent container
2002-05-11  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpnavigationview.c: connect to size allocations of
	the navigation preview's parent container and resize it so it
	takes all available space.

	* app/widgets/gimppreview.[ch]: replaced magic values by public
	#defines of GIMP_PREVIEW_MAX_SIZE and GIMP_PREVIEW_MAX_POPUP_SIZE.
	Increased the maximum preview size to 1024. Don't call the virtual
	get_size() function if preview->viewable is NULL but call
	gimp_preview_real_get_size() directly.

	* app/widgets/gimpbufferpreview.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpcontainermenu.c
	* app/widgets/gimpdrawablepreview.c
	* app/widgets/gimpimagepreview.c
	* app/widgets/gimplistitem.c
	* app/widgets/gimpmenuitem.c
	* app/widgets/gimpnavigationpreview.c: replaced magic values by
	the new costants.
2002-05-11 13:51:26 +00:00
Michael Natterer 5a024d973b Added a comment to explain why the "correct" size calculation is commented
2002-05-11  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolormapeditor.c: Added a comment to explain why
	the "correct" size calculation is commented out and put back the
	old buffer size so we don't crash. Made the code robust against
	whether we render only the color cells or the whole widget's
	allocation->width.

	* app/widgets/gimpdialogfactory.c: Don't try to #define DEBUG(...)
	but wrap the whole g_print(...) statement in a debugging macro.
2002-05-11 13:25:45 +00:00
Sven Neumann 328b93d718 libgimp/stdplugins-intl.h use the new function gimp_locale_directory()
2002-05-11  Sven Neumann  <sven@gimp.org>

	* libgimp/stdplugins-intl.h
	* plug-ins/script-fu/script-fu-intl.h: use the new function
	gimp_locale_directory() instead of LOCALEDIR.

	* app/Makefile.am
	* plug-ins/*/Makefile.am: removed LOCALEDIR definition.
2002-05-11 11:26:14 +00:00
Sven Neumann 33b2724510 applied a patch from Maurits Rijk that enables mnemonics (bug #80804).
2002-05-11  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_radio_group_new2): applied a
	patch from Maurits Rijk that enables mnemonics (bug #80804).

	* plug-ins/common/blinds.c
	* plug-ins/common/deinterlace.c
	* plug-ins/common/despeckle.c
	* plug-ins/common/destripe.c
	* plug-ins/common/emboss.c
	* plug-ins/common/flarefx.c
	* plug-ins/common/mblur.c
	* plug-ins/common/oilify.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/sel_gauss.c
	* plug-ins/common/struc.c: : applied patches from Maurits Rijk that
	add mnemonics (bug #80804).

	* plug-ins/common/convmatrix.c: merged fix for bug #81345 from stable
	branch.
2002-05-11 10:33:51 +00:00
Sven Neumann 0938e33e5b removed LOCALEDIR definition ...
2002-05-11  Sven Neumann  <sven@gimp.org>

	* app/gui/Makefile.am: removed LOCALEDIR definition ...

	* libgimpbase/Makefile.am: ... and added it here.

	* app/widgets/gimpdnd.c: corrected pointer arithmetic.
2002-05-11 10:18:58 +00:00
Sven Neumann fdf3a59379 removed gimptool.h.
2002-05-11  Sven Neumann  <sven@gimp.org>

	* app/tools/Makefile.am (SOURCES): removed gimptool.h.

	* libgimptool/Makefile.am (SOURCES): added gimptoolcontrol.h.

Updated POTFILES.in and german translations.
2002-05-11 09:57:01 +00:00
Hans Breuer c20a0c14d7 broken pipe (see ChangeLog) ...
2001-05-11  Hans Breuer  <hans@breuer.org>

* broken pipe (see ChangeLog) ...
2002-05-10 23:40:21 +00:00
Hans Breuer 31b31bc80d broken pipe ?
2001-05-11  Hans Breuer  <hans@breuer.org>

broken pipe ?
2002-05-10 23:33:26 +00:00
Hans Breuer 8522a8470d add appconfig.lib. Statically link libgimptool/gimptool.lib.
2001-05-11  Hans Breuer  <hans@breuer.org>

	* app/makefile.msc : add appconfig.lib. Statically
	link libgimptool/gimptool.lib.

	* app/main.c : use gimp_locale_directory()

	* app/config/gimpconfig-utils.c : <string.h>

	* app/config/makefile.msc : add gimpscanner

	* app/core/gimpimagefile.c : some G_OS_WIN32 mess to get
	mkdir() and chmod()

	* app/display/gimpdisplayshell.c
	  app/plug-in/plug-in-progrss.c
	  app/tool/gimpcolorpickertool.c
	  app/tool/gimpcroptool.c
	  app/tool/gimpmeasuretool.c
	  app/tool/gimpperspectivetool.c
	  app/tool/gimprotatetool.c
	  app/tool/gimpscaletool.c
	  app/tool/gimpsheartool.c
	  app/tool/gimptransformtool.c
	  app/widgets/gimpcolormapeditor.c
	  app/widgets/gimpcolorpanel.c
	  app/widgets/gimptoolbox-color-area.c
	add #ifdef __GNUC__ to avoid breaking on non standard
	pragma #warning

	* app/tools/makefile.msc : add gimptoolcontrol remove
	tools-enum

	* app/tools/tool_manager.c : need to include
	libgimptool/gimptoolcontrol.h after core includes
	otherwise we would compile without prototypes or
	break miserably

	* app/gui/plug-in-menus.c : replace LOCALEDIR with
	gimp_locale_directory ()

	* app/gui/preferences-dialog.c (prefs_notebook_append_page) :
	only try to gdk_pixbuf_new_from_file() with a valid filename.
	It should simply return NULL otherwise, but fails if the
	filename is an empty string.

	* app/paint-funcs/makefile.msc : add -FImsvc_recommended_pragmas.h

	* app/widgets/gimpcolormapeditor.c : the 'row'
	allocated needs to be 'xn * cellsize * 2' (to avoid
	accessing unowned memory) not only width, which has
	become allocation.width by someone commenting out
	the correct size calculation

	* app/widgets/gimpdialogfactory.c : varargs to macros
	are GCCism or at least non standard. #define DEBUG
	to g_print or nothing - without arguments - does fix
	it somewhat dirty as the compiler needs to tolerate
	the '(blah, foo, bar);' statement than

	* app/widgets/makefile.msc : updated

	* app/xcf/makefile.msc : add -FImsvc_recommended_pragmas.h

	* etc/gimprc.win32 : use ';' to separate theme-path

	* libgimpbase/gimpenv.c : #include <stdio.h>
	for sprintf()

	* app/widgets/gimpdnd.c (gimp_dnd_set_file_data) :
	the passed in vals chunk is not always null-terminated
	(at least not on win32). Use the length parameter too
	to avoid reading junk filenames.

	* libgimp/gimp.def : export gimp_image_get_name()

	* libgimpbase/gimpbase.def : export gimp_locale_directory()
	* libgimpbase/gimpenv.[ch] : added gimp_locale_directory ()

	* libgimpbase/makefile.msc : define DATADIR and SYSCONFDIR
	to empty string to let gimp find its files in the common
	place (win32: relative to the top level gimp dir)

	* plug-ins/common/pixelize.c : <string.h>

	* plug-ins/flame/cmap.c : #include <glib.h> for g_random_int()

	* plug-ins/makefile.msc : -FImsvc_recommended_pragams.h
	and a little hack to give imagemap the prototypes it
	desires without changing the lexed source

	* themes/Default/images/makefile.msc : now added (see below)

	* themes/Default/images/stock-button-reset.png : made it binary
2002-05-10 23:30:09 +00:00
Michael Natterer 666b72e501 EEK, actually increase gimp->next_display_ID after taking a value.
2002-05-10  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplay.c: EEK, actually increase
	gimp->next_display_ID after taking a value.
2002-05-10 18:27:51 +00:00
Michael Natterer 39a660baf8 invalidate all layer and channel previews after loading an image. Fixes
2002-05-10  Michael Natterer  <mitch@gimp.org>

	* app/file/file-open.c (file_open_image): invalidate all layer and
	channel previews after loading an image. Fixes previews containing
	garbage after image loading (also fixes thumbnail generation).
2002-05-10 15:26:12 +00:00
Sven Neumann 02b00c61cf initialize a variable to please the compiler.
2002-05-10  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/image.pdb: initialize a variable to please the
	compiler.

	* app/pdb/image_cmds.c: regenerated.
2002-05-10 14:55:21 +00:00
Michael Natterer b521746d29 We can always create GimpPreviews for any GtkIconSize, but not vice versa.
2002-05-10  Michael Natterer  <mitch@gimp.org>

	We can always create GimpPreviews for any GtkIconSize, but
	not vice versa. therefore:

	* app/widgets/gimpdockable.[ch]: changed the "gint size" parameter
	used for tab sizes to "GtkIconSize size" all over the place. Added
	"stock_id" in addition to "name" and "short_name".

	* app/widgets/gimpdockbook.c
	* app/widgets/gimpimagedock.c: use GtkIconSize instead of integer
	preview sizes for all widget style properties. Renamed them from
	"blah_height" to "blah_size" because "height" is an implementation
	detail.

	* app/gui/dialogs-constructors.c: changed calls to
	gimp_dockable_new() and all *_tab_func()s accordingly. Removed
	the hack for the navigation tab and added a general tab_func
	which returns a hbox with an icon & label.

	* app/gui/menus.c: made the dialog menus found under <Toolbox>,
	<Image> and <Dialogs> more consistent and added more stock icons.

	* etc/gtkrc_user
	* themes/Default/gtkrc: changed accordingly.
2002-05-10 14:50:27 +00:00
Sven Neumann dd7f30161c app/gui/user-install-dialog.c use stock pixbufs instead of xpm pixmaps.
2002-05-10  Sven Neumann  <sven@gimp.org>

	* app/gui/user-install-dialog.c
	* plug-ins/common/gtm.c: use stock pixbufs instead of xpm pixmaps.

	* pixmaps/Makefile.am
	* pixmaps/eek.xpm
	* pixmaps/folder.xpm
	* pixmaps/wilber.xpm: removed now unused pixmaps.
2002-05-10 14:02:28 +00:00
Michael Natterer 359990db33 added a read-only property for the display's image, so it can be retreived
2002-05-10  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplay.c: added a read-only property for the
	display's image, so it can be retreived by the core, which
	treats displays as simple GimpObjects.

	* app/core/gimpcontext.c: made context->display an object
	property, not just gpointer. Connect to the "remove" signal of
	gimp->displays to get notified of disappearing displays. Removed
	the EEKWrapper and get the display's gimage with g_object_get().

	* app/widgets/gimpimagedock.[ch]: added image_dock->display_container
	and require it being passed in the constructor. Do voodoo things
	in the "image_changed" and "display_changed" callbacks to ensure
	that the dock doesn't end up with no display even if the active
	image has one. Added a style property for the image menu's preview
	size.

	* app/gui/dialogs-commands.c (dialogs_menu_update): set the
	"View as List" and "View as Grid" items insensitive if the
	other view type doesn't exist. Hide them if the view cannot
	be classified as "list" or "grid" at all. Also hide the
	"Preview Size" submenu if it's pointless for the view.

	* app/gui/dialogs-constructors.c: added a special tab for the
	navigation dialog. Will propbaby add dockable->stock_id to
	generalize this kind of tab. Pass gimp->displays to
	gimp_image_dock_new().

	* app/gui/menus.c: reordered the "<Dialogs>" factory entries,
	added more stock icons, cleanup.

	* etc/gtkrc_user
	* themes/Default/gtkrc: document usage of GimpImageDock's
	"menu_preview_height" property.
2002-05-10 13:09:19 +00:00
Michael Natterer f4ce6a9ee3 pack the preview's alignment into the inner frame, not around it, so it
2002-05-10  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpnavigationview.c: pack the preview's alignment
	into the inner frame, not around it, so it looks like the other
	dockables. Fixed popup window positioning. Tried to get rid of
	insane scale_label allocation computation but failed. Left the
	EEKy code there for further investigation.
2002-05-10 13:05:09 +00:00
Michael Natterer b12391e972 create the "Undo" and "Redo" buttons from stock items.
2002-05-10  Michael Natterer  <mitch@gimp.org>

	* app/undo_history.c: create the "Undo" and "Redo" buttons from
	stock items.

	* pixmaps/Makefile.am
	* pixmaps/lower.xpm
	* pixmaps/paste.xpm
	* pixmaps/raise.xpm: removed them because they are not used any more.
2002-05-10 12:53:38 +00:00
Michael Natterer 800bbb7e7e don't try to set the preview_size of plain GtkMenuItems.
2002-05-10  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainermenuimpl.c: don't try to set the
	preview_size of plain GtkMenuItems.

	* app/widgets/gimpdocumentview.c: fixed the "update" and
	"delete dangling" functionals. They got passed wrong user_data.

	* app/widgets/gimpitemfactory.c (gtk_item_factory_set_visible): if
	the widget found is a menu, get it's parent item and show/hide
	that.

	* app/widgets/gimppreview.c (gimp_preview_set_viewable): always
	clear preview->buffer so we don't display previews of vanished
	viewables.
2002-05-10 12:47:42 +00:00
Michael Natterer 54d9b7ca29 disabled debuggind output.
2002-05-10  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontainer.c: disabled debuggind output.

	* app/core/gimpdrawable.c (gimp_drawable_init): no need to
	initialize variables twice :)

	* app/widgets/gimpnavigationpreview.c: removed debugging output.
2002-05-10 12:38:41 +00:00
Nate Summers db98290bef stupid backhoe 2002-05-10 00:28:00 +00:00
Manish Singh 3e3fab4eed the correct switch is --disable-print, not --without-gimpprint. Fix not
2002-05-08  Manish Singh  <yosh@gimp.org>

        * configure.in: the correct switch is --disable-print, not
        --without-gimpprint. Fix not found error message, and add a pointer
        to the gimp-print homepage.
2002-05-08 21:27:15 +00:00
Sven Neumann 12c529f4ed call bind_textdomain_codeset() so that we get UTF-8 encoded translations
2002-05-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.c (run): call bind_textdomain_codeset() so
	that we get UTF-8 encoded translations from libgimpprint.
2002-05-08 17:52:45 +00:00
Michael Natterer a3bb0b0dad Started to get rid of the gdisplays_foo() functions in
2002-05-08  Michael Natterer  <mitch@gimp.org>

	Started to get rid of the gdisplays_foo() functions in
	app/display/gimpdisplay-foreach.[ch]. Work in progress...

	* app/core/gimp.[ch]: added the display list to the Gimp object
	(as a GimpList of GimpObjects). This way we get more independent
	from whether there is GUI or not, as gimp->displays will simply
	be an empty list for the --no-interface case.

	* app/display/gimpdisplay.[ch]: Removed the global "display_list"
	and "display_num" variables. Use gimp->displays instead.

	* app/display/gimpdisplay-foreach.[ch]: renamed most functions
	from gdisplays_foo() to gimp_displays_foo() and pass them a Gimp
	pointer.

	* app/core/gimpimage.[ch]: added a "flush" signal.

	* app/display/gimpdisplay-handlers.c: connect to "flush" and call
	gimp_display_flush() in the callback.

	* tools/pdbgen/pdb/display.pdb: use gimp_displays_flush(gimp)
	here and only here.

	* app/pdb/display_cmds.c: regenerated.

	* app/app_procs.c
	* app/gui/gui.c
	* app/gui/preferences-dialog.c:
	s/gdislays_foo()/gimp_displays_foo(gimp)/

	* app/image_map.c
	* app/undo_history.c
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-dnd.c
	* app/display/gimpdisplayshell-layer-select.c
	* app/display/gimpdisplayshell-scale.c
	* app/gui/channels-commands.c
	* app/gui/colormap-editor-commands.c
	* app/gui/convert-dialog.c
	* app/gui/drawable-commands.c
	* app/gui/edit-commands.c
	* app/gui/file-commands.c
	* app/gui/image-commands.c
	* app/gui/layers-commands.c
	* app/gui/offset-dialog.c
	* app/gui/qmask-commands.c
	* app/gui/select-commands.c
	* app/gui/vectors-commands.c
	* app/paint/gimpairbrush.c
	* app/tools/gimpbezierselecttool.c
	* app/tools/gimpblendtool.c
	* app/tools/gimpbrightnesscontrasttool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimpcurvestool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimpinktool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimplevelstool.c
	* app/tools/gimpmeasuretool.c
	* app/tools/gimpmovetool.c
	* app/tools/gimppainttool.c
	* app/tools/gimpposterizetool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimptexttool.c
	* app/tools/gimpthresholdtool.c
	* app/tools/gimptransformtool.c
	* app/tools/gimpvectortool.c
	* app/widgets/gimpbufferview.c
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpdrawablelistitem.c
	* app/widgets/gimpdrawablelistview.c
	* app/widgets/gimpimageview.c
	* app/widgets/gimpitemlistitem.c
	* app/widgets/gimpitemlistview.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimplayerlistview.c
	* app/widgets/gimpvectorslistview.c: replaced gdisplays_flush()
	with calls to gimp_image_flush(gimage). Removed inclusion of
	"display/gimpdisplay-foreach.h" from most files.
2002-05-08 17:48:24 +00:00
Sven Neumann afdb263b4b plug-ins/print/gimp_color_window.c a couple of cleanups and fixes. This
2002-05-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/gimp_color_window.c
	* plug-ins/print/gimp_main_window.c: a couple of cleanups and fixes.
	This code relies heavily on GTK+ implementation details and thus
	tends to work differently or even crash on GTK+-2.0 :-(
2002-05-08 12:57:58 +00:00
Michael Natterer ff722d0cff removed unused commented out prototype.
2002-05-08  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp.h: removed unused commented out prototype.

	* app/core/gimpimage.c (gimp_image_set_tattoo_state): fixed it
	again after I have b0rked it when using vectors instead of paths.

	* app/display/gimpdisplay.c: some comments and one more
	g_return_val_if_fail().

	* app/widgets/gimpimagedock.c: more fixes for the subtle
	active_image <-> active_display difference.

	* tools/pdbgen/pdb/display.pdb (gimp_display_delete): call
	gimp_display_delete() instead of just destroying it's shell (eek).

	* app/pdb/display_cmds.c: regenerated.

	Added a special view type for the image list so we can implement
	stuff like deleting images which are left over from crashed
	plug-ins:

	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h
	* app/widgets/gimpimageview.[ch]: new widget: a view on the image
	container.

	* app/gui/Makefile.am
	* app/gui/images-commands.[ch]: new callbacks for it's context menu.

	* app/gui/dialogs-constructors.c: use the new widget instead of
	plain GimpContainerViews.

	* app/gui/menus.c: added an item_factory for it.
2002-05-08 12:39:01 +00:00
Sven Neumann e1b20e1c14 applied a patch from Maurits Rijk that enables mnemonics (bug #80804).
2002-05-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.c (gimp_scale_entry_new)
	(gimp_table_attach_aligned): applied a patch from Maurits Rijk that
	enables mnemonics (bug #80804).

	* plug-ins/common/apply_lens.c
	* plug-ins/common/glasstile.c: applied a patch from Maurits Rijk that
	adds mnemonics (bug #80804).

	* plug-ins/common/animationplay.c
	* plug-ins/common/decompose.c
	* plug-ins/common/film.c
	* plug-ins/common/gee.c
	* plug-ins/common/gee_zoom.c
	* plug-ins/common/guillotine.c
	* plug-ins/common/winprint.c
	* plug-ins/gap/gap_lib.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_settings.c
	* plug-ins/print/gimp_main_window.c
	* plug-ins/print/print.c
	* plug-ins/print/print_gimp.h: use new function gimp_image_get_name()
	where applicable.
2002-05-08 00:30:26 +00:00
Manish Singh 182eb5170c added image_get_name. Also, no longer duplicate the string in
2002-05-07  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/pdb/image.pdb: added image_get_name. Also, no longer
        duplicate the string in image_get_filename, since
        gimp_image_get_filename() returns a caller freed string now.

        * app/pdb/image_cmds.c
        * app/pdb/internal_procs.c
        * libgimp/gimpimage_pdb.[ch]: regenerated
2002-05-07 22:35:29 +00:00
Michael Natterer b6c56ff9ac app/Makefile.am removed.
2002-05-07  Michael Natterer  <mitch@gimp.org>

	* app/Makefile.am
	* app/nav_window.[ch]: removed.

	* app/display/Makefile.am
	* app/display/display-types.h
	* app/display/gimpnavigationview.[ch]: new widget partially based
	on the removed nav_window.

	* libgimpproxy/gimpproxytypes.h: regnenerated.

	* app/display/gimpdisplay-foreach.[ch]: removed
	gdisplays_nav_preview_resized(). The new config system will allow
	us to get notified of changes.

	* app/display/gimpdisplayshell.[ch]: added "scaled" and "scrolled"
	signals.

	* app/display/gimpdisplayshell-scale.c
	* app/display/gimpdisplayshell-scroll.c: emit "scaled" and
	"scrolled" appropriately. Removed nav_window stuff.

	* app/display/gimpdisplay.c
	* app/display/gimpdisplayshell-callbacks.c: changed accordingly.

	* app/gui/dialogs-constructors.[ch]
	* app/gui/dialogs.c
	* app/gui/menus.c: made the navigation dialog dockable.

	* app/gui/view-commands.c: changed the nav_dialog callback accordingly.

	* app/gui/preferences-dialog.c
	* app/gimprc.[ch]
	* app/config/gimpguiconfig.[ch]: removed "nav_window_per_display"
	as it's now a dockable and it's state is saved in sessionrc.

	* app/widgets/gimpnavigationpreview.[ch]: added context sensitive
	mouse cursors.

	* app/widgets/gimpimagedock.c: made it capable of holding
	display-related dialogs (like GimpNavigationView) by connecting
	to the context's "display_changed" signal.

	* app/widgets/widgets-types.h: removed inclusion of
	"display/display-types.h".

	* app/widgets/gimpbufferview.c
	* app/widgets/gimpchannellistview.c
	* app/widgets/gimpcolormapeditor.c
	* app/widgets/gimpcomponentlistitem.c
	* app/widgets/gimpdocumentview.c
	* app/widgets/gimpdrawablelistitem.c
	* app/widgets/gimpdrawablelistview.c
	* app/widgets/gimpitemlistitem.c
	* app/widgets/gimpitemlistview.c
	* app/widgets/gimplayerlistitem.c
	* app/widgets/gimplayerlistview.c
	* app/widgets/gimppreview.c
	* app/widgets/gimpvectorslistview.c: warn about inclusion of
	"display/display-types.h".
2002-05-07 16:23:14 +00:00
Sven Neumann 8b53758d0b Moved slovenian translation to the stable branch where they should have
2002-05-07  Sven Neumann  <sven@gimp.org>

	Moved slovenian translation to the stable branch where they should
	have been added in the first place.

	* configure.in: removed sl from LINGUAS.

	* gimp.spec.in: updated a bit, still broken.
2002-05-07 14:51:31 +00:00
Sven Neumann c4017ee9ff file sl.po was initially added on branch gimp-1-2. 2002-05-07 14:44:22 +00:00
Andraz Tori bdd97c53be Added sl translation 2002-05-07 12:25:38 +00:00
Andraz Tori 7e4b05e35b added slovenian translation 2002-05-07 12:24:21 +00:00