1. 17 Jul, 2003 1 commit
    • Michael Natterer's avatar
      added "gboolean allow_percent" to gimp_param_spec_unit() and to the · 486aed8e
      Michael Natterer authored
      2003-07-17  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimpconfig-params.[ch]: added "gboolean allow_percent"
      	to gimp_param_spec_unit() and to the GIMP_CONFIG_INSTALL_PROP_UNIT()
      	macro. Changed value validation accordingly.
      	* app/config/gimpconfig-types.c (string_to_unit): parse "percent"
      	* app/widgets/gimppropwidgets.c (gimp_prop_unit_menu_new): show
      	the "Percent" menu entry if the param_spec allows percent.
      	* app/config/gimpcoreconfig.c
      	* app/core/gimpgrid.c
      	* app/core/gimptemplate.c
      	* app/text/gimptext.c: pass FALSE to disallow percent.
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpselectionoptions.c: pass TRUE. Brings back the
      	percent feature for fade_length, gradient_length and fixed_size
      	rect/ellipse select.
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: don't call the the reset()
      	functions from the GUI constructors (and reset the options just
      	deserialized from disk). Instead, added set_defaults() functions
      	which do everything the old reset() functions did (except
      	upchaining) and call set_defaults() from reset() and from the GUI
  2. 07 Jul, 2003 1 commit
    • Michael Natterer's avatar
      app/gui/Makefile.am removed... · 878ee7b0
      Michael Natterer authored
      2003-07-07  Michael Natterer  <mitch@gimp.org>
      	* app/gui/Makefile.am
      	* app/gui/device-status-dialog.[ch]: removed...
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpdevicestatus.[ch]: ...added here as widget. The
      	thing is narrower now but not nicer and needs some polishing.
      	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_color_area_new()
      	and gimp_prop_stock_image_new() (the latter is still unused).
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: made the device status a dockable.
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: changed accordingly.
      	* app/gui/gui.c: update the device status dialog indirectly now
      	using the new gui_device_change_notify() callback.
  3. 04 Apr, 2003 1 commit
    • Michael Natterer's avatar
      reduced GIMP_MAX_IMAGE_SIZE to 2^18. · 650b70cf
      Michael Natterer authored
      2003-04-04  Michael Natterer  <mitch@gimp.org>
      	* libgimpbase/gimplimits.h: reduced GIMP_MAX_IMAGE_SIZE to 2^18.
      	* libgimpbase/gimputils.[ch]: added gimp_memsize_to_string()
      	utility function (which is definitely broken on 64bit systems).
      	* app/core/gimpimage-new.[ch]: removed
      	gimp_image_new_get_memsize_string() and gimp_image_new_create_image().
      	Renamed gimp_image_new_template_new() to
      	* app/core/gimpimagefile.c
      	* app/display/gimpdisplayshell-title.c: changed accordingly.
      	* app/core/gimp-templates.c: changed filename from "templates"
      	to "templaterc".
      	* app/core/gimp.[ch]
      	* app/core/gimpimage-duplicate.c: don't include "gimpimage-new.h".
      	* app/core/gimptemplate.[ch]: removed
      	gimp_template_calc_memsize().  Instead, added the size and a
      	boolean indicating that it is valid to the GimpTemplate
      	struct. Added GObject::notify() implementation and update the
      	values there.
      	* app/widgets/gimppropwidgets.c: connect to the unit property
      	* app/gui/file-new-dialog.c: changed accordingly. Disconnect
      	from the template's "notify" signal while changing all values.
  4. 03 Apr, 2003 1 commit
    • Michael Natterer's avatar
      Added preliminary support for image templates. Not finished yet. Addresses · a018b06a
      Michael Natterer authored
      2003-04-03  Michael Natterer  <mitch@gimp.org>
      	Added preliminary support for image templates. Not finished
      	yet. Addresses bug #96059. Now we need a volunteer to create
      	a nice collection of default templates...
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimptemplate.[ch]
      	* app/core/gimp-templates.[ch]: new files implementing the new
      	GimpTemplate object and the list of available image templates.
      	* app/core/gimp.[ch]: keep a container of templates around.
      	* app/core/gimpimage-new.[ch]: ported to use GimpTemplate. Removed
      	struct GimpImageNewValues.
      	* app/widgets/gimpcontainermenuimpl.c: changed to show the
      	"(none)" item for a NULL selection also, not only for an empty
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_size_entry_connect() which connects an externally
      	created GimpSizeEntry to object properties. Fixed the size entry
      	code to actually work.
      	* app/gui/image-menu.c
      	* app/gui/file-commands.[ch]: added "Save as Template" which
      	creates a new template from any image's properties.
      	* app/gui/file-new-dialog.c: use prop_widgets and GimpTemplate.
      	Offer the available templates in a menu at the top of the dialog.
  5. 31 Mar, 2003 1 commit
    • Michael Natterer's avatar
      added "icon_size" parameters to gimp_enum_stock_box_new[_with_range](). · 529c5e71
      Michael Natterer authored
      2003-03-31  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/gimpenummenu.[ch]: added "icon_size" parameters
      	to gimp_enum_stock_box_new[_with_range]().
      	* app/tools/gimpcurvestool.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      	* app/widgets/gimpeditor.[ch]: added gimp_editor_add_stock_box().
      	* app/widgets/widgets-enums.[ch]: register GimpViewType with
      	the type system.
      	* app/widgets/gimpcontainerpopup.c: use a stock box for the
      	view as list/grid buttons.
  6. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      	* gimpmiscui.c: include libgimp-intl.h.
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
  7. 24 Mar, 2003 1 commit
    • Michael Natterer's avatar
      register GimpPaintApplicationMode with the type system. · c40a6f99
      Michael Natterer authored
      2003-03-24  Michael Natterer  <mitch@gimp.org>
      	* app/paint/paint-enums.[ch]: register GimpPaintApplicationMode
      	with the type system.
      	* app/paint/gimppaintoptions.[ch]: replaced "gboolean incremental"
      	with "GimpPaintApplicationMode application_mode"
      	* app/paint/gimpairbrush.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppencil.c: changed accordingly.
      	* tools/pdbgen/pdb/paint_tools.pdb: ditto. Set all paint options
      	values using g_object_set().
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_enum_check_button_new() which can represent two
      	specified enum values and renders itself "inconsistent" for all
      	other values.
      	* app/tools/paint_options.c: use it for the "Incremental" toggle.
      	* app/pdb/paint_tools_cmds.c
      	* tools/pdbgen/enums.pl: regenerated.
  8. 03 Mar, 2003 1 commit
    • Michael Natterer's avatar
      removed the constructors with a GimpViewable parameter and always create · b31fd4b9
      Michael Natterer authored
      2003-03-03  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/gimppreviewrenderer.[ch]: removed the constructors
      	with a GimpViewable parameter and always create renderers from
      	viewable types only. Made gimp_preview_renderer_update() emit only
      	the "update" signal and added the new function
      	gimp_preview_renderer_invalidate() which does what the old
      	_update() did (invalidating and adding an idle function which
      	emits "update"). Added gimp_preview_renderer_remove_idle() so
      	renderer updating can be fully controlled using public functions.
      	* app/widgets/gimppreviewrendererbrush.[ch]: no need to remember
      	the widget for the brushpipe animation, simply call
      	gimp_preview_renderer_update() in the animation timeout.
      	* app/widgets/gimppreview.[ch]
      	* app/widgets/gimpcontainertreeview.c: changed accordingly. Call
      	gimp_preview_renderer_remove_idle() after setting the initial
      	viewable because we will be updated anyway by the first expose.
      	* app/widgets/gimppreview.[ch]: Added a size_request()
      	implementation. Removed gimp_preview_update(). Added new
      	constructor gimp_preview_new_full_by_types() to make the
      	constructor API symmetric. Removed code duplication by calling the
      	_by_types() constructors from the ones taking GimpViewable
      	* app/gui/palette-import-dialog.c
      	* app/widgets/gimppropwidgets.c
      	* app/widgets/gimpselectioneditor.c: changed accordingly.
  9. 20 Feb, 2003 1 commit
    • Sven Neumann's avatar
      trim the string only if necessary. · df09eb68
      Sven Neumann authored
      2003-02-20  Sven Neumann  <sven@gimp.org>
      	* libgimpbase/gimputils.c (gimp_utf8_strtrim): trim the string
      	only if necessary.
      	* app/text/gimptext.c: changed the default text to NULL.
      	* app/widgets/gimptexteditor.[ch]: replaced Cancel and OK buttons
      	with a single Close button and removed the callback.
      	* app/widgets/gimppropwidgets.c: gtk_text_buffer_set_text()
      	doesn't like NULL pointers, pass it an empty string instead.
      	* app/tools/gimptexttool.c: create a new text layer as soon as the
      	user starts editing.
  10. 19 Feb, 2003 1 commit
  11. 18 Feb, 2003 1 commit
    • Michael Natterer's avatar
      added gimp_prop_preview_new(). · 89297805
      Michael Natterer authored
      2003-02-18  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_preview_new().
      	* app/tools/gimpblendoptions.c
      	* app/tools/paint_options.c: use it.
  12. 09 Feb, 2003 1 commit
    • Sven Neumann's avatar
      app/text/gimptext.c app/tools/gimpbucketfilloptions.c · bb5d6875
      Sven Neumann authored
      2003-02-08  Sven Neumann  <sven@gimp.org>
      	* app/text/gimptext.c
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptextoptions.c: use N_() instead of _() with blurbs
      	of object properties. GimpConfig wants the untranslated string as
      	* app/widgets/gimpenummenu.c
      	* app/widgets/gimppropwidgets.c: added gettext() calls.
      	* app/config/gimpconfig-serialize.c: document the fact that
      	gimp_config_serialize_comment() only handles ASCII comments.
  13. 07 Feb, 2003 1 commit
    • Michael Natterer's avatar
      Added object properties for almost all tool_options values and registered · eeec3ced
      Michael Natterer authored
      2003-02-07  Michael Natterer  <mitch@gimp.org>
      	Added object properties for almost all tool_options values
      	and registered lots of enums with the type system:
      	Part I (enum and type cleanup):
      	* app/core/core-enums.[ch]
      	* app/core/core-types.h: removed InternalOrientaionType and
      	register GimpOrientationType. Register GimpChannelOps.
      	Removed GimpToolOptionsGUIFunc.
      	* app/xcf/xcf-private.h: added XcfOrientationType with the
      	same values as the old InternalOrientationType
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: translate between GimpOrientationType and
      	* app/core/gimpdrawable-transform-utils.[ch]
      	* app/core/gimpdrawable-transform.[ch]
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.h
      	* app/display/gimpdisplayshell.c
      	* tools/pdbgen/stddefs.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: changed accordingly.
      	* app/pdb/guides_cmds.c
      	* app/pdb/transform_tools_cmds.c
      	* libgimp/gimpenums.h
      	* libgimpproxy/gimpproxytypes.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      	* libgimptool/gimptoolenums.[ch]: added GimpTransformGridType.
      	* libgimptool/gimptooltypes.h: removed GimpToolOptionsResetFunc,
      	added GimpToolOptionsGUIFunc.
      	Part II (tool options changes):
      	* app/config/gimpconfig-utils.c (gimp_config_reset_properties):
      	don't reset object properties because they have NULL as default
      	* app/widgets/gimppropwidgets.[ch]: added
      	gimp_prop_paint_mode_menu_new() and gimp_prop_scale_entry_new(),
      	which are all needed by the new tool options GUI code.
      	* app/tools/tool_options.[ch]: removed the "reset_func" since
      	the virtual reset() method is used now.
      	* app/paint/gimpairbrushoptions.[ch]
      	* app/paint/gimpcloneoptions.[ch]
      	* app/paint/gimpconvolveoptions.[ch]
      	* app/paint/gimpdodgeburnoptions.[ch]
      	* app/paint/gimperaseroptions.[ch]
      	* app/paint/gimppaintoptions.[ch]
      	* app/paint/gimpsmudgeoptions.[ch]: added properties all over the
      	place and removed the widget and default_value members from
      	the structs. Renamed some values (e.g. s/type/clone_type/).
      	Don't #include <gtk/gtk.h>.
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint-types.h
      	* app/paint/paint.c: changed accordingly. Don't #include <gtk/gtk.h>.
      	* tools/pdbgen/pdb/paint_tools.pdb: changed accordingly.
      	* app/pdb/paint_tools_cmds.c: regenerated.
      	* app/tools/gimpblendoptions.[ch]
      	* app/tools/gimpbucketfilloptions.[ch]
      	* app/tools/gimpcolorpickeroptions.[ch]
      	* app/tools/gimpcropoptions.[ch]
      	* app/tools/gimpflipoptions.[ch]
      	* app/tools/gimpinkoptions.c
      	* app/tools/gimpmagnifyoptions.[ch]
      	* app/tools/gimpmeasureoptions.[ch]
      	* app/tools/gimpmoveoptions.[ch]
      	* app/tools/gimptextoptions.c
      	* app/tools/paint_options.[ch]
      	* app/tools/selection_options.[ch]
      	* app/tools/transform_options.[ch]: ditto: added properties and
      	removed widget and default_value stuff. Removed most reset functions.
      	Use gimp_prop widgets all over the place, renamed some values
      	as above.
      	* app/tools/Makefile.am
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectoroptions.c: changed accordingly. Ported
      	the paint_options GUI constructors to gimp_prop widgets.
      	* app/widgets/gimpselectioneditor.c
      	* app/gui/tool-options-dialog.c: changed accordingly.
  14. 05 Feb, 2003 1 commit
    • Sven Neumann's avatar
      added some blurbs that will show up as tooltips in the text tool options. · 87b133f8
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      	* app/text/gimptext.c: added some blurbs that will show up as
      	tooltips in the text tool options. Tweaked default values.
      	* app/text/gimptextlayout.c (gimp_text_layout_position): if
      	gravity is none (the default), position the layout according to its
      	* app/widgets/gimpenummenu.[ch]: added new functions that create a
      	hbox of radio buttons with icons from an enum type.
      	* app/widgets/gimppropwidgets.[ch]: added a property widget
      	constructors for the new enum_stock_box.
  15. 03 Feb, 2003 2 commits
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-selection.[ch] app/tools/gimpblendtool.c · 2c708aca
      Sven Neumann authored
      2003-02-04  Sven Neumann  <sven@gimp.org>
      	* app/display/gimpdisplayshell-selection.[ch]
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptransformtool.c: misc trivial changes and cleanup.
      	* app/widgets/gimppropwidgets.[ch]: added gimp_prop_unit_menu_new()
      	and removed the scale widget again.
      	* app/tools/gimptexttool.c: replaced the size scale entry with a
      	spinbutton and made the unit menu working.
      	* app/text/gimptext.c: increased the upper boundary for the font
      	size again now that we don't use a scale any longer.
    • Sven Neumann's avatar
      changed the text used in the preview. · 4fb5ca6a
      Sven Neumann authored
      2003-02-03  Sven Neumann  <sven@gimp.org>
      	* app/widgets/gimpfontselection-dialog.c: changed the text used in
      	the preview.
      	* app/widgets/gimpfontselection.[ch]: removed the yes/no image
      	that used to signal a valid font but stopped working a long time
      	* app/widgets/gimppropwidgets.c: added a property widget for fonts.
      	* app/tools/gimptexttool.c: use the new prop_widget.
  16. 01 Feb, 2003 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig.[ch] added a reset method to GimpConfigInterface. · 47f2a7f8
      Sven Neumann authored
      2003-02-01  Sven Neumann  <sven@gimp.org>
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-utils.[ch]: added a reset method to
      	GimpConfigInterface. Added the new function gimp_config_reset()
      	* app/text/gimptext.c: added a GimpConfigInterface to GimpText.
      	* app/widgets/Makefile.am
      	* app/widgets/gimptexteditor.[ch]: new files that hold the simple
      	text editor dialog used by the text tool.
      	* app/widgets/gimppropwidgets.[ch]: added new widget constructor
      	* app/tools/gimptexttool.[ch]: replaced old-style ToolOptions with
      	a GimpText object. Connect text layers to the text tool by means
      	of their GimpText objects. Still work in progress ...
  17. 29 Jan, 2003 1 commit
  18. 25 Jan, 2003 1 commit
    • Sven Neumann's avatar
      add a tooltip if a param_spec has a non-NULL blurb. Addresses bug #68485. · 5031fd61
      Sven Neumann authored
      2003-01-25  Sven Neumann  <sven@gimp.org>
              * app/widgets/gimppropwidgets.c: add a tooltip if a param_spec has
              a non-NULL blurb. Addresses bug #68485.
              * app/config/gimpbaseconfig.c
              * app/config/gimpcoreconfig.c
              * app/config/gimpdisplayconfig.c
              * app/config/gimpguiconfig.c
              * app/config/gimprc-blurbs.h: marked some blurbs as translatable.
              * Makefile.am
              * app/config/Makefile.am: added dist-hooks so the system gimprc
              and gimprc manpage get generated when doing a release.
              * libgimpwidgets/gimpmemsizeentry.[ch]: added the spinbutton to
              the GimpMemsizeEntry struct so we can access it in order to add
              a tooltip.
  19. 05 Jan, 2003 3 commits
  20. 29 Dec, 2002 1 commit
  21. 01 Dec, 2002 1 commit
    • Hans Breuer's avatar
      updated · 7c7ff46c
      Hans Breuer authored
      2002-11-30  Hans Breuer  <hans@breuer.org>
      	* */makefile.msc */*/makefile.msc : updated
      	* themes/Default/images/makefile.msc : new file
      	* themes/Default/makefile.msc : removed
      	* libgimpwidgets/gimpwidgets.def : updated
      	* app/core/core-types.h : renamed PIXELS and POINTS
      	to SIZE_* to avoid clashes with system headers
      	* app/pdb/text_tool_cmds.c : updated ...
      	* tools/pdbgen/enums.py : ... by renaming here too.
      	* app/widgets/gimphistogrambox.c : <string.h> for memcpy()
      	* app/widgets/gimppropwidgets.c : <string.h> for strlen()
      	* app/config/gimpconfig.c : on win32 rename always fails
      	if the destination file exists. Delete it first.
      	* libgimp/gimp.def : removed all '_'-prefixed exports
      	* plug-ins/common/iwarp.c : replace _gimp_layer_copy()
      	with gimp_layer_copy(), gimp_layer_add_alpha()
      	* libgimp/gimpmisc.c : ported gimp_timer funcs to use
      	g_timer to be more portable
      	* libgimpbase/gimpdatafiles.c : there are no symlinks on
      	win32, inverted to #ifndef G_OS_WIN32 as it was meant.
      	* libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def
      	  libgimpwidgets/gimpwidgets.def : updated externals
      	* plug-ins/common/randomize.c plug-ins/common/sinus.c :
      	don't initialize more than the defined struct size
      	* plug-ins/common/warp.c : removed unneeded unistd.h and
      	signal.h include
      	* regexrepl/regexrepl.def : (new file) needed to build
      	as DLL
  22. 23 Nov, 2002 1 commit
    • Michael Natterer's avatar
      removed gimp_config_values_equal(). · 4ce4adf8
      Michael Natterer authored
      2002-11-23  Michael Natterer  <mitch@gimp.org>
      	* app/config/gimpconfig-utils.[ch]: removed
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpconfig.c: use g_param_values_cmp() instead so
      	our registered compare methods are used.
      	* app/config/gimpdisplayconfig.[ch]: added "canvas_padding_mode"
      	and "canvas_padding_color" properties.
      	* app/display/display-enums.[ch]: added enum GimpDisplayPaddingMode
      	which can be one of { theme, light check, dark check, custom }.
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplay-handlers.c: removed cached monitor
      	resolution values...
      	* app/display/gimpdisplayshell.[ch]: ...and added them here. Added
      	padding state as in GimpDisplayConfig. Added utility function
      	gimp_display_shell_set_padding() which hides all the details.
      	Added the new padding modes to the padding color button's context
      	* app/display/gimpdisplayshell-callbacks.[ch]: don't fiddle
      	with colors manually but use gimp_display_shell_set_padding()
      	in realize() and in the color button callbacks.
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::monitor-[xy]resolution and
      	notify::canvas-padding-[mode|color] and update accordingly.
      	* app/widgets/gimppropwidgets.[ch]: added
      	* app/widgets/gimpdialogfactory.[ch]: added
      	gimp_dialog_factories_session_clear() (unimplemented).
      	* app/gui/preferences-dialog.c: added widgets for padding mode and
      	color. Removed some callbacks by connecting the functions they
      	called directly. Cleanup.
  23. 22 Nov, 2002 1 commit
  24. 21 Nov, 2002 1 commit
    • Michael Natterer's avatar
      added tile_cache_init() and tile_cache_exit() as public functions. · 024061d9
      Michael Natterer authored
      2002-11-21  Michael Natterer  <mitch@gimp.org>
      	* app/base/tile-cache.[ch]: added tile_cache_init() and
      	tile_cache_exit() as public functions.
      	* app/base/base.c: call them. Connect to GimpBaseConfig's
      	* app/core/gimpimage.c: connect to notify::transparency-type and
      	notify::transparency-size and call
      	gimp_image_invalidate_layer_previews() in the callback.
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	* app/display/gimpdisplayshell-handlers.c: connect to
      	notify::transparency-type and notify::transparency-size and expose
      	the shell in the callback.
      	* app/display/gimpdisplayshell-render.[ch]: added render_init()
      	and render_exit() functions and connect to
      	notify::transparency-type and notify::transparency-size for
      	setting up the render buffers.
      	* app/gui/gui.c: call the new functions instead of render_setup().
      	Connect to notify::show-tool-tips.
      	* app/gui/preferences-dialog.c: copy values between the global
      	config object and its local clone only when they have changed.
      	Wrap setting of lots of values in g_object_[freeze|thaw]_notify().
      	Added lots of mnemonics.
      	* app/gui/resolution-calibrate-dialog.c: added mnemonics.
      	* app/widgets/gimppropwidgets.c: g_object_set() the values edited
      	by the gimp_prop_coordinates() much less often by remembering the
      	old values and setting them only when they have changed.
  25. 20 Nov, 2002 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am new files containing constructors for views on · 0005b5d2
      Michael Natterer authored
      2002-11-20  Michael Natterer  <mitch@gimp.org>
      	* app/widgets/Makefile.am
      	* app/widgets/gimppropwidgets.[ch]: new files containing
      	constructors for views on GObject properties.
      	* app/gui/Makefile.am: the build preferences-dialog again.
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c
      	* app/gui/menus.c: added it back to the dialog system (as a non
      	signleton to get the new model <-> view stuff some testing).
      	* app/gui/preferences-dialog.c: here it is again, using property
      	view widgets. Lots of stuff removed & simplified. Some things
      	still #if 0'ed and/or non-working. No saving yet, stuff...