1. 29 Sep, 2004 5 commits
    • Sven Neumann's avatar
      libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt · 94bdc061
      Sven Neumann authored
      2004-09-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpaspectpreview.sgml
      	* libgimpwidgets/libgimpwidgets-docs.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpstock.sgml: updated after preview changes.
      
      	* libgimpwidgets/tmpl/gimpscrolledpreview.sgml: new file.
      94bdc061
    • Sven Neumann's avatar
      libgimpwidgets/gimppreview.[ch] libgimpwidgets/gimpscrolledpreview.[ch] · c4bf786c
      Sven Neumann authored
      2004-09-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppreview.[ch]
      	* libgimpwidgets/gimpscrolledpreview.[ch]
      	* libgimpwidgets/gimpwidgets.def: moved the offsets and the
      	draw_thumb method back to the GimpPreview class.
      
      	* libgimp/gimpdrawablepreview.c: changed accordingly.
      
      	* plug-ins/common/bumpmap.c
      	* plug-ins/common/cartoon.c
      	* plug-ins/common/deinterlace.c
      	* plug-ins/common/despeckle.c
      	* plug-ins/common/dog.c
      	* plug-ins/common/edge.c
      	* plug-ins/common/engrave.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/gauss.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/neon.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/oilify.c
      	* plug-ins/common/photocopy.c
      	* plug-ins/common/sel_gauss.c
      	* plug-ins/common/sharpen.c
      	* plug-ins/common/shift.c
      	* plug-ins/common/sobel.c
      	* plug-ins/common/softglow.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/struc.c
      	* plug-ins/common/unsharp.c
      	* plug-ins/common/wind.c: back to using gimp_preview_get_position().
      
      	* libgimp/gimpregioniterator.c (gimp_rgn_iterator_new): corrected
      	gtk-doc comment.
      c4bf786c
    • David Odin's avatar
      Use a GimpAspectPreview here, so the preview is resizable. · 17272d76
      David Odin authored
      * plug-ins/common/snoise.c: Use a GimpAspectPreview here, so the preview is
        resizable.
      17272d76
    • Sven Neumann's avatar
      libgimp/gimpui.def updated. · e6683d75
      Sven Neumann authored
      2004-09-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpui.def
      	* libgimpwidgets/gimpwidgets.def: updated.
      e6683d75
    • Michael Natterer's avatar
      libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt updated after · c0b5037b
      Michael Natterer authored
      2004-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt
      	* libgimp/libgimp.types: updated after brush, pattern etc. cleanup.
      
      	* libgimp/tmpl/gimpgradientedit.sgml: removed.
      
      	* libgimp/tmpl/gimpaspectpreview.sgml
      	* libgimp/tmpl/gimpbrush.sgml
      	* libgimp/tmpl/gimpgradient.sgml
      	* libgimp/tmpl/gimppattern.sgml; new files.
      
      	* libgimp/tmpl/gimpbrushes.sgml
      	* libgimp/tmpl/gimpcontext.sgml
      	* libgimp/tmpl/gimpgradients.sgml
      	* libgimp/tmpl/gimppalette.sgml
      	* libgimp/tmpl/gimppalettes.sgml
      	* libgimp/tmpl/gimppatterns.sgml
      	* libgimp/tmpl/gimpregioniterator.sgml: updated.
      c0b5037b
  2. 28 Sep, 2004 17 commits
    • David Odin's avatar
      libgimpwidgets/gimppreview.c split this widget into itself (more abstract · a001920e
      David Odin authored
      * libgimpwidgets/gimppreview.c
      * libgimpwidgets/gimppreview.h: split this widget into itself (more
        abstract now) and ...
      
      * libgimpwidgets/gimpscrolledpreview.c
      * libgimpwidgets/gimpscrolledpreview.h: this widget which also have
        some scrollbars and a nagivation preview.
      
      * libgimpwidgets/Makefile.am
      * libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      * libgimp/gimpaspectpreview.c
      * libgimp/gimpaspectpreview.h: Added this widget, derived from
        GimpPreview, which has always the same ratio has the given drawable.
        This widget has almost the same api as GimpDrawablePreview, and is
        useful for plug-ins that show the whole (scaled) drawable in their
        preview.
      
      * libgimp/gimpdrawablepreview.c
      * libgimp/gimpdrawablepreview.h: GimpDrawablePreview is now derived
        from GimpScrolledPreview.
      
      * libgimp/Makefile.am
      * libgimp/gimpui.h
      * libgimp/gimpuitypes.h: changed accordingly.
      
      * plug-ins/common/plasma.c: use a GimpAspectPreview.
      
      * plug-ins/common/bumpmap.c
      * plug-ins/common/cartoon.c
      * plug-ins/common/deinterlace.c
      * plug-ins/common/despeckle.c
      * plug-ins/common/dog.c
      * plug-ins/common/edge.c
      * plug-ins/common/engrave.c
      * plug-ins/common/exchange.c
      * plug-ins/common/gauss.c
      * plug-ins/common/grid.c
      * plug-ins/common/mblur.c
      * plug-ins/common/neon.c
      * plug-ins/common/noisify.c
      * plug-ins/common/oilify.c
      * plug-ins/common/photocopy.c
      * plug-ins/common/sel_gauss.c
      * plug-ins/common/sharpen.c
      * plug-ins/common/shift.c
      * plug-ins/common/sobel.c
      * plug-ins/common/softglow.c
      * plug-ins/common/spread.c
      * plug-ins/common/struc.c
      * plug-ins/common/unsharp.c
      * plug-ins/common/wind.c: use gimp_scrolled_preview_get_position
        instead of gimp_preview_get_position.
      a001920e
    • Michael Natterer's avatar
      renamed the "run_mode" parameters to "unused" and remode the rum_mode · a8f621fe
      Michael Natterer authored
      2004-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpregioniterator.[ch]: renamed the "run_mode"
      	parameters to "unused" and remode the rum_mode member from the
      	private GimpRgbIterator struct.
      
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/autostretch_hsv.c
      	* plug-ins/common/c_astretch.c
      	* plug-ins/common/color_enhance.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/gradmap.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/normalize.c
      	* plug-ins/common/sample_colorize.c
      	* plug-ins/common/scatter_hsv.c
      	* plug-ins/common/semiflatten.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/vinvert.c
      	* plug-ins/fp/fp.c: made "run_mode" a private variable of run()
      	and pass 0 to gimp_rgn_iterate*(). Minor cleanups.
      a8f621fe
    • Sven Neumann's avatar
      libgimp/gimp.def libgimp/gimpui.def updated. · 02ced0cd
      Sven Neumann authored
      2004-09-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimp.def
      	* libgimp/gimpui.def
      	* libgimpwidgets/gimpwidgets.def: updated.
      02ced0cd
    • Michael Natterer's avatar
      tools/pdbgen/Makefile.am renamed group "gradient_edit" to "gradient" and · 3004cb1b
      Michael Natterer authored
      2004-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: renamed group "gradient_edit" to
      	"gradient" and added "brush", "palette" and "pattern" groups.
      
      	* tools/pdbgen/pdb/gradient_edit.pdb: removed.
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern.pdb: new files containing functions
      	which create, duplicate, rename, delete, query and manipulate
      	a single brush, pattern etc.
      
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: deprecated stuff that is obsolete
      	now and simply removed the procedures that were added after 2.0.
      
      	* app/pdb/gradient_edit_cmds.c
      	* libgimp/gimpgradientedit_pdb.[ch]: removed.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_cmds.c
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimpgradient_pdb.[ch]
      	* libgimp/gimppalette_pdb.[ch]
      	* libgimp/gimppattern_pdb.[ch]: new files.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalettes_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* plug-ins/gfig/gfig-style.c: changed accordingly.
      3004cb1b
    • Sven Neumann's avatar
      don't write empty groups. · 44739154
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/file/gimprecentlist.c (gimp_recent_list_write): don't write
      	empty groups.
      
      	* app/file/gimprecentlist.c: disabled the code for the win32
      	platform. It doesn't make much sense there anyway. If someone
      	wants to contribute a win32 specific implementation, we'd welcome
      	that. A Mac OS X implementation would be nice to have as well.
      44739154
    • Sven Neumann's avatar
      updated for GIMP 2.1 by Eric Pierce. · 2e38cfe8
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* etc/ps-menurc: updated for GIMP 2.1 by Eric Pierce.
      2e38cfe8
    • Maurits Rijk's avatar
      plug-ins/imagemap/imap_cmd_gimp_guides.c · d4d092a8
      Maurits Rijk authored
      2004-09-28  Maurits Rijk  <m.rijk@chello.nl>
      
      	* plug-ins/imagemap/imap_circle.c:
      	* plug-ins/imagemap/imap_cmd_gimp_guides.c
      	* plug-ins/imagemap/imap_edit_area_info.c
      	* plug-ins/imagemap/imap_grid.c
      	* plug-ins/imagemap/imap_polygon.c
      	* plug-ins/imagemap/imap_rectangle.c
      	* plug-ins/imagemap/imap_settings.c: first set of changes to make
      	imagemap fully HIG compliant. More to come.
      d4d092a8
    • Sven Neumann's avatar
      seek to the start of the file before calling lockf(). · 4c450f23
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/file/gimprecentlist.c: seek to the start of the file before
      	calling lockf().
      4c450f23
    • Maurits Rijk's avatar
      added size entry. Fixes #143156 (Use size entry widget in Borderaverage · 39f06f45
      Maurits Rijk authored
      2004-09-28  Maurits Rijk  <m.rijk@chello.nl>
      
      	* plug-ins/common/borderaverage.c: added size entry. Fixes #143156
      	(Use size entry widget in Borderaverage plug-in)
      39f06f45
    • Sven Neumann's avatar
      updated name of the splash image. · a7b8c2bc
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* docs/gimp.1.in: updated name of the splash image.
      a7b8c2bc
    • Michael Natterer's avatar
      code review / cleanup. · 2c74680e
      Michael Natterer authored
      2004-09-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppalette.c: code review / cleanup.
      
      	(gimp_palette_delete_entry): don't add "Black" when the last color
      	gets removed, a palette can easily live with zero colors.
      
      	* app/widgets/gimppaletteeditor.c
      	(palette_editor_invalidate_preview): also update the entry which
      	shows the palette_entry's name.
      2c74680e
    • Sven Neumann's avatar
      handle EINTR while writing. · 5ad16c6f
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/file/gimprecentlist.c (gimp_recent_list_write_raw): handle
      	EINTR while writing.
      5ad16c6f
    • Sven Neumann's avatar
      added new convenience function gimp_xml_parser_parse_fd(). · 73446415
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpxmlparser.[ch]: added new convenience function
      	gimp_xml_parser_parse_fd().
      
      	* app/file/Makefile.am
      	* app/file/gimprecentitem.[ch]
      	* app/file/gimprecentlist.[ch]: added an implementation of the
      	recent-files spec as found on freedesktop.org. This code is taken
      	from libegg and has been edited to fit the GIMP needs.
      
      	* app/file/file-open.c
      	* app/file/file-save.c: update the ~/.recently-used file. Fixes
      	bug #131206.
      73446415
    • Michael Natterer's avatar
      removed hack which strcmp()s the property name to figure the preview's · 2b45c7a3
      Michael Natterer authored
      2004-09-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainerbox.c (gimp_container_box_get_preview):
      	removed hack which strcmp()s the property name to figure the
      	preview's border_width and use the container view's
      	preview_border_width instead.
      2b45c7a3
    • Sven Neumann's avatar
      simplified code and removed a compiler warning. · 5cc2b3e5
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_settings_dialog):
      	simplified code and removed a compiler warning.
      5cc2b3e5
    • Carol Spears's avatar
      data/images/gimp-splash.png there was a white spot that was making me · dc9caf5c
      Carol Spears authored
      2004-09-28  Carol Spears  <carol@gimp.org>
      
      * data/images/gimp-splash.png there was a white spot that was making me crazy.  It is gone now.
      dc9caf5c
    • Kwok-Koon Cheung's avatar
      Updated traditional Chinese translation by GNOME HK Team · e890cf1c
      Kwok-Koon Cheung authored
      	* zh_TW.po: Updated traditional Chinese translation by GNOME HK Team
      e890cf1c
  3. 27 Sep, 2004 8 commits
    • Sven Neumann's avatar
      added a hack to get rid of the border drawn around thumbnails in the "Open · cfd2c9c3
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpaction.c (gimp_action_set_proxy): added a hack
      	to get rid of the border drawn around thumbnails in the "Open Recent"
      	menu.
      cfd2c9c3
    • Sven Neumann's avatar
      add a shortcut to the filechooser that points to the user's folder. · d725502c
      Sven Neumann authored
      2004-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_settings_dialog):
      	add a shortcut to the filechooser that points to the user's folder.
      
      	* app/actions/vectors-commands.c: added a file filter to the SVG
      	import dialog.
      d725502c
    • Sven Neumann's avatar
      added some padding for the shadow frame to avoid scaling the thumbnail. · fadd9ca0
      Sven Neumann authored
      2004-09-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpthumbbox.c (gimp_thumb_box_new): added some
      	padding for the shadow frame to avoid scaling the thumbnail.
      fadd9ca0
    • Sven Neumann's avatar
      quick fix for large previews · e29c3cd2
      Sven Neumann authored
      e29c3cd2
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am added a stock icon that shows a simple · 0527d023
      Sven Neumann authored
      2004-09-27  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-frame-64.png: added a stock icon
      	that shows a simple drop shadow but could be exchanged for other
      	image decorations.
      
      	* libgimpwidgets/gimpstock.[ch]: register the new icon.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpviewrenderer-frame.[ch]: new file that holds some
      	ugly code to draw a frame around a preview pixbuf.
      
      	* app/widgets/gimpviewrenderer.[ch]: the frame pixbuf is attached
      	to the GimpViewRenderer class so it can be shared by all renderers.
      
      	* app/widgets/gimpviewrendererimagefile.c: use the new functionality
      	to draw a nice frame around imagefile previews.
      
      	* app/widgets/gimpcontainerbox.c: draw imagefile preview w/o a border.
      0527d023
    • Michael Natterer's avatar
      cleanup. · 24f8d7e7
      Michael Natterer authored
      2004-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/data-commands.c: cleanup.
      
      	* app/actions/vectors-commands.c
      	* app/display/gimpdisplayshell.c
      	* tools/pdbgen/pdb/paint_tools.pdb: removed unused #includes.
      
      	* app/text/gimptext-bitmap.c
      	* app/text/gimptext-parasite.c
      	* app/text/gimptext-vectors.c
      	* app/text/gimptext-xlfd.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer-xcf.c: include "text-types.h" instead
      	of "text/text-types.h".
      
      	* app/widgets/gimppatternselect.c: create a GimpPatternFactoryView
      	instead of GimpDataFactoryView.
      
      	* app/pdb/paint_tools_cmds.c: regenerated.
      24f8d7e7
    • Michael Natterer's avatar
      app/actions/brushes-actions.c app/actions/gradients-actions.c · 96a27b59
      Michael Natterer authored
      2004-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/brushes-actions.c
      	* app/actions/gradients-actions.c
      	* app/actions/palettes-actions.c
      	* app/actions/patterns-actions.c: made the "foo-edit" actions
      	GimpStringActions and pass the identifier of the editor dialog
      	to the callback.
      
      	* app/actions/data-commands.[ch] (data_edit_data_cmd_callback):
      	show the editor dialog here instead of calling view->edit_func().
      
      	* app/dialogs/dialogs-constructors.[ch]: removed the brush,
      	gradient and palette edit_funcs.
      
      	* app/widgets/widgets-types.h: removed typedef GimpDataEditFunc.
      
      	* app/widgets/gimpdatafactoryview.[ch]: removed the edit_func
      	member and parameters and create the edit button unconditionally.
      
      	* app/widgets/gimpbrushfactoryview.[ch]
      	* app/widgets/gimppatternfactoryview.[ch]: changed accordingly.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpdataselect.[ch]: removed this class, it's not
      	needed any longer.
      
      	* app/widgets/gimpbrushselect.[ch]
      	* app/widgets/gimpgradientselect.[ch]
      	* app/widgets/gimppaletteselect.[ch]
      	* app/widgets/gimppatternselect.[ch]: derive them from GimpPdbDialog
      	and follow the edit_func removal.
      
      	* app/gui/gui-vtable.c (gui_pdb_dialog_new): removed edit_func
      	stuff.
      
      	* app/widgets/gimpcontainereditor.c: minor unrelated cleanup.
      96a27b59
    • Michael Natterer's avatar
      renamed some constructors for consistency and added a (useless) template · f097d886
      Michael Natterer authored
      2004-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/dialogs-constrcutors.[ch]: renamed some constructors
      	for consistency and added a (useless) template grid.
      
      	* app/dialogs/dialogs.c: make the arrays of GimpDialogFactoryEntries
      	more readable by using macros to define them.
      f097d886
  4. 26 Sep, 2004 9 commits
    • Sven Neumann's avatar
      removed conversion to TempBuf. Instead implement · ab269fc6
      Sven Neumann authored
      2004-09-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c: removed conversion to TempBuf.
      	Instead implement GimpViewable::get_new_pixbuf by compositing the
      	thumbnail on a checkerboard.
      
      	* app/widgets/gimpviewrenderer.[ch]: renamed the no_view_pixbuf
      	struct member to pixbuf.
      	(gimp_view_renderer_real_render): try gimp_viewable_get_pixbuf()
      	and render the pixbuf before falling back to the TempBuf preview.
      	(gimp_view_renderer_render_pixbuf): new function that sets a
      	pixbuf for the renderer and flushes the render_buffer.
      
      	* app/widgets/gimpviewrendererimagefile.c
      	(gimp_view_renderer_imagefile_render): render the pixbuf.
      
      	* app/dialogs/dialogs-constructors.c: create the document history
      	dockable with a zero borderwidth.
      ab269fc6
    • Sven Neumann's avatar
      use the GIMP_CHECK_SIZE_SM define, not the enum value · 75a59c68
      Sven Neumann authored
      2004-09-27  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/fileops.pdb (file_load_thumbnail_invoker): use
      	the GIMP_CHECK_SIZE_SM define, not the enum value
      	GIMP_CHECK_SIZE_SMALL_CHECKS which is 0 (eeek!).
      
      	* app/pdb/fileops_cmds.c: regenerated.
      
      	* app/widgets/gimphelp.c (gimp_help_get_locales): minor cleanup.
      75a59c68
    • Michael Natterer's avatar
      added "data" property. · 692863b3
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdataeditor.[ch]: added "data" property.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppaletteeditor.c: pass the current data to
      	g_object_new() so we never end up with initially empty editors.
      692863b3
    • Michael Natterer's avatar
      added CONSTRUCT_ONLY "data-factory" property. Removed · db85b169
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdataeditor.[ch]: added CONSTRUCT_ONLY
      	"data-factory" property. Removed gimp_data_editor_construct().
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimppaletteeditor.c: pass the construct parameters
      	to g_object_new().
      db85b169
    • Sven Neumann's avatar
      changed label alignment to be more HIG conformant and consistent with the · 07e65b01
      Sven Neumann authored
      2004-09-26  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcolorframe.c: changed label alignment to be more
      	HIG conformant and consistent with the rest of the user interface.
      07e65b01
    • Michael Natterer's avatar
      added "name", "blurb", "stock_id" and "help_id" to struct · 6a50c270
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdialogfactory.[ch]: added "name", "blurb",
      	"stock_id" and "help_id" to struct GimpDialogFactoryEntry and to
      	gimp_dialog_factory_dialog_register(). Added typedef
      	GimpDialogConstructor which takes a GimpDialogFactoryEntry in
      	addition to the parameters GimpDialogNewFunc takes. Added a
      	constructor function pointer to GimpDialogFactory which defaults
      	to a function that just returns entry->new_func(). Use that
      	constructor instead of entry->new_func() for creating
      	dialogs. Added public API gimp_dialog_factory_set_constructor().
      
      	* app/dialogs/dialogs.c: register name, blurb, stock_id and
      	help_id for all dockables so all the dialog info lives in one huge
      	ugly table now. For the global_toolbox_factory and the
      	global_dock_factory, set a constructor which creates a dockable
      	around the widget returned by entry->new_func().
      
      	* app/dialogs/dialogs-constructors.[ch]: don't create the dockable
      	in each dialog constructor. Removes tons of code and reduces most
      	constructors to a "return gimp_foo_new(...)" one-liner. Got rid of
      	all static variables, they were from a time when GimpDialogFactory
      	was unable to manage singletons.
      
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]: return GtkWidget, not
      	GimpDataEditor from gimp_foo_editor_new().
      
      	* app/widgets/gimpdataeditor.c: minor cleanups.
      6a50c270
    • Michael Natterer's avatar
      moved stuff from new() to init(). · f6a205f8
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolordialog.c: moved stuff from new() to init().
      f6a205f8
    • Michael Natterer's avatar
      Ported GimpNavigationView to use actions for its buttons: · b4ea222c
      Michael Natterer authored
      2004-09-26  Michael Natterer  <mitch@gimp.org>
      
      	Ported GimpNavigationView to use actions for its buttons:
      
      	* app/menus/menus.c (menus_init): register a <GimpNaviagaionEditor>
      	UI manager containing the "view" action group.
      
      	* app/actions/actions.c (action_data_get_foo): handle "data" being
      	a GimpNavigationEditor.
      
      	* app/actions/view-actions.c (view_actions): added tooltips for
      	the actions used in the editor.
      
      	(view_actions_update): use action_data_get_display() instead of
      	checking the type of "data" manually.
      
      	* app/widgets/gimpeditor.c (gimp_editor_add_action_button): use
      	a GtkToggleButton instead of GimpButton for GtkToggleActions.
      
      	* app/display/gimpnavigationeditor.[ch]: added a GimpMenuFactory
      	parameter to the public constructor and removed all other
      	parameters. Simplified gimp_navigation_editor_new_private() and
      	use gimp_editor_add_action_button() instead of just add_button()
      	for creating the buttons. Made gimp_navigation_view_set_shell()
      	private. Update the UI manager when the shell zooms or scrolls.
      
      	* app/dialogs/dialogs-constructors.c (dialogs_navigation_view_new):
      	pass the menu_factory to gimp_navigation_editor_new().
      
      	Removed #includes which are not needed any more.
      b4ea222c
    • David Odin's avatar
      use the same preview as in all other plug-ins. · 5c6e0c8e
      David Odin authored
      * plug-ins/common/exchange.c: use the same preview as in all other plug-ins.
      5c6e0c8e
  5. 25 Sep, 2004 1 commit