1. 14 Apr, 2003 9 commits
  2. 13 Apr, 2003 9 commits
    • Michael Natterer's avatar
      connect to "realize" of the scrolled window's viewport and scroll to the · 86ec502c
      Michael Natterer authored
      2003-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainergridview.c: connect to "realize" of the
      	scrolled window's viewport and scroll to the correct item
      	(because GtkViewport is too dumb to this by itself).
      
      	* app/widgets/gimpcontainerpopup.[ch]: added a "view_type"
      	parameter.
      
      	* app/widgets/gimpviewablebutton.[ch]: added new function
      	gimp_viewable_button_set_view_type() and pass the view_type
      	to the GimpContainerPopup.
      
      	* app/widgets/gimptemplateeditor.c: default to GIMP_VIEW_TYPE_GRID
      	for the stock icon popup.
      86ec502c
    • Michael Natterer's avatar
      added app/gui/templates-commands.c · 753ad21d
      Michael Natterer authored
      2003-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added app/gui/templates-commands.c
      753ad21d
    • Michael Natterer's avatar
      Added g_return_if_fail (gimp_drawable_is_rgb (drawable)), cleanup. · 1a204234
      Michael Natterer authored
      2003-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-desaturate.c (gimp_drawable_desaturate):
      	Added g_return_if_fail (gimp_drawable_is_rgb (drawable)), cleanup.
      1a204234
    • Duarte Loreto's avatar
      Updated Portuguese translation. · c396a35d
      Duarte Loreto authored
      2003-04-13  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      c396a35d
    • Michael Natterer's avatar
      invalidate the preview when the stock_id changes. · 6663cee5
      Michael Natterer authored
      2003-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimptemplate.c (gimp_template_notify): invalidate
      	the preview when the stock_id changes.
      
      	* app/widgets/gimptemplateeditor.[ch]: added an optional entry
      	to edit the template's name.
      
      	* app/widgets/gimptemplateview.[ch]: added a "duplicate" button and
      	function pointers for creating templates, editing templates and
      	creating images from templates.
      
      	* app/gui/file-new-dialog.[ch] (file_new_dialog_create): added an
      	optional template parameter.
      
      	* app/gui/file-commands.c: pass template == NULL.
      
      	* app/gui/templates-menu.c: added a "Duplicate Template" menu entry.
      
      	* app/gui/templates-commands.[ch]: added the callback for the
      	duplicate menu item. Added "New Template" and "Edit Template"
      	dialogs. Added a function which opens a file_new_dialog with
      	a template preselected.
      
      	* app/gui/dialogs-constructors.c: let GimpTemplateView know
      	about the functions.
      6663cee5
    • Sven Neumann's avatar
      changed the "fade-length" and "gradient-length" minimum values to 0.0 for · c16bc592
      Sven Neumann authored
      2003-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintoptions.c: changed the "fade-length" and
      	"gradient-length" minimum values to 0.0 for compatibility with
      	the PDB API.
      
      	* app/paint/gimppaintcore.c (gimp_paint_core_get_color_from_gradient):
      	check that gradient_length > 0.0 before dividing by it.
      
      	* plug-ins/gfig/gfig.c (gfig_paint_callback): push an undo group
      	around the paint operations (bug #110446).
      c16bc592
    • Michael Natterer's avatar
      made the names editable in the tree view. · 15017330
      Michael Natterer authored
      2003-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimptemplateview.c: made the names editable in the
      	tree view.
      15017330
    • Michael Natterer's avatar
      app/core/gimpcontext.c (gimp_context_deserialize_property) g_free() the · ffa291d6
      Michael Natterer authored
      2003-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.c (gimp_context_deserialize_property)
      	* app/core/gimpcontainer.c (gimp_container_deserialize): g_free()
      	the string returned by gimp_scanner_parse_string(). Replace
      	NULL object names by "".
      ffa291d6
    • Michael Natterer's avatar
      g_memdup() the segments returned by gimp_image_mask_boundary(). Just · 4799083c
      Michael Natterer authored
      2003-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpeditselectiontool.c (init_edit_selection):
      	g_memdup() the segments returned by gimp_image_mask_boundary().
      	Just caching the pointers leads to bug #22375 because the image's
      	mask boundary changes while we live-move stuff.
      
      	* app/tools/gimpmovetool.c (gimp_move_tool_button_press): pause
      	the selection when starting to move a guide, since we also resume
      	it when we're finished.
      
      	(both bugs tracked down by Pedro Gimeno).
      4799083c
  3. 12 Apr, 2003 8 commits
    • Sven Neumann's avatar
      register missing icon for GIMP_STOCK_GRAVITY_WEST. · 6e5064f7
      Sven Neumann authored
      2003-04-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpstock.c (gimp_stock_button_pixbufs): register
      	missing icon for GIMP_STOCK_GRAVITY_WEST.
      6e5064f7
    • Michael Natterer's avatar
      app/widgets/gimpcontainerpopup.[ch] added "preview_size" and · a4be816f
      Michael Natterer authored
      2003-04-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainerpopup.[ch]
      	* app/widgets/gimpviewablebutton.[ch]: added "preview_size" and
      	"preview_border_width" parameters to the constructors and use them
      	when creating the popup.
      
      	* app/tools/gimptextoptions.c
      	* app/tools/paint_options.c
      	* app/widgets/gimptemplateeditor.c: changed accordingly. Create the
      	icon popup without borders.
      a4be816f
    • Michael Natterer's avatar
      made object properties G_PARAM_READWRITE by default. Added flag · f82440ff
      Michael Natterer authored
      2003-04-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-params.h: made object properties
      	G_PARAM_READWRITE by default. Added flag GIMP_PARAM_AGGREGATE
      	which indicates that an object property is not a reference but a
      	real part of its owner.
      
      	* app/config/gimpconfig-deserialize.c: g_object_set_property()
      	object properties only if they are not GIMP_PARAM_AGGREGATE.
      
      	* app/config/gimpconfig-utils.c (gimp_config_copy_properties,
      	gimp_config_reset_properties): copy and reset GIMP_PARAM_AGGREGATE
      	object properties correctly.
      
      	* app/config/gimpconfig-serialize.c: don't call
      	gimp_config_writer_open/close() for properties which are handled
      	by a GimpConfigIface::serialize_property() implementation.
      
      	* app/core/gimpcontext.c: removed exlicit G_PARAM_WRITABLE from
      	object properties since that's the default now. Call
      	gimp_config_writer_open/close() when serializing properties.
      
      	* app/core/gimpviewable.c (gimp_viewable_get_property): use
      	gimp_viewable_get_stock_id().
      	(gimp_viewable_set_stock_id): set stock_id to NULL if the new
      	stock_id is the same as viewable_class->default_stock_id.
      	Added serialize_property() which skips stock_id serialization
      	if it is NULL.
      
      	* app/tools/gimptextoptions.c: made the "text" property
      	GIMP_PARAM_AGGREGATE. Added gimp_text_options_set_property()
      	(which does nothing).
      
      	* app/widgets/gimptemplateeditor.[ch]: added an optional
      	GimpViewableButton to change the template's icon.
      
      	* app/gui/file-new-dialog.c: create it with the icon button so it
      	gets some testing.
      f82440ff
    • Miloslav Trmac's avatar
      Update Czech translation · 8bed928d
      Miloslav Trmac authored
      8bed928d
    • Dave Neary's avatar
      Fixed a bug caused by myself previously. png saving should now work · 2d5fe3bf
      Dave Neary authored
      
      
      2003-04-12  Dave Neary  <bolsh@gimp.org>
      
              * plug-ins/common/png.c (save_image):
              Fixed a bug caused by myself previously. png saving
              should now work reasonably correctly with alpha on indexed
              images.
      2d5fe3bf
    • Sven Neumann's avatar
      applied a patch from Pedro Gimero that plugs a memleak in Script-Fu. · e0051499
      Sven Neumann authored
      2003-04-12  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
      	applied a patch from Pedro Gimero that plugs a memleak in Script-Fu.
      e0051499
    • Sven Neumann's avatar
      removed plug-ins/gap/sel-to-anim-img.scm. · d95b6181
      Sven Neumann authored
      2003-04-12  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: removed plug-ins/gap/sel-to-anim-img.scm.
      
      	* de.po: updated.
      d95b6181
    • updated ja.po. T.Aihana's avatar
      · 386aed1a
      updated ja.po. T.Aihana authored
      2003-04-12 updated ja.po. T.Aihana <aihana@gnome.gr.jp>
      386aed1a
  4. 11 Apr, 2003 13 commits
    • Sven Neumann's avatar
      fixed fnord that caused the dialog to sometimes show a ratio of 0:0. · 5aae2c23
      Sven Neumann authored
      2003-04-11  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c
      	(gimp_display_shell_scale_dialog): fixed fnord that caused the
      	dialog to sometimes show a ratio of 0:0.
      5aae2c23
    • Sven Neumann's avatar
      return GTK_ICON_SIZE_INVALID for non-existant icons. · a24b7de0
      Sven Neumann authored
      2003-04-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.c (gimp_get_icon_size): return
      	GTK_ICON_SIZE_INVALID for non-existant icons.
      
      	* app/widgets/gimppreviewrenderer.c: handle GTK_ICON_SIZE_INVALID.
      a24b7de0
    • Michael Natterer's avatar
      s/NewImageInfo/FileNewDialog/g, cleanup. · 3343455c
      Michael Natterer authored
      2003-04-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-new-dialog.c: s/NewImageInfo/FileNewDialog/g,
      	cleanup.
      3343455c
    • Michael Natterer's avatar
      derive it from GtkBin, not from GtkVBox. Removed "content_spacing" style · fde95757
      Michael Natterer authored
      2003-04-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdockable.[ch]: derive it from GtkBin, not from
      	GtkVBox. Removed "content_spacing" style property.
      
      	* app/widgets/gimpcontainerview-utils.c
      	* etc/gtkrc_user
      	* themes/Default/gtkrc: changed accordingly.
      fde95757
    • Sven Neumann's avatar
      needful things · 5f26afe7
      Sven Neumann authored
      5f26afe7
    • Raphael Quinet's avatar
      restore the original input range from 1 to 4 for the Spatial Oversample · 179d6c61
      Raphael Quinet authored
      2003-04-11  Raphael Quinet  <quinet@gamers.org>
      
      	* plug-ins/flame/flame.c (dialog): restore the original input
      	range from 1 to 4 for the Spatial Oversample parameter, and reset
      	the number of decimals to 0.  Fixes bug #110443.
      179d6c61
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · 09e67694
      Sven Neumann authored
      2003-04-11  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-template-24.png
      	* themes/Default/images/stock-video-[16|24].png
      	* themes/Default/images/stock-web-[16|24].png: new icons by Jimmac.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      
      	* etc/templaterc: use Web icons for the web banner templates.
      09e67694
    • Sven Neumann's avatar
      POTFILES.in updated. · 1b7237c3
      Sven Neumann authored
      2003-04-11  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in
      	* de.po: updated.
      1b7237c3
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new widget chopped out · d47eedc2
      Michael Natterer authored
      2003-04-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptemplateeditor.[ch]: new widget chopped out
      	of file-new-dialog.c
      
      	* app/gui/file-new-dialog.c: use it.
      d47eedc2
    • Sven Neumann's avatar
      lookup the border color in the window's colormap. · 5408dfc8
      Sven Neumann authored
      2003-04-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimppreviewrenderer.c (gimp_preview_renderer_create_gc):
      	lookup the border color in the window's colormap.
      5408dfc8
    • Sven Neumann's avatar
      app/widgets/gimppreview.[ch] moved background functionality into the · a8697d3e
      Sven Neumann authored
      2003-04-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimppreview.[ch]
      	* app/widgets/gimppreviewrenderer.[ch]: moved background
      	functionality into the renderer. Removed some GimpPreview
      	functions that used to wrap GimpPreviewRenderer functionality.
      
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpnavigationview.c
      	* app/gui/dialogs-constructors.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimppreview-popup.c
      	* app/widgets/gimpselectioneditor.[ch]: changed accordingly.
      a8697d3e
    • Michael Natterer's avatar
      set the cursor on preview->event_window, not widget->window. Use · 141fc6c5
      Michael Natterer authored
      2003-04-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpnavigationpreview.c: set the cursor on
      	preview->event_window, not widget->window. Use
      	preview->renderer->viewable, not preview->viewable.
      141fc6c5
    • Sven Neumann's avatar
      made GimpPreview a NO_WINDOW widget that draws on the parent window. Added · 6d8249bd
      Sven Neumann authored
      2003-04-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimppreview.[ch]: made GimpPreview a NO_WINDOW
      	widget that draws on the parent window. Added an INPUT_ONLY window
      	for events.
      
      	* app/widgets/gimpnavigationpreview.c: take the widget's
      	allocation into account when rendering the marker and grab the
      	mouse on the preview's event_window.
      
      	* app/widgets/gimppreviewrenderer.[ch]: pass GdkRectangles as const.
      6d8249bd
  5. 10 Apr, 2003 1 commit