1. 21 Aug, 2001 3 commits
  2. 19 Aug, 2001 2 commits
    • Sven Neumann's avatar
      added PANGOFT2_CFLAGS to INCLUDES. · b03d3e2a
      Sven Neumann authored
      2001-08-19  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am: added PANGOFT2_CFLAGS to INCLUDES.
      b03d3e2a
    • Sven Neumann's avatar
      app/devices.h app/disp_callbacks.c applied a patch from · d896cf59
      Sven Neumann authored
      2001-08-19  Sven Neumann  <sven@gimp.org>
      
      	* app/devices.h
      	* app/disp_callbacks.c
      	* app/interface.c: applied a patch from <David.Odin@bigfoot.com> that
      	changes some function prototype to return gboolean instead of gint.
      
      	* app/tools/gimpblendtool.c: pixel_regions_register() and
      	pixel_regions_process() return a gpointer, not (gpointer *).
      d896cf59
  3. 17 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added app/display/ and app/plug-in/. Empty for now except for the types · 01b780d6
      Michael Natterer authored
      2001-08-17  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added app/display/ and app/plug-in/. Empty for
      	now except for the types files.
      
      	* app/Makefile.am
      	* app/appenums.h
      	* app/apptypes.h: removed.
      
      	* app/display/Makefile.am
      	* app/display/display-types.h
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/gui/Makefile.am
      	* app/gui/gui-types.h
      	* app/pdb/Makefile.am
      	* app/pdb/pdb-types.h: new files for typedefs.
      
      	* app/appenv.h: added MessageHandlerType and StackTraceMode here.
      
      	* app/undo_types.h: moved undo struct typedefs here.
      
      	* app/tools/tools-types.h
      	* app/core/core-types.h: added some enums and Tattoo here
      	(renamed to GimpTattoo).
      
      	* app/gdisplay.h: temp_hack: #include "display/display-types.h"
      
      	* app/gimphelp.c: s/gtk_idle_add/g_idle_add/
      
      	* app/gimprc.c: don't use "gimprc" in token handlers but the
      	passed "val1p" and "val2p".
      
      	* app/image_map.[ch]: cleanup in preparation of making a GObject
      	out of it.
      
      	* app/base/pixel-region.[ch]: no need to pass the
      	PixelRegionIterator around as void pointer.
      
      	* app/core/gimp.[ch]
      	* app/core/gimpcontext.[ch]
      	* app/core/gimptoolinfo.[ch]
      	* app/tools/tool_manager.c
      	* app/widgets/gimpdnd.c: added the standard_tool_info to the Gimp
      	object.
      
      	* app/batch.c
      	* app/file-open.c
      	* app/file-save.c
      	* app/file-utils.c
      	* app/interface.c
      	* app/main.c
      	* app/path.[ch]
      	* app/pathP.h
      	* app/plug_in.h
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage.[ch]
      	* app/core/gimplayer.c
      	* app/gui/color-area.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/error-console-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradient-select.c
      	* app/gui/indicator-area.c
      	* app/gui/info-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c
      	* app/gui/session.c
      	* app/gui/splash.c
      	* app/gui/view-commands.c
      	* app/tools/gimpinktool-blob.c
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimpdockbook.c
      	* app/widgets/gimppreview.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c: changed accordingly: s/Tattoo/GimpTattoo/, include
      	the new types files, include <glib-object.h> instead of >gtk/gtk.h>.
      	Bad hacks to get rid of SELECTION_OFF and friends in core/ (will
      	be replaced ba a signal soon).
      
      	* tools/pdbgen/Makefile.am: changed list of headers scanned for
      	enums accordingly.
      
      	* app/pdb/procedural_db.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/display.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/layer.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: same fixes as above, added
      	hacks to ensure that all foo-types.h files are included before all
      	other gimp internal includes, include "pdb-types.h" unconditionally.
      
      	* tools/pdbgen/enums.pl
      	* app/pdb/*_cmds.c: regenerated.
      01b780d6
  4. 14 Aug, 2001 6 commits
    • Michael Natterer's avatar
      app/tools/gimptool.[ch] removed all *_get_PDB_string() functions and · 667d8626
      Michael Natterer authored
      2001-08-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.[ch]
      	* app/tools/tool_manager.[ch]: removed all *_get_PDB_string()
      	functions and GimpToolClass' "pdb_string" field as this info is
      	stored independent from a specific tool instance in GimpToolInfo
      
      	* app/tools/gimpbezierselecttool.c: use GimpToolInfo's "pdb_string".
      667d8626
    • Michael Natterer's avatar
      app/interface.c app/gui/about-dialog.c app/gui/brush-editor.c · cf622160
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/interface.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brush-select.c
      	* app/gui/color-notebook.c
      	* app/gui/color-select.c
      	* app/gui/convert-dialog.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-dialog-utils.h
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/layer-select.c
      	* app/gui/menus.c
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/splash.c
      	* app/gui/test-commands.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/paint_options.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpdockbook.c: got rid of all
      	gtk_object_[get|set]_data() and almost all gtk_signal_foo()
      	function calls.
      cf622160
    • Michael Natterer's avatar
    • Michael Natterer's avatar
      ARGH, die CVS, die die die · 71795eea
      Michael Natterer authored
      71795eea
    • Michael Natterer's avatar
      an evil temp_hack which lets GimpContext managing the active display · e2daae31
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.h: an evil temp_hack which lets GimpContext managing
      	the active display withoug including "gdisplay.h". Will go away as
      	soon ad context properties are registered dynamically.
      
      	* app/module_db.c: cleaned up the object code in preparation of
      	moving it to core/.
      
      	* app/path.c: connect to GimpImage's
      
      	* app/core/gimpobject.[ch]: derive it from GObject, not from
      	GtkObject any more (yeah :-)
      
      	* app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
      	removed some remaining GtkObject-isms.
      
      	(left in a few #include <gtk/gtk.h> where bigger changes are needed
      	to get rid of the UI dependency).
      
      	* app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
      	temporarily.
      
      	* app/core/gimp.c (gimp_create_display): unref the image after
      	creating it's first display.
      
      	* app/core/gimpbrush.[ch]: disabled the parts of the code which
      	depend on GimpPaintTool.
      
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c: changed accordingly.
      
      	* app/core/gimpcontext.[ch]: evil hack (see above) to manage the
      	active display without including "gdisplay.h"
      
      	* app/core/gimpimage-mask.[ch]: pass a context to
      	gimage_mask_stroke() and get the current tool's PDB string from
      	there.
      
      	* app/core/gimpedit.c: changed accordingly.
      
      	* app/core/gimpimage.c: use gimp_image_update() instead of
      	gdisplays_update_full().
      
      	* app/gui/color-area.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/image-commands.c
      	* app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
      	GObjects).
      
      	* app/gui/menus.c: fix some const warnings by explicit casting.
      
      	* app/tools/*.[ch]: ported all tools to GObject, some minor
      	cleanup while i was on it.
      
      	* app/widgets/gimpdialogfactory.[ch]: ported to GObject.
      
      	* app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.
      
      	* tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
      	which inserts #include "widgets/widgets-types.h" before ordinary
      	includes.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/edit_cmds.c: changed according to the stuff above.
      e2daae31
    • Sven Neumann's avatar
      take image resolution and choosen unit into account for font and border · 84043719
      Sven Neumann authored
      2001-08-14  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: take image resolution and choosen unit
      	into account for font and border size.
      
      	* app/widgets/gimpfontselection-dialog.[ch]
      	* app/widgets/gimpfontselection.[ch]
      	* app/widgets/widgets-types.h: added an indicator for font validity.
      	Added a font preview to the font selection dialog.
      
      	* libgimpwidgets/gimpfileselection.c: return FALSE from
      	gimp_file_selection_entry_focus_out_callback() since we do not want
      	to stop signal emission.
      84043719
  5. 12 Aug, 2001 2 commits
    • Michael Natterer's avatar
      Switched to GObject reference counting: · 79faae01
      Michael Natterer authored
      2001-08-12  Michael Natterer  <mitch@gimp.org>
      
      	Switched to GObject reference counting:
      
      	* app/core/gimpcontainer.c: only ref(), not ref()/sink() children
      	of strong containers. Reordered gimp_container_remove() so we
      	don't need to ref the object while removing it.
      
      	* app/core/gimpcontext.c: misc fixes. Needs to be badly tortured...
      
      	* app/app_procs.c
      	* app/gdisplay.c
      	* app/gimprc.c
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpobject.c
      	* app/core/gimpparasite.c
      	* app/core/gimppattern.c
      	* app/core/gimpundostack.c
      	* app/gui/dialogs.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpfuzzyselecttool.c: changed accordingly: don't
      	ref()/sink() any more, unref all (??) objects after adding them to
      	strong containers, misc. minor fixes.
      
      	* app/gui/dialogs-constructors.c
      	* app/widgets/gimpwidgets.c: use g_object_add_weak_pointer()
      	instead of simply crashing because g_object_weak_ref() was used
      	with gtk_widget_destroyed, brrr.
      
      	* app/widgets/gimpdnd.c: removed unneeded g_return_if_fail()'s.
      79faae01
    • Sven Neumann's avatar
      fixed an error, updated some numbers and added new items. · 8a63c99f
      Sven Neumann authored
      2001-08-12  Sven Neumann  <sven@gimp.org>
      
      	* TODO.xml: fixed an error, updated some numbers and added new items.
      8a63c99f
  6. 11 Aug, 2001 10 commits
    • Sven Neumann's avatar
      return the created layer. · a01e6445
      Sven Neumann authored
      2001-08-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: return the created layer.
      
      	* app/pdb/text_tool_cmds.c
      	* libgimp/gimptexttool_pdb.c
      	* tools/pdbgen/pdb/text_tool.pdb: hacked a bit so scripts using the
      	text_*_fontname procedures work again with the new text tool.
      	The fontname is however no longer a X Logical Font Description, but
      	the much simpler scheme that Pango understands:
      	"[FAMILY-LIST] [STYLE-OPTIONS]". Interactive font selection is still
      	broken. The variants of the text PDB calls that pass the XLFD fields
      	directly should also work since the PDB now translates this to a
      	Pango-conform fontname. Later this API will die, but for the moment,
      	some backward compatibility can't hurt...
      a01e6445
    • Michael Natterer's avatar
      Fixed ChangeLog entry ;) · 2804f6ad
      Michael Natterer authored
      2804f6ad
    • Michael Natterer's avatar
      split "destroy" up in "dispose" and "finalize". · da68142e
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c: split "destroy" up in "dispose" and "finalize".
      
      	* app/core/gimpcontext.c: objects need to be passed around with
      	g_param_spec_object() or bad things will happen.
      
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/gui.c
      	* app/gui/layers-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/select-commands.c
      	* app/tools/gimpclonetool.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimppreview.c: removed many connections to
      	"destroy": Connect to "dispose" or use g_object_weak_ref()
      	instead.
      da68142e
    • Michael Natterer's avatar
      fsck^^^ -- lovely autofoo wants "changequote([,])dnl" · 5e74fa37
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: fsck^^^ -- lovely autofoo wants "changequote([,])dnl"
      
      	* app/core/gimpcontext.[ch]: lots of GObject porting.
      
      	* app/core/gimpobject.[ch]: added a "disconnect" signal, which
      	like gtk's "destroy" is emitted in dispose(). This is ugly but
      	I don't see another "clean" way to implement weak containers.
      
      	* app/core/gimpcontainer.c: connect to the "disconnect" signal of
      	the children of weak containes.
      
      	* app/core/gimpimage.[ch]: replaced the "destroy" implementation
      	with "dispose" + "finalize". Removed gimage->undo_history.
      
      	* app/devices.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/tools-commands.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpimagedock.c: changed accordingly.
      5e74fa37
    • Sven Neumann's avatar
      made border work and fixed render offsets. · eb50191b
      Sven Neumann authored
      2001-08-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: made border work and fixed render offsets.
      eb50191b
    • Sven Neumann's avatar
      allow to specify size and border. · 4c9033cd
      Sven Neumann authored
      2001-08-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptexttool.c: allow to specify size and border.
      
      	* app/widgets/gimpfontselection.c: use GTK_STOCK_SELECT_FONT icon.
      4c9033cd
    • Sven Neumann's avatar
      added dependency on PangoFT2 (Pango compiled with FreeType2 support). · df8a3120
      Sven Neumann authored
      2001-08-11  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: added dependency on PangoFT2 (Pango compiled with
      	FreeType2 support).
      
      	* app/Makefile.am: link against PangoFT2.
      
      	* app/tools/Makefile.am
      	* app/tools/gimptexttool.[ch]: rudimentary new text tool. Still needs
      	lots of work.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h:
      	* app/widgets/gimpfontselection-dialog.[ch]
      	* app/widgets/gimpfontselection.[ch]: added font selection widgets.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpfontselection.[ch]: removed font selection code
      	from here since the fonts need to be selected from the core's
      	PangoContext. Will add PDB-controlled font selection later.
      df8a3120
    • Michael Natterer's avatar
      added a TODO entry about additional image/file info. · 357f463d
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: added a TODO entry about additional image/file info.
      
      	* app/file-save.c: #include "core/gimpdocuments.h"
      
      	* app/core/gimpcontainer.[ch]: made virtual functions out of some
      	signals.
      
      	* app/core/*.[ch]: more GObject stuff: ported all
      	gimp_foo_get_type() functions and replaced almost all "destroy"
      	implementations with either "finalize" or "dispose" functions.
      357f463d
    • Seth Burgess's avatar
      Fix non-interactive execution. · fec97c49
      Seth Burgess authored
      fec97c49
    • Michael Natterer's avatar
      app/core/Makefile.am new file implementing the docindex.* replacement. · 4305c39c
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpdocuments.[ch]: new file implementing the
      	docindex.* replacement.
      
      	* app/gimprc.c: added TT_XDOCUMENT to parse the new document
      	history.
      
      	* app/file-save.c
      	* app/gui/file-open-dialog.c: add opened & saved images to the
      	document history.
      
      	* app/core/gimp.c: call gimp_documents_init/exit() instead of
      	doing it here.
      
      	* app/core/gimpimagefile.[ch]: removed the "filename" attribute
      	and use GimpObject's "name" instead.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/menus.c: added a menu entry/dockable for the document
      	history.
      
      	* app/widgets/gimpdnd.[ch]: make it DND-able.
      
      	* app/widgets/gimppreview.c: fix  preview rendering correctly this
      	itme.
      4305c39c
  7. 10 Aug, 2001 2 commits
    • Sven Neumann's avatar
      libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgetstypes.h added a · 3280d311
      Sven Neumann authored
      2001-08-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpfontselection.[ch]: added a rudimentary font
      	selection widget, mostly copied from GtkFontSelection.
      
      	* libgimpwidgets/gimpfileselection.c: more GObject porting.
      3280d311
    • 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
  8. 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
  9. 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
  10. 06 Aug, 2001 1 commit
  11. 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
  12. 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
  13. 03 Aug, 2001 1 commit