1. 09 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Added parent window API to the GimpProgress interface and to the libgimp · b10adabb
      Michael Natterer authored
      2005-09-09  Michael Natterer  <mitch@gimp.org>
      	Added parent window API to the GimpProgress interface and to
      	the libgimp progress stuff. Might look strange, but does
      	the right thing in almost all cases (image window, file dialog,
      	script-fu dialog etc). Fixes bug #62988.
      	* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
      	which should return a toplevel window ID if the progress is in a
      	window that wants to be the transient parent of plug-in dialogs.
      	* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
      	function which returns the window handle of a GtkWindow's GdkWindow.
      	* app/widgets/gimpfiledialog.c: implement ::get_window().
      	* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.
      	* app/gui/gui-vtable.c: changed accordingly.
      	* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
      	* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
      	new function. Also renamed some functions to match the
      	GimpProgress interface, and not the legacy PDB procedure names.
      	* tools/pdbgen/pdb/progress.pdb
      	* app/core/gimppdbprogress.c: implement get_window() on both
      	sides of the wire, keeping backward compatibility (hopefully).
      	* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
      	and added gimp_progress_install_vtable() which takes a vtable with
      	padding to be extensible. Added get_window() vtable entry and
      	dispatch it accordingly. Also added pulse() which was implemented
      	in a hackish way before. Everything is of course backward
      	* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
      	so a plug-in dialog containing a progress can be the transient
      	parent of another dialog in another plug-in.
      	* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
      	which returns a foreign GdkWindow of this plug-ins progress
      	Renamed gimp_window_set_transient_for_default_display() to
      	gimp_window_set_transient() and make it use the progress' window
      	handle instead of the display's (which is the right thing to do in
      	almost all cases).
      	* libgimp/gimp.def
      	* libgimp/gimpui.def: add the new functions.
      	* tools/pdbgen/enums.pl
      	* app/pdb/internal_procs.c
      	* app/pdb/progress_cmds.c
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      	* libgimp/gimpexport.c
      	* plug-ins/*/*.c: follow API change.
  2. 05 Sep, 2005 1 commit
    • Sven Neumann's avatar
      Address bug #307971: · ec56ef9d
      Sven Neumann authored
      2005-09-05  Sven Neumann  <sven@gimp.org>
      	Address bug #307971:
      	* app/core/gimp-gui.[ch]
      	* app/display/gimpdisplay.[ch]
      	* app/gui/gui-vtable.c
      	* tools/pdbgen/pdb/display.pdb: added PDB function to obtain a
      	window handle on an image display.
      	* app/pdb/display_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpdisplay_pdb.[ch]: regenerated.
      	* libgimp/gimpui.[ch]: added functions to set a GtkWindow transient
      	to an image display.
      	* plug-ins/common/gauss.c: use the new function exemplarily.
      	* libgimp/gimp.def
      	* libgimp/gimpui.def: updated.
  3. 20 Apr, 2005 1 commit
    • Sven Neumann's avatar
      cosmetics. · 9c376b38
      Sven Neumann authored
      2005-04-20  Sven Neumann  <sven@gimp.org>
      	* libgimp/gimpui.c (gimp_ensure_modules): cosmetics.
  4. 04 Oct, 2004 1 commit
    • Sven Neumann's avatar
      app/config/gimpguiconfig.[ch] added gimprc option "show-help-button". · 62b5c77c
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
              * app/config/gimpguiconfig.[ch]
              * app/config/gimprc-blurbs.h: added gimprc option "show-help-button".
              * app/dialogs/preferences-dialog.c: added a GUI for it.
              * app/dialogs/file-save-dialog.c
              * app/dialogs/image-new-dialog.c
              * app/dialogs/quit-dialog.c
              * app/display/gimpdisplayshell-close.c
              * app/widgets/gimphelp-ids.h: don't set help-ids on confirmation
              * libgimpbase/gimpprotocol.[ch]
              * libgimp/gimp.[ch]: added boolean "show_help_button" to the
              config message.
              * app/plug-in/plug-in-run.c: pass the new preference to the plug-in.
              * libgimpwidgets/gimpdialog.[ch]: added new function that allows to
              set whether new dialogs should get a help button added.
              * app/gui/gui.c
              * libgimp/gimpui.c: call gimp_dialogs_show_help_button() according
              to the gimprc settings.
  5. 22 Sep, 2004 1 commit
    • Michael Natterer's avatar
      tools/pdbgen/Makefile.am tools/pdbgen/groups.pl removed the "Palette" pdb · 35b372ea
      Michael Natterer authored
      2004-09-22  Michael Natterer  <mitch@gimp.org>
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/palette.pdb: removed the "Palette" pdb group...
      	* tools/pdbgen/pdb/context.pdb: and added its functions to the
      	"Context" namespace instead.
      	* app/pdb/Makefile.am
      	* app/pdb/palette_cmds.c: removed.
      	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.
      	* libgimp/Makefile.am
      	* libgimp/gimppalette_pdb.[ch]: removed.
      	* libgimp/gimppalette.[ch]: new files holding compat functions
      	which call gimp_context_*() functions.
      	* libgimp/gimp.h
      	* libgimp/gimpui.c: changed accordingly.
      	* app/pdb/context_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpcontext_pdb.[ch]: regenerated.
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/mosaic.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/png.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/semiflatten.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gfig/gfig-style.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/maze/handy.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/pygimp/gimpmodule.c
      	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
  6. 17 Feb, 2004 1 commit
    • Sven Neumann's avatar
      changed wm_name to app_name in the GimpConfig struct; increased · 3fb6adbc
      Sven Neumann authored
      2004-02-17  Sven Neumann  <sven@gimp.org>
      	* libgimpbase/gimpprotocol.[ch]: changed wm_name to app_name in
      	the GimpConfig struct; increased GIMP_PROTOCOL_VERSION.
      	* app/plug-in/plug-in-run.c (plug_in_run): pass the return value
      	of g_get_application_name() to the plug-ins.
      	* libgimp/gimp.[ch]: removed function gimp_wm_name(). Set the
      	plug-in's application name if an app_name is passed in the config
      	* libgimp/gimpui.c: removed usage of gimp_wm_name(); it was wrong
      	to do it this way and caused all plug-ins claim to be the gimp-1.3
      	executable in their error messages.
      	* libgimp/gimp.def: removed symbol gimp_wm_name.
      	* configure.in: reset gimp_binary_age and gimp_interface_age.
      	* app/core/gimpimage.c (gimp_image_name_changed): removed unused
  7. 20 Jan, 2004 1 commit
    • Michael Natterer's avatar
      changed "prog_name" parameter of gimp_help() to "help_domain". It's · ebcb621c
      Michael Natterer authored
      2004-01-20  Michael Natterer  <mitch@gimp.org>
      	* tools/pdbgen/pdb/help.pdb: changed "prog_name" parameter of
      	gimp_help() to "help_domain". It's useless to pass the plug-in's
      	executable name to the core because the core already knows it.
      	Instead, enabled accessing arbitrary help domains via the
      	PDB. Passing NULL as help_domain will use the domain the plug-in
      	registered, or the GIMP main help domain if it didn't register a
      	* app/pdb/help_cmds.c
      	* libgimp/gimphelp_pdb.[ch]: regenerated.
      	* libgimp/gimpui.c (gimp_ui_help_func): pass NULL as help_domain.
  8. 15 Nov, 2003 3 commits
    • Michael Natterer's avatar
      libgimpbase/Makefile.am libgimpbase/gimpbase-private.[ch] new files · 5221d4da
      Michael Natterer authored
      2003-11-15  Michael Natterer  <mitch@gimp.org>
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase-private.[ch]
      	* libgimpbase/gimpunit.c: new files implementing GimpUnitVTable
      	(formerly known as GimpWidgetsVTable). Now the unit functions
      	finally live in the same library as their header declarations.
      	* libgimpbase/gimpunit.h: removed comment about being a header for
      	two different files.
      	* libgimpwidgets/gimpwidgets-private.[ch]: removed
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c: use normal gimp_unit functions
      	* libgimp/gimpui.c
      	* app/gui/gui.c: removed GimpWidgetVTable stuff.
      	* libgimp/Makefile.am
      	* libgimp/gimpunitcache.[ch]: new files.
      	* libgimp/gimpunit.c: removed (moved to gimpunitcache.c).
      	* libgimp/gimp.c (gimp_main): initialize GimpUnitVTable using the
      	gimp_unit_cache functions.
      	* app/Makefile.am
      	* app/units.[ch]: new files implementing GimpUnitVTable.
      	* app/libgimp_glue.[ch]: removed.
      	* app/app_procs.[ch]: made "the_gimp" a static variable. Call
      	* app/main.c: changed accordingly.
    • Sven Neumann's avatar
      reverted Yosh's change and removed the call to gtk_preview_set_gamma() · 50e8667b
      Sven Neumann authored
      2003-11-15  Sven Neumann  <sven@gimp.org>
      	* libgimp/gimpui.c (gimp_ui_init): reverted Yosh's change and
      	removed the call to gtk_preview_set_gamma() instead. The gamma
      	value isn't used anywhere else so it would only be confusing to
      	use it on plug-in previews.
    • Manish Singh's avatar
      and #undef GTK_DISABLE_DEPRECATED, for gtk_preview_set_gamma declaration. · 2f9e4c17
      Manish Singh authored
      2003-11-15  Manish Singh  <yosh@gimp.org>
              * libgimp/gimpui.c: and #undef GTK_DISABLE_DEPRECATED, for
              gtk_preview_set_gamma declaration.
  9. 12 Nov, 2003 1 commit
    • Michael Natterer's avatar
      Use the correct GTK+ APIs for setting and changing the theme: · 8706affa
      Michael Natterer authored
      2003-11-12  Michael Natterer  <mitch@gimp.org>
      	Use the correct GTK+ APIs for setting and changing the theme:
      	* app/gui/themes.c (themes_apply_theme): don't call gtk_rc_parse()
      	but write a new config file "~/.gimp-1.3/themerc" which includes
      	both the theme's and the user's gtkrc files.
      	(themes_init): use gtk_rc_add_default_file() to make themerc known
      	to GTK+.
      	(themes_theme_change_notify): don't fiddle with toplevel windows
      	manually but simply call gtk_rc_reparse_all() after writing the
      	new themerc.
      	* libgimp/gimpui.c (gimp_ui_init): use gtk_rc_add_default_file()
      	instead of gtk_rc_parse().
      	* app/gui/preferences-dialog.c: cleaned up / beautified the theme
      	selector. Added a "Reload Current Theme" button. Simplified
      	GtkTreeView column inserting all over the place.
      	(prefs_response): destroy the preferences dialog later so we don't
      	crash when cancelling a theme change on "Cancel" (workaround for
      	bug #126808).
      	* app/gui/module-browser.c (module_browser_new): column inserting
  10. 11 Nov, 2003 1 commit
    • Michael Natterer's avatar
      added new API gimp_color_button_[get|set]_update() which configures the · e34358d8
      Michael Natterer authored
      2003-11-11  Michael Natterer  <mitch@gimp.org>
      	* libgimpwidgets/gimpcolorbutton.[ch]: added new API
      	gimp_color_button_[get|set]_update() which configures the button
      	to emit "color_changed" continuously while the color in the color
      	selection dialog is being changed. Fixes bug #90091.
      	Renamed GimpColorButton struct member
      	"GtkItemFactory *item_factory" to a /*< private >*/ member named
      	"gpointer popup_menu". This is ugly but fixes bug #125115,
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c
      	* app/widgets/gimpcolorpanel.c: changed accordingly.
      	* libgimpwidgets/gimpcolorbutton.c: use a GimpColorSelection
      	with a handmade GimpDialog instead of GtkColorSelectionDialog.
      	Enabled module loading for plug-ins so the color selection
      	can show the color selectors which are implemented in modules:
      	* libgimpwidgets/gimpwidgets-private.[ch]: added
      	GimpEnsureModlesFunc which can be called by modules users.
      	* app/gui/gui.c (gui_libs_init): pass NULL as
      	GimpEnsureModulesFunc since the core loads the modules itself.
      	* libgimp/gimpui.c (gimp_ui_init): pass new private function
      	gimp_ensure_modules() which will load the modules upon first
      	* libgimp/Makefile.am: link libgimpui against libgimpmodule.
      	* libgimpwidgets/gimpcolorselection.c: call
      	_gimp_ensure_modules_func() if it is non-NULL so color selector
      	modules are available for plug-ins.
      	* tools/pdbgen/pdb/gimprc.pdb: added new PDB wrapper
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgimprc_pdb.[ch]: regenerated.
  11. 10 Nov, 2003 1 commit
    • Michael Natterer's avatar
      Made plug-ins honor the current GIMP theme: · cd218fef
      Michael Natterer authored
      2003-11-10  Michael Natterer  <mitch@gimp.org>
      	Made plug-ins honor the current GIMP theme:
      	* app/core/gimp.[ch]: added GimpGetThemeDirFunc to the GUI vtable.
      	* app/gui/gui-vtable.c: implement it here.
      	* tools/pdbgen/pdb/gimprc.pdb: added new PDB function
      	* libgimp/gimpui.c: use the new function and fall back to
      	gimp_gtkrc() if it returns NULL.
      	* app/pdb/gimprc_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgimprc_pdb.[ch]: regenerated.
      	* app/gui/themes.c: unrelated cleanup.
  12. 08 Nov, 2003 1 commit
  13. 07 Nov, 2003 1 commit
    • Michael Natterer's avatar
      added "wm_name", "wm_class", "display_name" and "monitor_number" to the · efd9a3e1
      Michael Natterer authored
      2003-11-07  Michael Natterer  <mitch@gimp.org>
      	* libgimpbase/gimpprotocol.[ch]: added "wm_name", "wm_class",
      	"display_name" and "monitor_number" to the GPConfig message.
      	Increased protocol version number.
      	* libgimp/gimp.[ch] (gimp_config): read them from the GPConfig
      	message and remember them.
      	Added public accessors for the new config values.
      	* libgimp/gimpui.c (gimp_ui_init): pass wm_name and wm_class to
      	gtk_init() and export the display/screen to use to the
      	* app/core/gimp.[ch]: added vtable entries to get the values
      	from the GUI.
      	* app/gui/gui-vtable.c: implement the vtable entries.
      	* app/plug-in/plug-in-run.c: fill in the GPConfig values using
      	the new Gimp vtable functions.
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/channels-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/grid-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/qmask-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/splash.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/vectors-commands.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.[ch]
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c
      	* plug-ins/helpbrowser/dialog.c
      	* plug-ins/ifscompose/ifscompose.c: replaced all calls to
      	gtk_window_set_wmclass() by gtk_window_set_role() and all
      	"const gchar *wmclass_name" parameters by "const gchar *role".
      	Cleaned up the window role strings.
  14. 01 Nov, 2003 1 commit
    • Manish Singh's avatar
      Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x. Add · 3b6318bf
      Manish Singh authored
      2003-11-01  Manish Singh  <yosh@gimp.org>
              * configure.in: Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x.
              Add -DGDK_MULTIHEAD_SAFE.
              * app/config/test-config.c: use guints for strlen()
              * app/gui/gui.c
              * app/gui/info-window.c
              * app/gui/menus.c
              * app/widgets/gimpcontainerview.c
              * app/widgets/gimpcursor.c
              * app/widgets/gimpdevices.c
              * app/widgets/gimpdevicestatus.c
              * app/widgets/gimpimagedock.c
              * app/widgets/gimpitemfactory.c
              * app/widgets/gimpnavigationpreview.c
              * app/widgets/gimptoolbox.c
              * app/widgets/gimptooloptionseditor.c
              * app/widgets/gimpwidgets-utils.c
              * libgimp/gimpbrushmenu.c
              * libgimp/gimppatternmenu.c
              * libgimp/gimpui.c
              * plug-ins/FractalExplorer/Dialogs.c
              * plug-ins/FractalExplorer/FractalExplorer.c
              * plug-ins/common/screenshot.c
              * plug-ins/gimpressionist/gimpressionist.c: more GDK_MULTIHEAD_SAFE
              * plug-ins/common/wmf.c: #undef GDK_MULTIHEAD_SAFE.. this plug-in
              is going away anyway.
              * app/widgets/gimpcursor.h: add #warning about needing a proper
              multihead safe API.
              * app/gui/vectors-commands.c: s/clipoard/clipboard/
  15. 23 Aug, 2003 1 commit
    • Michael Natterer's avatar
      changed GimpHelpFunc typedef: - renamed "const gchar *help_data" to "const · ba70ce9a
      Michael Natterer authored
      2003-08-23  Michael Natterer  <mitch@gimp.org>
      	* libgimpwidgets/gimpwidgetstypes.h: changed GimpHelpFunc typedef:
      	- renamed "const gchar *help_data" to "const gchar *help_id".
      	- added "gpointer help_data".
      	* libgimpwidgets/gimphelpui.[ch]: added "gpointer help_data" to
      	gimp_help_connect(). Removed all fiddling with html links and
      	treat all help IDs as opaque identifiers.
      	* app/core/gimptoolinfo.[ch]: changed "help_data" member to
      	* app/widgets/gimpitemfactory.[ch]: removed the "help_path"
      	parameter from gimp_item_factory_new() since we don't fiddle with
      	html file paths any more. Simplifies menu item help a lot.
      	Renamed "help_data" member of struct GimpItemFactoryEntry to
      	* app/gui/plug-in-menus.c: changed accordingly. 3rd party
      	plug-ins' menu item help IDs are now encoded as
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c: when constructing the <Load> and
      	<Save> menus, take the resp. procedures' locale_domain and
      	help_path into account. Fixes translation of 3rd party menu items.
      	Also do the right thing for load/save procs which are implemented
      	as temporary procedures (they are impossible to implement
      	currently but it's nice to do the right thing anyway...).
      	* app/widgets/gimphelp-ids.h: added GIMP_HELP_MAIN identifier.
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpwidgets.[ch]
      	* libgimp/gimpui.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/gui.c
      	* app/gui/about-dialog.c
      	* app/gui/color-notebook.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-dialog-utils.[ch]
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/image-menu.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimpimagemaptool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimperrorconsole.c
      	* app/widgets/gimphelp.[ch]
      	* app/widgets/gimpmenufactory.[ch]
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.[ch]
      	* plug-ins/common/CEL.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/gee.c
      	* plug-ins/common/gee_zoom.c
      	* plug-ins/common/gqbist.c
      	* plug-ins/common/spheredesigner.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/imagemap/imap_main.c: changed accordingly. Removed
      	trailing whitespace all over the place.
  16. 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
      	* 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().
    • 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
      	* app/gui/gui.c: added private gimp_help_func() and pass it to
      	* libgimp/gimpui.c: added private gimp_ui_help_func() and pass it
      	to gimp_widgets_init().
  17. 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.
  18. 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.
  19. 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
      	* 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.
  20. 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".
  21. 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.
  22. 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.
  23. 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.
  24. 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.
  25. 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
  26. 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
      	* 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.
  27. 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.
  28. 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.
  29. 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
      	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.
  30. 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)?