1. 25 May, 2003 2 commits
    • Michael Natterer's avatar
      changed again to take no paramaters and use _gimp_standard_help_func from · ac2b6c87
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.[ch] (_gimp_help_init): changed again
      	to take no paramaters and use _gimp_standard_help_func from
      	gimpwidgets-private.
      
      	* libgimpwidgets/gimpwidgets-private.[ch]: removed the palette
      	functions from GimpWidgetVTable. Instead, pass them as
      	GimpGetColorFunc to gimp_widgets_init() and make them available as
      	_gimp_get_foreground_func and _gimp_get_background_func.
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimp/gimpui.c: changed accordingly.
      
      	* app/libgimp_glue.[ch]: removed the palette functions.
      
      	* app/gui/gui.c: added gui_get_foreground_func() and
      	gui_get_background_func() and pass them to gimp_widgets_init().
      ac2b6c87
    • Michael Natterer's avatar
      added a GimpHelpFunc parameter to _gimp_help_init(). Implement · 253ed709
      Michael Natterer authored
      2003-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.[ch]: added a GimpHelpFunc parameter to
      	_gimp_help_init(). Implement gimp_standard_help_func() here and
      	use the function pointer passed to _gimp_help_init().
      
      	* libgimpwidgets/gimpwidgets-private.[ch]: removed
      	standard_help_func from GimpWidgetsVTable. Require it as paramater
      	to gimp_widgets_init() and pass it to _gimp_help_init().
      
      	* libgimpwidgets/gimpunitmenu.c: use gimp_standard_help_func
      	directly again.
      
      	* app/libgimp_glue.[ch]: removed gimp_standard_help_func().
      
      	* libgimp/Makefile.am
      	* libgimp/gimphelp.c: removed this file (containing
      	gimp_standard_help_func()).
      
      	* app/gui/gui.c: added private gimp_help_func() and pass it to
      	gimp_widgets_init().
      
      	* libgimp/gimpui.c: added private gimp_ui_help_func() and pass it
      	to gimp_widgets_init().
      253ed709
  2. 23 May, 2003 1 commit
    • Sven Neumann's avatar
      libgimpwidgets/Makefile.am new files. Moved gimp_widgets_init() here and · 62dffea6
      Sven Neumann authored
      2003-05-23  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets-private.[ch]: new files. Moved
      	gimp_widgets_init() here and added a vtable parameter. The vtable
      	has entries for all the symbols that are either provided by libgimp
      	or gimp itself depending on who is using the library.
      
      	* libgimpwidgets/libgimp-glue.c: removed this file that uses to
      	provide a Win32 only hack that is now not needed any longer.
      
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.[ch]: don't call the offending
      	functions directly, but use the vtable entries. This is ugly but
      	the ugliness is restricted to our code. There are plans to clean
      	this up further... (Fixes #113410 once more.)
      
      	* app/gui/gui.c (gui_libs_init)
      	* libgimp/gimpui.c (gimp_ui_init): initialize libgimpwidgets with
      	the proper vtable.
      62dffea6
  3. 06 Feb, 2003 1 commit
    • Sven Neumann's avatar
      libgimp/gimpui.c libgimp/gimpunit.c libgimpbase/gimpenv.c · d26c1ce5
      Sven Neumann authored
      2003-02-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpui.c
      	* libgimp/gimpunit.c
      	* libgimpbase/gimpenv.c
      	* libgimpmodule/gimpmodule.c
      	* libgimpmodule/gimpmoduledb.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpdialog.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c: documentation fixes / improvements.
      d26c1ce5
  4. 07 Jan, 2003 1 commit
    • Michael Natterer's avatar
      removed gimp_help_init() and gimp_help_free(). Added _gimp_help_init() · bbc13c51
      Michael Natterer authored
      2003-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimphelpui.[ch]: removed gimp_help_init() and
      	gimp_help_free(). Added _gimp_help_init() instead.
      
      	* libgimpwidgets/gimpwidgets.def: changed accordingly.
      
      	* libgimpwidgets/gimpwidgets.c (gimp_widgets_init): call
      	_gimp_help_init() so it doesn't need to be done in all plug-ins
      	manually.
      
      	* libgimp/gimpcompat.h: added gimp_help_init() and gimp_help_free()
      	here as COMPAT_CRUFT.
      
      	* app/gui/gui.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/gtm.c
      	* plug-ins/common/illusion.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/plasma.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/randomize.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/snoise.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/wind.c
      	* plug-ins/gap/gap_arr_dialog.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/maze/maze_face.c
      	* plug-ins/print/gimp_main_window.c
      	* plug-ins/sel2path/sel2path.c: removed the calls to
      	gimp_help_init() and gimp_help_free().
      
      	Fixed bug #81017:
      
      	* libgimpbase/gimpprotocol.[ch]: added "guint8 show_tool_tips"
      	to the GPConfig message. Increased the protocol version number.
      
      	* app/plug-in/plug-in.c: pass the value of gui_config->show_tool_tips.
      
      	* libgimp/gimp.[ch]: added gimp_show_tool_tips() to get the value
      	which was passed in the GPConfig message.
      
      	* libgimp/gimpui.c (gimp_ui_init): disable the tooltips
      	if show_tool_tips is FALSE.
      
      	* plug-ins/MapObject/mapobject_main.[ch]
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gfig/gfig.c: removed all plug-in specific GUI for
      	enabling/disabling tooltips.
      bbc13c51
  5. 13 May, 2002 1 commit
    • Sven Neumann's avatar
      removed FINITE() macro. · fe0bf162
      Sven Neumann authored
      2002-05-13  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/gimpmath.h: removed FINITE() macro.
      
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c: define FINITE() here, where it is used.
      
      	* tools/pdbgen/pdb/lib.pl: add "config.h" to all generated libgimp
      	.c files.
      
      	* libgimp/gimp*_pdb.c: regenerated.
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpchannel.c
      	* libgimp/gimpdrawable.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimphelp.c
      	* libgimp/gimpimage.c
      	* libgimp/gimplayer.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimppixelrgn.c
      	* libgimp/gimpproceduraldb.c
      	* libgimp/gimpselection.c
      	* libgimp/gimptile.c
      	* libgimp/gimpui.c
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpvector.c
      	* plug-ins/MapObject/arcball.c
      	* plug-ins/fp/fp_gdk.c
      	* plug-ins/fp/fp_misc.c
      	* plug-ins/ifscompose/ifscompose_storage.c
      	* plug-ins/ifscompose/ifscompose_utils.c
      	* plug-ins/maze/handy.c
      	* plug-ins/rcm/rcm_gdk.c
      	* plug-ins/sel2path/edge.c
      	* plug-ins/xjt/xjpeg.c
      	* plug-ins/xjt/xpdb_calls.c: include "config.h".
      fe0bf162
  6. 28 Nov, 2001 1 commit
    • Michael Natterer's avatar
      themes/Default/images/Makefile.am · e9c3bb45
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-wilber-16x16.png
      	* themes/Default/images/stock-wilber-32x32.png
      	* themes/Default/images/stock-wilber-48x48.png
      	* themes/Default/images/stock-wilber-64x64.png: new files.
      
      	* themes/Default/Makefile.am: create gimp-wilber-pixbufs.h
      
      	* libgimpwidgets/gimpdialog.[ch]: removed gimp_dialog_set_icon().
      
      	* libgimpwidgets/gimpwidgets.[ch]: added gimp_widgets_init() which
      	calls gimp_stock_init() and calls gtk_window_set_default_icon_list()
      	with the above set of inlined pixbufs.
      
      	* libgimp/gimpui.c
      	* app/gui/gui.c: call gimp_widgets_init().
      
      	* app/display/gimpdisplayshell.c: removed the fallback icon stuff.
      
      	* app/gui/splash.c
      	* app/gui/user-install-dialog.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpitemfactory.c
      	* libgimpwidgets/gimphelpui.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: don't call gimp_dialog_set_icon().
      
      	* plug-ins/common/uniteditor.c: wanted to start hacking here...
      	Nothing really changed.
      e9c3bb45
  7. 19 Sep, 2001 1 commit
    • Sven Neumann's avatar
      require GTK+-1.3.8 and PangoFT2-0.19. · 334911e2
      Sven Neumann authored
      2001-09-19  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: require GTK+-1.3.8 and PangoFT2-0.19.
      
      	* app/devices.c:
      	* app/tools/gimppainttool.c: removed intermediate hacks that are no
      	longer needed with the new GTK+ release.
      
      	* app/plug_in.c
      	* libgimp/gimp.[ch]
      	* libgimp/gimpui.c
      	* libgimpbase/gimpprotocol.[ch]: removed use_xshm and color_cube
      	variables and accessor functions.
      
      	* app/errors.c: use gtk_exit() instead of gdk_exit().
      
      	* app/gdisplay.c: use Pango API to determine cursor label width. This
      	does not work correctly, but at least it compiles...
      
      	* app/gui/splash.c: follow Pango API changes.
      
      	* app/tools/gimpcurvestool.[ch]: use PangoLayouts to draw text.
      
      	* app/tools/gimptexttool.c: follow Pango API changes.
      
      	* app/widgets/gimpfontselection-dialog.c
      	* app/widgets/gimpfontselection.c: mostly rewritten following the
      	changes in GtkFontSelection. This is unusable at the moment and
      	crashes, but at least it compiles again...
      
      	* plug-ins/Makefile.am: temporarily disabled build of ifscompose since
      	it does not compile any longer after the latest GDK cleanups.
      
      	* plug-ins/common/nlfilt.c: gimp_color_cube() is obsolete.
      334911e2
  8. 30 Aug, 2001 1 commit
    • Michael Natterer's avatar
      app/plug_in.c libgimpbase/gimpwire.c removed GIOChannel · 51f99c32
      Michael Natterer authored
      2001-08-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug_in.c
      	* libgimpbase/gimpwire.c
      	* libgimp/gimp.c: removed GIOChannel "channel->funcs->io_foo()"
      	hacks and use plain g_io_channel_[read|write]_chars(). An
      	additional g_io_channel_set_buffered (channel, FALSE); is needed
      	to make the channels work in binary mode. Fixed misc other stuff
      	in the GIOChannel code.
      
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpdialogfactory.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimp/gimpui.c: replaced some deprecated GDK functions.
      
      	* app/gui/palette-editor.c: block the color_name entry's "changed"
      	signal while setting it. Fixes invalid UTF-8 warnings.
      51f99c32
  9. 04 Aug, 2001 1 commit
    • Michael Natterer's avatar
      build pixmaps/ before libgimpwidgets/. · e4ed0990
      Michael Natterer authored
      2001-08-04  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am: build pixmaps/ before libgimpwidgets/.
      
      	* pixmaps/.cvsignore
      	* pixmaps/Makefile.am: build gimp-stock-pixbufs.h using
      	gdk-pixbuf-csource from some of our XPMs.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpstock.[ch]: new files featuring
      	gimp_stock_init(). Register a default GtkIconFactory and a set of
      	stock buttons.
      
      	* app/gui/gui.[ch]: new function gui_libs_init(). Call
      	gimp_stock_init() from it.
      
      	* app/app_procs.c: call new function gui_libs_init().
      
      	* libgimp/gimpui.c: call gimp_stock_init().
      
      	* app/devices.c: removed action_area hacks as we can configure it
      	via style properties now.
      
      	* app/gui/menus.c: use <StockItem> for some menu entries.
      	Looks nifty :-)
      
      	* app/widgets/gimpcontainereditor.[ch]: take a "stock_id"
      	parameter in gimp_container_editor_add_button(), not a EEKy
      	pxm_data pointer.
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpdatafactoryview.c: changed accordingly.
      
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpdrawablelistview.c: removed ugly tooltips
      	formating hacks since gtk2 does it right now.
      
      	* app/widgets/gimpdockbook.c: re-enabled a line that was commented
      	out for some reason...?
      
      	* app/errorconsole.c
      	* app/gui/file-new-dialog.c
      	* app/gui/tool-options-dialog.c
      	* plug-ins/common/uniteditor.c: use the new GIMP_STOCK_FOO id's.
      
      	* libgimpwidgets/gimpquerybox.c: fixed auto-hiding by connection
      	to a passed object's signal.
      e4ed0990
  10. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  11. 18 Nov, 2000 1 commit
    • Michael Natterer's avatar
      app/fileops.c Make sure that we don't try to destroy query_boxes twice or · cdd0a514
      Michael Natterer authored
      2000-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/fileops.c
      	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
      	query_boxes twice or try to disconnect not-any-more connected
      	handlers.
      
      	* app/color_notebook.c
      	* app/gimpcontext.[ch]
      	* app/gimphelp.[ch]
      	* app/lc_dialog.[ch]
      	* app/menus.h
      	* app/preferences_dialog.c
      	* app/tools.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpexport.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpui.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
      	and many other strings passed to UI functions to (const gchar *).
      	As a consequence, I had to fix lots of warnings ;)
      
      	* plug-ins/common/tga.c
      	* plug-ins/imagemap/imap_main.c: fixed warnings.
      
      	Code cleanup and indentation all over the place.
      cdd0a514
  12. 07 Nov, 2000 1 commit
    • Michael Natterer's avatar
      Makefile.am gimp.spec.in user_install new file gtkrc_user which gets · 312c6800
      Michael Natterer authored
      2000-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* gimp.spec.in
      	* user_install
      	* gtkrc_user: new file gtkrc_user which gets installed as
      	~/.gimp-1-1/gtkrc (We used to parse the same file twice if the
      	user didn't the change user-specific gtkrc. The new file has
      	comments only).
      
      	* app/app_procs.c: g_free() the user gtkrc filename after use.
      
      	* libgimp/gimpui.c: parse the user gtkrc here too.
      312c6800
  13. 01 May, 2000 1 commit
    • Michael Natterer's avatar
      libgimp/gimpsignal.[ch] don't panic, this is not another signal handling · 6ba24da2
      Michael Natterer authored
      2000-05-01  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpsignal.[ch]
      	* libgimp/gimpui.c: don't panic, this is not another signal handling
      	change but only a namespace cleanup to make the html documentation
      	better. Also added documentation for gimp_ui_init().
      
      2000-05-01  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-decl.txt
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimp.sgml
      	* libgimp/tmpl/gimpsignal.sgml
      	* libgimp/tmpl/gimpui.sgml
      	* libgimp/tmpl/libgimp-unused.sgml: updated.
      6ba24da2
  14. 30 Apr, 2000 1 commit
    • Michael Natterer's avatar
      gimprc.in replaced "color-cube" by "min-colors". · ef751a45
      Michael Natterer authored
      2000-04-30  Michael Natterer  <mitch@gimp.org>
      
      	* gimprc.in
      	* app/gimprc.[ch]: replaced "color-cube" by "min-colors".
      
      	* app/app_procs.c: read unitrc/gimprc before displaying the splash.
      
      	* app/colormaps.c: set min_colors and install_cmap before
      	initializing GdkRGB.
      
      	* app/gimprc.[ch]
      	* app/gimpunit.c: don't call the splash's progress_update function.
      
      	* app/plug_in.c: pass min_colors instead of color_cube to plugins.
      
      	* app/preferences_dialog.c: widget for min_colors.
      
      	* libgimp/gimp.[ch]: s/color_cube/min_colors/ but left
      	gimp_color_cube() there for source level compatibility.
      
      	* libgimp/gimpprotocol.[ch]: changed the GPConfig message
      	accordinly and increased the gimp protocol version number because
      	the change breaks binary compatibility. Also actually pass the
      	use_xshm variable over the wire (was only in the GPConfig struct
      	before).
      
      	Was it the right thing to do to increase the version number??
      
      	* libgimp/gimpui.c (gimp_ui_init): use the same code as the app
      	for initializing GdkRGB. Never explicitly activate Gdk's SHM
      	usage (only switch it off).
      
      	* app/main.c
      	* libgimp/gimp.c: reverted the handling of all signals except
      	SIGCHLD back to plain old signal() because those signals are
      	fatal anyway and sigaction() as used by gimp_signal_*() made
      	debugging (stacktrace) impossible.
      
      	* plug-ins/AlienMap/AlienMap.c
      	* plug-ins/AlienMap2/AlienMap2.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/bmp/bmp.c
      	* plug-ins/borderaverage/borderaverage.c
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/gdyntext/Makefile.am
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/imagemap/Makefile.am
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/maze/maze_face.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/print.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/sel2path/Makefile.am
      	* plug-ins/sel2path/sel2path.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/sinus/sinus.c
      	* plug-ins/struc/struc.c
      	* plug-ins/webbrowser/webbrowser.c
      	* plug-ins/winsnap/winsnap.c
      	* plug-ins/xjt/xjt.c: use gimp_ui_init().
      
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c: only switch Gdk SHM usage off,
      	never on. Don't use gimp_ui_init() here because of libgck.
      ef751a45
  15. 19 Apr, 2000 1 commit
    • Michael Natterer's avatar
      app/bucket_fill.c app/by_color_select.c app/fuzzy_select.c made the · 236e4856
      Michael Natterer authored
      2000-04-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/fuzzy_select.c
      	* app/preferences_dialog.c: made the "default_threshold" gimprc
      	variable work as advertized:
      
      	- initialize the thresholds with it.
      	- use it for "Reset".
      	- added a widget to the "Tool Options" preferences page.
      	- noticed that the "Reset" button of "By Color Select" doesn't
      	  behave like all the other "Reset" buttons and changed it to
      	  reset the ui, not the selection.
      	  (There is now a "None" button and because it was so trivial, I
      	  couldn't resist to add "All" and "Invert" buttons, too)
      
      	* libgimp/Makefile.am
      	* libgimp/gimpui.c: new file.
      	* libgimp/gimpui.h: new function gimp_ui_init() which will be
      	called by all plugins which have a ui (not only by those with a
      	preview because plugins should always follow gimp's colormap
      	installation policy).
      
      	Could someone please check if the FIXME stuff in the function
      	is the right thing to do (TM). Does GdkRGB allocate the correct
      	colors for the widgets in all cases or do we have to find another
      	way to ensure this across processes (gtk instances)?
      236e4856