1. 10 Aug, 2001 1 commit
    • Michael Natterer's avatar
      fix compiler warning. · 2353c5d3
      Michael Natterer authored
      2001-08-10  Michael Natterer  <mitch@convergence.de>
      
      	* app/nav_window.c: fix compiler warning.
      
      	* app/core/gimp.[ch]: added gimp->documents which will be an MRU
      	list of GimpImagefile objects.
      
      	* app/core/gimpcontainer.c: added some g_return_if_fail().
      
      	* app/gui/palette-editor.c: use GtkImage instead of GtkPixmap,
      	s/gtk_signal_*/g_signal_*/.
      
      	* app/widgets/gimppreview.c: render the checkerboard only for
      	channel == -1. In particular, don't render it for channel
      	previews.
      
      	* app/module_db.c
      	* app/core/*.c
      	* app/gui/colormap-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/tool_manager.c
      	* app/widgets/*.c
      	* libgimpwidgets/*.c: s/gtk_type_new/g_object_new/
      2353c5d3
  2. 09 Aug, 2001 2 commits
    • Michael Natterer's avatar
      removed GIMP_ZOOM_TYPE, · 45785431
      Michael Natterer authored
      2001-08-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenums.h: removed GIMP_ZOOM_TYPE,
      
      	* app/widgets/widgets-types.h: added it here.
      
      	* app/disp_callbacks.c
      	* app/widgets/gimpnavigationpreview.[ch]
      	* app/gui/gradient-editor.c: removed old cruft which expects wheel
      	events as button_4 and button_5 and connect to GdkEventScroll
      	instead.
      
      	* app/nav_window.c: connect to GimpNavigationPreview's new
      	"scroll" and "zoom" signals.
      
      	* app/gui/error-console-dialog.c: remove wheel scrol stuff (done
      	by GtkScrolledWindow now).
      
      	* app/gui/color-notebook.c
      	* app/gui/gradient-editor.c: removed GtkPixmap stuff and use
      	GtkImage instead. Looks a bit ugly in the color_notebook (seems
      	we need more icon sizes).
      
      	* app/gui/indicator-area.c: GObject porting.
      
      	* app/gui/menus.c_ some more menu icons.
      
      	* app/gui/toolbox.c: pass a GimpContext around as callback data
      	and use context->gimp instead of accessing the global "the_gimp"
      	variable.
      45785431
    • Sven Neumann's avatar
      app/core/Makefile.am app/core/core-types.h added first draft of a · 52b33872
      Sven Neumann authored
      2001-08-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpimagefile.[ch]: added first draft of a GimpImagefile
      	object that will handle image files on disk, in particular their
      	thumbnails.
      52b33872
  3. 07 Aug, 2001 2 commits
    • Michael Natterer's avatar
      removed a gdk_pointer_ungrab(), it was only there because of buggy gtk+ · 7de0a2cb
      Michael Natterer authored
      2001-08-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/disp_callbacks.c: removed a gdk_pointer_ungrab(), it was
      	only there because of buggy gtk+ 1.2.x. Cosmetic changes.
      
      	* app/undo.c: use G_N_ELEMENTS() instead of
      	sizeof(array)/sizeof(element).
      
      	* app/gui/menus.c: more stock icons, moved the item_factory
      	creation into the menus_get_foo_factory() functions, use
      	G_N_ELEMENTS(). This file badly needs to be spit up...
      
      	* app/core/gimpviewable.[ch]
      	* app/widgets/gimpcontainermenu.[ch]
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimpmenuitem.[ch]
      	* app/widgets/gimppreview.[ch]: replaced tons of signal emissions
      	by virtual functions which are *much* faster. Moreover, all of
      	them are private implementation bits of the specific class
      	hierarchy and are useless or even dangerous to be exposed as
      	signals.
      
      	* app/widgets/gimpdrawablelistitem.c: removed the drag_motion()
      	implementation as it's already done in the parent class.
      
      	* app/widgets/gimplistitem.[ch]
      	* app/widgets/gimplayerlistitem.c: redraw the widget when the
      	drop_type has changed. Fixes drop_indicator drawing.
      7de0a2cb
    • Michael Natterer's avatar
      cleanup. · 1c9069c4
      Michael Natterer authored
      2001-08-07  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpbutton.[ch]: cleanup.
      
      	* app/Makefile.am
      	* app/errorconsole.[ch]: removed...
      
      	* app/gui/Makefile.am
      	* app/gui/error-console-dialog.[ch]: ...added here. Lots of cleanup,
      	create a vbox instead of a dialog.
      
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c: added a dockable for the error console.
      
      	* app/errors.c
      	* app/gui/gui.c
      	* app/gui/menus.c: changed accordingly.
      
      	* app/widgets/gimpcontainerview.c: conntect "extended_clicked" to
      	the "extended_clicked" callback, not "clicked".
      
      	* app/widgets/gimplayerlistview.c: set the layer option box'
      	spacing in "style_set".
      
      	* app/widgets/gimplistitem.c: argh.
      
      	* themes/Default/gtkrc: changed the default theme to set a smaller
      	font only for the dockable because that's where saving screen
      	estate really makes sense. May need some further tweaking.
      1c9069c4
  4. 06 Aug, 2001 1 commit
  5. 05 Aug, 2001 5 commits
    • Michael Natterer's avatar
      configure.in themes/Default/images/Makefile.am some new Makefiles to make · 30d2fdef
      Michael Natterer authored
      2001-08-06  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/Makefile.am: some new Makefiles to
      	make it installable.
      
      	* Makefile.am
      	* gtkrc: removed...
      
      	* themes/Default/Makefile.am
      	* themes/Default/gtkrc: ...added here.
      
      	* themes/Default/imagerc: new file (not used, just for
      	documentation) which loads the default theme's images in the same
      	way the inlined pixbufs are registered with the stock system.
      
      	* gimprc.in
      	* gimprc.win32
      	* user_install
      	* user_install.bat
      	* app/gimprc.[ch]: added "theme-path" and "theme" gimprc variables.
      
      	* app/app_procs.c: prase gimprc before initializing the GUI.
      
      	* app/core/gimpdatafiles.[ch]: added support for getting only
      	subdirectories in the callback.
      
      	* libgimpbase/gimpenv.c: as a temp_hack gimp_gtkrc(); returns the
      	default theme's gtkrc.
      
      	* app/gui/gui.c: build a hash of theme directories and select
      	the one configured in gimprc.theme. Use gimp_gtkrc()'s default
      	value if there is no theme installed or configured.
      
      	* app/gui/preferences-dialog.c: Added theme_path to the GUI. No
      	stuff for selection the theme yet.
      
      	* app/gui/menus.c: beautify <Image>/Tools/
      
      	* app/tools/gimpcroptool.c: register in <Image>/Tools/Transform Tools/
      30d2fdef
    • Marc Lehmann's avatar
      *** empty log message *** · 572942f1
      Marc Lehmann authored
      572942f1
    • Michael Natterer's avatar
      DIE broken pipe, DIE · fdabe08c
      Michael Natterer authored
      fdabe08c
    • Michael Natterer's avatar
      Makefile.am configure.in themes/.cvsignore themes/Makefile.am · 233f8860
      Michael Natterer authored
      2001-08-05  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* themes/.cvsignore
      	* themes/Makefile.am
      	* themes/Default/.cvsignore
      	* themes/Default/Makefile.am
      	* themes/Default/images/.cvsignore
      	* themes/Default/images/*.png
      	* themes/Default/images/tools/.cvsignore
      	* themes/Default/images/tools/*.png: new place for all images
      	which are registered with the stock system. The default images are
      	all inlined but we will install the default theme later along with
      	an appropriate gtkrc as a template for custom themes.
      
      	Added PNGs of all tools icons. Thanks to syngin :)
      
      	* pixmaps/.cvsignore
      	* pixmaps/Makefile.am: reverted everything to the old state. This
      	directory will go away soon.
      
      	* libgimpwidgets/gimpstock.[ch]: changed accordingly. Register
      	stock icons in GTK_ICON_SIZE_BUTTON for all tools.
      
      	* app/core/gimptoolinfo.[ch]
      	* app/tools/tool_manager.[ch]: GimpToolInfo wants a stock_id and a
      	pre-rendered GdkPixbuf instead of ugly icon_data now. Added some
      	workarounds until GimpPreview is a GtkImage and uses GdkPixbuf
      	instead of TempBuf.
      
      	* app/tools/Makefile.am
      	* app/tools/icons.h: die, uglyness, die.
      
      	* app/tools/[all tools].c: register with a stock_id, not a
      	icon_data pointer.
      
      	* app/gui/dialogs-constructors.c: Oops, GIMP badly crashed on
      	changing the image for the past few days :)
      
      	* app/gui/menus.c: create the tools' menu entries with stock
      	icons.
      
      	* app/gui/toolbox.c: use GtkImages instead of GimpPreviews for
      	the toolbox buttons. Will need to change this back as soon
      	as GimpPreview actually _is_ a GtkImage.
      233f8860
    • Marc Lehmann's avatar
      *** empty log message *** · 3c185c6d
      Marc Lehmann authored
      3c185c6d
  6. 04 Aug, 2001 3 commits
    • Michael Natterer's avatar
      register the button icons with GTK_ICON_SIZE_BUTTON, but set them as · d128e989
      Michael Natterer authored
      2001-08-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpstock.[ch]: register the button icons with
      	GTK_ICON_SIZE_BUTTON, but set them as scalable fallbacks for
      	themselves so they get scaled for menus.
      
      	* app/gui/menus.c: set stock icons for much more menu entries.
      
      	* app/widgets/gimpwidgets-utils.[ch]: new utility function
      	gimp_item_factory_popup_with_data().
      
      	* app/disp_callbacks.[ch]
      	* app/gui/brushes-commands.c
      	* app/gui/channels-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/patterns-commands.c: use the new function.
      
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c: s/_("Reset")/GIMP_STOCK_RESET/
      
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainerview.[ch]: moved the button_box utility
      	functions from the container editor to GimpContainerView itself.
      
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpchannellistview.c
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimpdrawablelistview.[ch]
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c: changed accordingly. Removed
      	lots of duplicated code and use stock images instead of pixmaps.
      
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimppatheditor.c: use stock images instead of
      	pixmaps.
      
      	* pixmaps/Makefile.am: removed "yes" and "no", added "stroke".
      
      	* pixmaps/anchor.xpm
      	* pixmaps/delete.xpm
      	* pixmaps/lower.xpm
      	* pixmaps/new.xpm
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/paste.xpm
      	* pixmaps/raise.xpm
      	* pixmaps/refresh.xpm
      	* pixmaps/toselection.xpm: made them all 16x16 so they are scaled
      	nicely in menus. Should probably be 18x18.
      d128e989
    • 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
    • Michael Natterer's avatar
  7. 03 Aug, 2001 3 commits
    • Michael Natterer's avatar
      EEK, broken pipe on last try. · 6002aaf5
      Michael Natterer authored
      6002aaf5
    • Michael Natterer's avatar
      set style properties for dockables. · a824143b
      Michael Natterer authored
      2001-08-03  Michael Natterer  <mitch@gimp.org>
      
      	* gtkrc: set style properties for dockables.
      
      	* app/main.c: some #if 0'ed code for mem profiling.
      
      	* app/gui/commands.[ch]
      	* app/gui/menus.c: added a mem profiling menu entry + callback.
      
      	* app/gui/palette-editor.c: added a #warning as reminder, use
      	gtk_dialog_set_has_separator().
      
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimpdockable.[ch]
      	* app/widgets/gimpdrawablelistview.[ch]: added some style
      	properties to set GimpDockable and friends' borders and spacings.
      
      	* libgimpwidgets/gimppixmap.[ch]
      	* libgimpwidgets/gimpsizeentry.[ch]
      	* libgimpwidgets/gimpunitmenu.[ch]: GObject stuff, cleanup.
      
      	* app/docindex.c
      	* app/errorconsole.c
      	* app/gdisplay_color_ui.c
      	* app/gimpprogress.c
      	* app/module_db.c
      	* app/undo_history.c
      	* app/user_install.c
      	* app/gui/channels-commands.c
      	* app/gui/gradient-editor.c
      	* app/gui/info-window.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/widgets/gimpdatafactoryview.c
      	* libgimp/gimpexport.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* plug-ins/[lots of files]:
      
      	Some perl mass processing applying s/_("Foo")/GTK_STOCK_FOO/g,
      	minor manual cleanup in some files.
      a824143b
    • Michael Natterer's avatar
      s/#ifndef GDK_WINDOWING_WIN32/#ifdef GDK_WINDOWING_X11/ · 2f555823
      Michael Natterer authored
      2001-08-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c:
      	s/#ifndef GDK_WINDOWING_WIN32/#ifdef GDK_WINDOWING_X11/
      2f555823
  8. 02 Aug, 2001 2 commits
  9. 01 Aug, 2001 4 commits
    • Sven Neumann's avatar
      app/docindex.c app/gdisplay_color_ui.c app/gimpprogress.c app/nav_window.c · abf1fb90
      Sven Neumann authored
      2001-08-01  Sven Neumann  <sven@gimp.org>
      
      	* app/docindex.c
      	* app/gdisplay_color_ui.c
      	* app/gimpprogress.c
      	* app/nav_window.c
      	* app/path.c
      	* app/scale.c
      	* app/undo_history.c
      	* app/user_install.c
      	* app/gui/resolution-calibrate-dialog.[ch]: converted uses of
      	gtk_signal_* to g_signal_*.
      
      	Changed expose_event handlers that used to be connected using
      	signal_connect_after to call the default handler, do the additional
      	drawing, then stop the signal emission by returning TRUE.
      abf1fb90
    • Sven Neumann's avatar
      app/tools/gimpairbrushtool.c app/tools/gimpblendtool.c · 8590e01f
      Sven Neumann authored
      2001-08-01  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/tools/transform_options.c: got rid of all remaining gtk_signal
      	wrappers.
      8590e01f
    • Sven Neumann's avatar
      defined GimpTransferMode enum. · fc12bd9a
      Sven Neumann authored
      2001-08-01  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: defined GimpTransferMode enum.
      
      	* app/tools/gimpcolorbalancetool.[ch]
      	* app/tools/gimpdodgeburntool.[ch]: use it here instead of defining
      	the same enum again. Some GObject porting.
      
      	* app/tools/gimpsmudgetool.h: removed unused enum SmudgeMode.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/tools_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimptools_pdb.[ch]
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly (mostly generated)
      fc12bd9a
    • Sven Neumann's avatar
      added GTK_DISABLE_COMPAT_H back to CPPFLAGS. · b2c676bd
      Sven Neumann authored
      2001-08-01  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: added GTK_DISABLE_COMPAT_H back to CPPFLAGS.
      
      	* app/user_install.c
      	* app/base/base.c
      	* app/gui/info-window.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c
      	* app/pdb/procedural_db_cmds.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimpdrawablelistview.c
      	* app/widgets/gimpnavigationpreview.c
      	* libgimpbase/gimpparasiteio.c
      	* libgimpwidgets/gimpwidgets.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/dbbrowser/dbbrowser_utils.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/ifscompose/ifscompose_storage.c
      	* plug-ins/print/gimp_main_window.c
      	* tools/gimp-remote.c
      	* tools/pdbgen/pdb/procedural_db.pdb: replaced lots of deprecated
      	glib, gdk and gtk+ functions using the new API.
      
      	* app/paint-funcs/paint-funcs-rgb.c: removed trailing commas.
      b2c676bd
  10. 31 Jul, 2001 6 commits
    • Marc Lehmann's avatar
      *** empty log message *** · 34e395df
      Marc Lehmann authored
      34e395df
    • Michael Natterer's avatar
      g_strdup (g_get_temp_dir ()), may fix an unseen crash. · fda881c5
      Michael Natterer authored
      2001-08-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base.c: g_strdup (g_get_temp_dir ()), may fix an unseen
      	crash.
      
      	* libgimpwidgets/gimphelpui.[ch]: fixed the help stuff by using
      	GtkWidget's new "show_help" signal, which is exactly what we did
      	before, only without badly hacking around.
      	Renamed gimp_help_connect_help_accel() to gimp_help_connect()
      	because that's what it does.
      
      	* app/devices.c
      	* app/errorconsole.c
      	* app/interface.c
      	* app/gui/about-dialog.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradients-commands.c
      	* app/gui/gui.c
      	* app/gui/info-dialog.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/tips-dialog.c
      	* app/gui/toolbox.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpdatafactoryview.c
      	* libgimpwidgets/gimpdialog.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* 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/flame/flame.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/script-fu/script-fu-scripts.c: changed accordingly,
      	GObject stuff, sprinkled some GTK_STOCK_FOOs, minor cleanups.
      fda881c5
    • Michael Natterer's avatar
      eek, my last change changed the width of all GtkRange subclasses, not only · fc2ab585
      Michael Natterer authored
      2001-07-31  Michael Natterer  <mitch@gimp.org>
      
      	* gtkrc: eek, my last change changed the width of all GtkRange
      	subclasses, not only GtkScale, fixed now.
      
      	* app/devices.c: use GTK_STOCK_FOO button texts.
      
      	* app/interface.c
      	* app/qmask.[ch]: renamed all qmask callbacks to *_callback().
      
      	* app/gui/tool-options-dialog.c: GObject stuff, use
      	gtk_dialog_set_has_separator() instead of poking around.
      
      	* app/widgets/gimpcolorpanel.c: set panel->color_notebook to NULL
      	in "destroy".
      
      	* app/widgets/gimpnavigationpreview.c: return TRUE from the
      	"expose_event" handler.
      
      	* app/widgets/gimppreview.c: tiny optimizatin.
      fc2ab585
    • Sven Neumann's avatar
      libgimpwidgets/gimpfileselection.c replaced deprecated GDK calls · fff60947
      Sven Neumann authored
      2001-07-31  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimppixmap.c: replaced deprecated GDK calls
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: GObject porting.
      fff60947
    • Sven Neumann's avatar
      libgimp/gimpbrushmenu.c libgimp/gimpexport.c libgimp/gimpgradientmenu.c · 56b49396
      Sven Neumann authored
      2001-07-31  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c: GObject porting.
      56b49396
    • Sven Neumann's avatar
      removed g_signal_handlers_disconnect_by_data again. As Owen pointed out, · 0f6ab278
      Sven Neumann authored
      2001-07-31  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-types.h: removed g_signal_handlers_disconnect_by_data
      	again. As Owen pointed out, it's generally a bad idea to use it since
      	you can't be absolutely sure that no one else has a pointer to the
      	data you are disconnecting.
      
      	* app/gdisplay.c: added the macro here temporarily.
      
      	* app/module_db.c
      	* app/undo_history.c
      	* app/gui/brush-editor.c
      	* app/gui/brush-select.c
      	* app/gui/gradient-select.c
      	* app/gui/pattern-select.c: use g_signal_handlers_disconnect_by_func.
      
      	* libgimpwidgets/gimpbutton.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppatheditor.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c: GObject porting.
      0f6ab278
  11. 30 Jul, 2001 3 commits
    • Michael Natterer's avatar
      set the width of the scrollbar slider to the same value as our default · 8fae094e
      Michael Natterer authored
      2001-07-30  Michael Natterer  <mitch@gimp.org>
      
      	* gtkrc: set the width of the scrollbar slider to the same value
      	as our default font size so the sliders are nicely aligned with
      	their descriptive labels.
      
      	* libgimpwidgets/gimpdialog.[ch]
      	* libgimpwidgets/gimpquerybox.[ch]: use GLib-isms and create the
      	dialogs' action_area buttons with gtk_dialog_add_button() so we
      	can use the GTK_STOCK_FOO buttons and plug in our own icon factory
      	later.
      
      	* app/qmask.[ch]: fixed the qmask buttons by applying proper
      	GdkEvent callback conventions.
      
      	* libgimpwidgets/gimpcolorbutton.c: NULLify all pointers in
      	"destroy".
      
      	* app/gdisplay_ops.c
      	* app/gimphelp.c
      	* app/interface.c
      	* app/gui/brush-editor.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/widgets/gimpwidgets-utils.c
      	* libgimpwidgets/gimpunitmenu.c: g_signal_* and GObject stuff,
      	use lots of GTK_STOCK_OK and friends instead of _("OK") etc.,
      	misc minor cleanups.
      8fae094e
    • Sven Neumann's avatar
      HACKING require gettext version 0.38. · 32f7117b
      Sven Neumann authored
      2001-07-30  Sven Neumann  <sven@gimp.org>
      
      	* HACKING
      	* autogen.sh: require gettext version 0.38.
      
      	* configure.in: removed some ugly sed hacks that are not any longer
      	needed with recent versions of gettext.
      32f7117b
    • Michael Natterer's avatar
      code formating paranoia. · 8d9931f7
      Michael Natterer authored
      2001-07-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.c: code formating paranoia.
      
      	* app/core/gimp.c: one more g_signal_connect().
      
      	* app/tools/gimpmeasuretool.c: a gtk_widget_show() was optimized
      	away :)
      
      	* plug-ins/Makefile.am: re-enabled script-fu and dbbrowser.
      
      	* plug-ins/dbbrowser/dbbrowser_utils.[ch]
      	* plug-ins/script-fu/script-fu-console.[ch]
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-text-console.[ch]
      	* plug-ins/script-fu/script-fu.c: use GtkTextBuffer/GtkTextView
      	all over the place. GUI code cleanup in the dbbrowser and
      	the script-fu console.
      8d9931f7
  12. 29 Jul, 2001 7 commits
    • Sven Neumann's avatar
      app/devices.c app/disp_callbacks.c app/docindex.[ch] app/file-save.c · b906b394
      Sven Neumann authored
      2001-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/devices.c
      	* app/disp_callbacks.c
      	* app/docindex.[ch]
      	* app/file-save.c
      	* app/gdisplay.c
      	* app/gimpprogress.[ch]
      	* app/gimprc.c
      	* app/plug_in.c
      	* app/gui/gradient-editor.c
      	* app/gui/menus.[ch]: more GObject and const changes.
      b906b394
    • Hans Breuer's avatar
      REVERTED for all platforms which do install headers 'reflect that GTK2 has · e727b58a
      Hans Breuer authored
      2001-07-29  Hans Breuer  <hans@breuer.org>
      
      	* plug-ins/common/animationplay.c : REVERTED for all platforms
      	which do install headers 'reflect that GTK2 has its
      	gdk<x|win32|fb>.h files in the back-end sub directories'
      	only the win32 headers aren't installed ...
      e727b58a
    • Sven Neumann's avatar
      INSTALL README configure.in updated pkg-config location and various other · 4672a1de
      Sven Neumann authored
      2001-07-29  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* README
      	* configure.in
      	* gimp-1.4.m4: updated pkg-config location and various other tweaks.
      4672a1de
    • Sven Neumann's avatar
      plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c · 8ee2ebd0
      Sven Neumann authored
      2001-07-29  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/maze/maze_face.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/sgi/sgi.c: removed compiler warnings by adding G_CALLBACK()
      	casts and const declarations.
      8ee2ebd0
    • Sven Neumann's avatar
      plug-ins/common/AlienMap.c plug-ins/common/AlienMap2.c · c1d4e892
      Sven Neumann authored
      2001-07-29  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/AlienMap.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/curve_bend.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/emboss.c
      	* plug-ins/common/film.c
      	* plug-ins/common/fractaltrace.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/hot.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/jigsaw.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/lic.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/newsprint.c
      	* plug-ins/common/nlfilt.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/ripple.c
      	* plug-ins/common/sample_colorize.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/shift.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/struc.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/waves.c
      	* plug-ins/common/wind.c
      	* plug-ins/common/xbm.c: got rid of lots of compiler warnings by
      	adding G_CALLBACK() casts and some const declarations.
      c1d4e892
    • Hans Breuer's avatar
    • Sven Neumann's avatar
      app/docindex.c more GObject porting. · 61cfa3f0
      Sven Neumann authored
      2001-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/docindex.c
      	* app/ops_buttons.[ch]: more GObject porting.
      61cfa3f0
  13. 28 Jul, 2001 1 commit
    • Hans Breuer's avatar
      updated for GTK2 build · 95a8c724
      Hans Breuer authored
      2001-07-28  Hans Breuer  <hans@breuer.org>
      
      	* */*/makefile.msc : updated for GTK2 build
      
      	* app/widgets/makefile.msc : (new file) forgot this one last time
      
      	* plug-ins/common/animationplay.c : reflect that GTK2 has its
      	gdk<x|win32|fb>.h files in the back-end sub directories
      
      	* plug-ins/common/gif.c :
      	* plug-ins/common/jpeg.c :
      	* plug-ins/dbbrowser/dbbrowser_utils.c :
      	* plug-ins/gap/gap_dbbrowser_utils.c :
      	* plug-ims/gimpressionist/presets.c :
      	* plug-ims/gimpressionist/imap_setting.c :
      	* plug-ims/gimpressionist/imap_source.c :
      	* plug-ims/script-fu/script-fu-console.c :
      	* plug-ims/script-fu/script-fu-scripts.c : #define GTK_ENABLE_BROKEN
      	and include <gtk/gtktext.h> to make them compile/work again
      
      	* plug-ins/common/spheredesigner.c : gtk_color_selction_set_opacity
      	renamed to gtk_color_selction_set_current_alpha
      
      	* plug-ins/gflare/gtkmultioptionmenu.c : ported ny removing the
      	virtual draw function and style->xthickness and ythickness via
      	direct access, klass field isn't available anymore
      
      	* plug-ins/common/nlfilt.c :
      	* plug-ims/gap/gap_movdialog.c :
      	* plug-ims/gimpressionist/gimpressionist.c : gtk_widget_set_default_visible is
      	neither available nor needed anymore
      
      	* plug-ins/common/plugindetails.c : ported to GtkTextBuffer
      	and reflect gtk_paned api changes
      
      	* plug-ims/gimpressionist/imap_preview.c : replace GTK_WIDGET(a)->klass
      	access by GTK_WIDGET_GET_CLASS(a)
      
      	* plug-ims/gimpressionist/imap_selection.c :
      	* plug-ims/gimpressionist/imap_toolbar.c :
      	* plug-ims/gimpressionist/imap_tools.c : gtk_toolbar api changes
      95a8c724