1. 11 Apr, 2003 9 commits
    • 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
  2. 10 Apr, 2003 8 commits
    • Michael Natterer's avatar
      added Portrait/Landscape radio buttons which follow the state of the · df228e78
      Michael Natterer authored
      2003-04-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-new-dialog.c: added Portrait/Landscape radio
      	buttons which follow the state of the width/height entered and can
      	be used to swap them.
      df228e78
    • Sven Neumann's avatar
      added more standard paper sizes. · 19ab634b
      Sven Neumann authored
      2003-04-10  Sven Neumann  <sven@gimp.org>
      
      	* etc/templaterc: added more standard paper sizes.
      19ab634b
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · dcefb7d4
      Pablo Gonzalo del Campo authored
      2003-04-10  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      dcefb7d4
    • Sven Neumann's avatar
      more code cosmetics · a9fe6421
      Sven Neumann authored
      a9fe6421
    • Sven Neumann's avatar
      app/xcf/xcf-load.c some cosmetic changes before I do any real ones. · 311dbe9a
      Sven Neumann authored
      2003-04-10  Sven Neumann  <sven@gimp.org>
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: some cosmetic changes before I do any real ones.
      311dbe9a
    • Sven Neumann's avatar
      plug-ins/script-fu/interp_sliba.c applied a patch from Pedro Gimeno that · 7cd5ffd7
      Sven Neumann authored
      2003-04-10  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/interp_sliba.c
      	* plug-ins/script-fu/scripts/selection-round.scm: applied a patch
      	from Pedro Gimeno that adds the trunc() function to our scheme
      	interpreter and fixes bug #109475 the right way.
      7cd5ffd7
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · 2db8367c
      Sven Neumann authored
      2003-04-10  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-portrait-16.png
      	* themes/Default/images/stock-landscape-16.png: new icons by Jimmac.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icons.
      
      	* app/widgets/widgets-enums.[ch]: added new enum GimpAspectType.
      2db8367c
    • Michael Natterer's avatar
      added gimp_context_type_to_prop_name(). · 25981425
      Michael Natterer authored
      2003-04-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontext.[ch]: added gimp_context_type_to_prop_name().
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpviewablebutton.[ch]: new widget implementing
      	the wheel-scrollable preview button.
      
      	* app/tools/gimptextoptions.c
      	* app/tools/paint_options.[ch]: removed the code implementing the
      	same and use GimpViewableButton.
      
      	* app/tools/tool_manager.c: added the font to the context
      	properties which are remembered per tool. Added an evil hack
      	using g_object_set_data() to pass the global_dock_factory to
      	tool option GUI constructors.
      25981425
  3. 09 Apr, 2003 6 commits
  4. 08 Apr, 2003 6 commits
    • Michael Natterer's avatar
      added paint_options_container_scrolled() utility function which · d2fbc95c
      Michael Natterer authored
      2003-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/paint_options.[ch]: added
      	paint_options_container_scrolled() utility function which
      	wheel-scrolls a container. Use it for the brush and pattern
      	previews. Added a gradient preview.
      
      	* app/tools/gimpblendoptions.c: removed the gradient preview here.
      
      	* app/tools/gimptextoptions.c: use the new function to scroll
      	the font list.
      d2fbc95c
    • Michael Natterer's avatar
      removed the pattern preview... · bfe98456
      Michael Natterer authored
      2003-04-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpbucketfilloptions.c: removed the pattern preview...
      
      	* app/tools/paint_options.c: ...and added it here so all paint
      	tools can use it if needed. Added a pattern preview to the clone
      	tool options.
      bfe98456
    • Michael Natterer's avatar
      Added "gpointer get_tab_data" to GimpDockableGetTabFunc and to · e9d617b5
      Michael Natterer authored
      2003-04-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdockable.[ch]: Added "gpointer get_tab_data" to
      	GimpDockableGetTabFunc and to gimp_dockable_new().
      
      	* app/gui/dialogs-constructors.c: changed accordingly. Replaced
      	dialogs_[brush,pattern,gradient,palette,font]_tab_func() by
      	dialogs_viewable_tab_func() which gets passed the GType as
      	get_tab_data.
      e9d617b5
    • Michael Natterer's avatar
      added vitrual function GimpViewable::get_description() which returns the · 99d93b92
      Michael Natterer authored
      2003-04-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.[ch]: added vitrual function
      	GimpViewable::get_description() which returns the string that
      	should be presented to the user plus an optional tooltip with more
      	information. The default implementation just returns the object's
      	name and no tooltip.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpimage.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimptoolinfo.c: implement get_description().
      
      	* app/core/gimpimagefile.[ch]: ditto. Renamed
      	gimp_imagefile_get_description() to
      	gimp_imagefile_get_desc_string(). Well, um, gimme a better name...
      
      	* app/gui/file-open-dialog.c: changed accordingly.
      
      	* app/file/file-utils.[ch]: renamed readXVThumb() to
      	file_utils_readXVThumb().
      
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
      
      	* app/widgets/widgets-types.h: removed GimpItemGetNameFunc typedef.
      
      	* app/widgets/gimpcontainerview-utils.[ch]: removed the the actual
      	get_name_funcs. They now live in the core as
      	GimpViewable::get_description() implementations.
      
      	* app/widgets/gimpcontainermenu.[ch]
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimpmenuitem.[ch]
      	* app/widgets/gimpviewabledialog.c: removed get_name_func stuff
      	and use gimp_viewable_get_description().
      
      	* app/widgets/gimpcontainermenu.[ch]: added "preview_border_width"
      	to gimp_container_menu_set_preview_size().
      
      	* app/widgets/gimpimagedock.c: changed accordingly.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      99d93b92
    • Michael Natterer's avatar
      app/widgets/gimpbrushfactoryview.[ch] app/widgets/gimpbufferview.[ch] · f20e559b
      Michael Natterer authored
      2003-04-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimpbufferview.[ch]
      	* app/widgets/gimpcontainereditor.[ch]
      	* app/widgets/gimpcontainergridview.[ch]
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpcontainerview.[ch]
      	* app/widgets/gimpdatafactoryview.[ch]
      	* app/widgets/gimpdocumentview.[ch]
      	* app/widgets/gimpimageview.[ch]
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimptemplateview.[ch]: removed "min_item_x" and
      	"min_item_y" parameters all over the place. Added
      	"preview_border_width" instead.
      
      	* app/widgets/gimpmenuitem.c: ensure that all menu items have the
      	same height.
      
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpundoeditor.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/palette-select.c
      	* app/gui/pattern-select.c: changed accordingly.
      
      	* app/gui/dialogs-constructors.c: removed the borders from the tool
      	and template lists.
      f20e559b
    • Michael Natterer's avatar
      app/config/gimpguiconfig.[ch] added "gboolean save_accels" and "gboolean · 5797c032
      Michael Natterer authored
      2003-04-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc-blurbs.h: added "gboolean save_accels" and
      	"gboolean restore_accels".
      
      	* app/gui/menus.[ch]: added menus_restore(), menus_save() and
      	menus_clear().
      
      	* app/gui/session.[ch]: added session_clear().
      
      	* app/gui/gui.c: call menus_restore() and menus_save().
      
      	* app/gui/preferences-dialog.c: brought the full core config
      	options overkill to the GUI. Needs to be simplified. Cleaned
      	up the "Interface" page a bit.
      5797c032
  5. 07 Apr, 2003 6 commits
  6. 06 Apr, 2003 5 commits
    • Michael Natterer's avatar
      get the gradient_samples here if they are NULL. Fixes crash in · 48b380a7
      Michael Natterer authored
      2003-04-06  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/FractalExplorer/Dialogs.c (make_color_map): get the
      	gradient_samples here if they are NULL. Fixes crash in
      	noninteractive mode (patch from Raphael Quinet, bug #103470).
      48b380a7
    • Duarte Loreto's avatar
      Updated Portuguese translation. · f5d56719
      Duarte Loreto authored
      2003-04-06  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      f5d56719
    • Michael Natterer's avatar
      added gimp_list_uniquefy_name() utility function. · 9827ceac
      Michael Natterer authored
      2003-04-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplist.[ch]: added gimp_list_uniquefy_name() utility
      	function.
      
      	* app/core/gimpdatalist.c
      	* app/core/gimpitem.c: use it here instead of duplicating almost
      	the same code.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimptemplateview.[ch]: new widget for editing the
      	template list.
      
      	* app/gui/dialogs-constructors.c: use it.
      
      	* app/gui/Makefile.am
      	* app/gui/templates-commands.[ch]
      	* app/gui/templates-menu.[ch]: new files implementing the context
      	menu for the template list.
      
      	* app/gui/menus.c: register the new menu with the menu factory.
      
      	* app/gui/file-commands.c (file_new_template_callback): uniquefy
      	the new template's name.
      
      	* app/gui/documents-commands.c: fixed typo.
      9827ceac
    • Michael Natterer's avatar
      fixed bug spotted by Pedro Gimeno by moving the alpha calculation to the · b0defba6
      Michael Natterer authored
      2003-04-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpgradient.c (gimp_gradient_get_color_at): fixed bug
      	spotted by Pedro Gimeno by moving the alpha calculation to the
      	bottom so it is not affected by rgb->hsv->rgb conversions
      	(bug #110053).
      b0defba6
    • Duarte Loreto's avatar
      Updated Portuguese translation. · e78ce365
      Duarte Loreto authored
      2003-04-06  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      e78ce365