1. 22 May, 2018 1 commit
  2. 20 May, 2018 2 commits
  3. 15 Jul, 2017 1 commit
  4. 09 Sep, 2016 1 commit
  5. 01 Jun, 2016 1 commit
  6. 14 Dec, 2015 1 commit
  7. 02 May, 2012 1 commit
  8. 02 Oct, 2011 1 commit
  9. 18 Sep, 2011 1 commit
  10. 20 Oct, 2010 2 commits
  11. 15 Oct, 2010 1 commit
  12. 26 Sep, 2010 1 commit
  13. 19 Apr, 2010 1 commit
  14. 06 Mar, 2010 1 commit
  15. 15 Jan, 2010 1 commit
  16. 17 Oct, 2009 1 commit
  17. 22 Mar, 2009 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpblobeditor.c app/widgets/gimpbrushselect.c · d85fb156
      Michael Natterer authored
      2009-03-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpblobeditor.c
      	* app/widgets/gimpbrushselect.c
      	* app/widgets/gimpcolorbar.c
      	* app/widgets/gimpcolordialog.c
      	* app/widgets/gimpcolorframe.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerpopup.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpcontrollereditor.c
      	* app/widgets/gimpcontrollerlist.c
      	* app/widgets/gimpcursor.c
      	* app/widgets/gimpcurveview.c
      	* app/widgets/gimpdasheditor.c
      	* app/widgets/gimpdialogfactory.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimperrordialog.c
      	* app/widgets/gimpfgbgeditor.c
      	* app/widgets/gimpfgbgview.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpfontselect.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimphandlebar.c
      	* app/widgets/gimphistogrambox.c
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpmessagedialog.c
      	* app/widgets/gimpnavigationview.c
      	* app/widgets/gimppaletteselect.c
      	* app/widgets/gimppaletteview.c
      	* app/widgets/gimppatternselect.c
      	* app/widgets/gimpprogressbox.c
      	* app/widgets/gimpprogressdialog.c
      	* app/widgets/gimpscalebutton.c
      	* app/widgets/gimpselectiondata.c
      	* app/widgets/gimpsessioninfo.c
      	* app/widgets/gimpsettingsbox.c
      	* app/widgets/gimpstrokeeditor.c
      	* app/widgets/gimptexteditor.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpuimanager.c
      	* app/widgets/gimpview-popup.c
      	* app/widgets/gimpview.c
      	* app/widgets/gimpviewabledialog.c
      	* app/widgets/gimpwidgets-utils.c: use accessors for various
      	members of GTK+ structures that don't exist any longer when
      	GSEAL_ENABLE is defined.
      
      
      svn path=/trunk/; revision=28193
      d85fb156
  18. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  19. 01 Nov, 2007 1 commit
    • Sven Neumann's avatar
      app/widgets/Makefile.am new files holding Cairo utility functions. · 734e02f1
      Sven Neumann authored
      2007-11-02  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcairo-utils.[ch]: new files holding Cairo
      	utility functions.
      
      	* app/widgets/gimpviewrenderer.[ch]: ported partly to Cairo 
      drawing.
      
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainercombobox.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpview.c: removed calls to
      	gimp_view_renderer_unrealize() which are not needed anymore
      	because we don't allocate a GC in the renderer any longer.
      
      	* app/widgets/gimpcellrendererdashes.c: removed a redundant 
      cast.
      
      
      svn path=/trunk/; revision=24039
      734e02f1
  20. 09 Dec, 2006 1 commit
  21. 29 Aug, 2006 1 commit
    • Michael Natterer's avatar
      Changed GimpViewable preview rendering to have a context to get · b53aa45a
      Michael Natterer authored
      2006-08-29  Michael Natterer  <mitch@gimp.org>
      
      	Changed GimpViewable preview rendering to have a context to get
      	FG/BG/whatever from. Use the context to enable dynamic FG/BG
      	colors in gradients. Fixes bug #127676 and bug #352214. Addresses
      	bug #128367 (doesn't fix it because there's no loading/saving and
      	no GUI yet).
      
      	* app/core/core-enums.[ch]: added enum GimpGradientColor to enable
      	specifying gradient colors in terms of foreground and background.
      
      	* app/core/gimpgradient.[ch]: added color_type members to the
      	GimpGradientSegment struct and honor them in
      	gimp_gradient_get_color_at(). Added GimpContext parameters to all
      	functions which finally call get_color_at().
      
      	* app/core/gimp-gradients.c: use the new method to implement the
      	builtin gradients.
      
      	* app/core/gimpviewable.[ch]: added GimpContext parameters to all
      	get_preview() and get_pixbuf() functions.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-preview.[ch]
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-preview.[ch]
      	* app/core/gimpimagefile.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.[ch]
      	* app/text/gimpfont.c
      	* app/vectors/gimpvectors-preview.[ch]: changed ::get_preview()
      	and ::get_pixbuf() implementations accordingly.
      
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimppalette-import.[ch]
      	* app/dialogs/dialogs-constructors.c
      	* app/dialogs/palette-import-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpnavigationeditor.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/actions/gradient-editor-commands.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpbrusheditor.[ch]
      	* app/widgets/gimpbufferview.c
      	* app/widgets/gimpcellrendererviewable.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpclipboard.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainerbox.c
      	* app/widgets/gimpcontainercombobox.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerentry.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainertreeview.[ch]
      	* app/widgets/gimpdataeditor.[ch]
      	* app/widgets/gimpdevicestatus.c
      	* app/widgets/gimpdnd.[ch]
      	* app/widgets/gimpdrawabletreeview.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimpgradientselect.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimppaletteeditor.[ch]
      	* app/widgets/gimppropwidgets.[ch]
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpthumbbox.[ch]
      	* app/widgets/gimptoolbox-image-area.c
      	* app/widgets/gimptoolbox-indicator-area.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/widgets/gimpundoeditor.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/widgets/gimpview-popup.[ch]
      	* app/widgets/gimpview.[ch]
      	* app/widgets/gimpviewablebutton.c
      	* app/widgets/gimpviewabledialog.c
      	* app/widgets/gimpviewrenderer.[ch]
      	* app/widgets/gimpviewrenderer-frame.c
      	* app/widgets/gimpviewrendererbrush.c
      	* app/widgets/gimpviewrendererbuffer.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimage.c
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/image.pdb: added tons of GimpContext members
      	and parameters, implement GimpDocked::set_context() in many
      	widgets. Pass these locally remembered contexts to GimpViewable
      	functions. Did some minor cleanups on the way. There are still
      	some minor FIXMEs around where the code uses a NULL context (which
      	is allowed by the APIs)
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      b53aa45a
  22. 17 Jun, 2006 1 commit
  23. 15 May, 2006 1 commit
  24. 12 May, 2006 1 commit
    • Michael Natterer's avatar
      save 20 bytes per instance by using single bits instead of 6 gbooleans. · 401b865e
      Michael Natterer authored
      2006-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpview.h: save 20 bytes per instance by using
      	single bits instead of 6 gbooleans.
      
      	* app/widgets/gimpview.c: some code cleanup.
      
      	* app/widgets/gimpviewrendererbrush.c: don't #include "gimpbrush.h".
      
      	* app/widgets/gimpviewrendererbuffer.c: don't #include "gimpbuffer.h".
      
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimagefile.c
      	* app/widgets/gimpviewrendererimagefile.h: micro cosmetics.
      401b865e
  25. 19 Dec, 2005 1 commit
  26. 25 Aug, 2005 1 commit
  27. 27 May, 2005 1 commit
  28. 25 May, 2005 1 commit
    • Michael Natterer's avatar
      added virtual function GimpViewable::get_size() and public API · 7abaab62
      Michael Natterer authored
      2005-05-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.[ch]: added virtual function
      	GimpViewable::get_size() and public API gimp_viewable_get_size()
      	which return width and height and a boolean indicating if the
      	viewable has a size at all.
      	Added default implementation of GimpViewable::get_popup_size()
      	using the new get_size() API.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage.c
      	* app/core/gimppattern.c: implement GimpViewable::get_size().
      
      	* app/core/gimpbrush.c
      	* app/core/gimppattern.c: removed GimpViewable::get_popup_size()
      	implementations, the default one is good enough.
      
      	* app/core/gimpbrushpipe.c (gimp_brush_pipe_get_popup_size):
      	redirect to gimp_viewable_get_size() instead of duplicating its
      	return values.
      
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpview.c: allow pixbuf dragging out of any
      	viewable that has a size.
      
      	* app/widgets/gimpdrawabletreeview.c: removed pixbuf dragging code
      	here.
      
      	* app/widgets/gimpdnd.c: set gimp busy around encoding/decoding
      	pixbufs into/from GtkSelectionData, because it can be a time
      	consuming operation.
      7abaab62
  29. 25 Mar, 2005 2 commits
    • Sven Neumann's avatar
      added VOID: OBJECT, OBJECT. · 5e32e298
      Sven Neumann authored
      2005-03-25  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpmarshal.list: added VOID: OBJECT, OBJECT.
      
      	* app/widgets/gimpview.[ch]: pass old and new viewable in the
      	"set-viewable" signal.
      
      	* app/widgets/gimptoolbox-image-area.c: don't add the XDS drag source
      	more than once.
      5e32e298
    • Sven Neumann's avatar
      virtualized GimpView::set_viewable. · 7684721c
      Sven Neumann authored
      2005-03-25  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpview.[ch]: virtualized GimpView::set_viewable.
      
      	* app/widgets/gimptoolbox-image-area.c: hook into "set_viewable"
      	and add an XDS drag source.
      
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimpdnd.c: unset the XdndDirectSave0 property when
      	the drag ends, minor cleanups.
      7684721c
  30. 08 Oct, 2004 1 commit
  31. 26 Aug, 2004 1 commit
    • David Odin's avatar
      app/widgets/gimppreviewrenderer-utils.c · 16222432
      David Odin authored
      * app/widgets/gimppreviewrenderer-utils.c
      * app/widgets/gimppreviewrenderer-utils.h
      * app/widgets/gimppreviewrendererbrush.c
      * app/widgets/gimppreviewrendererbrush.h
      * app/widgets/gimppreviewrendererdrawable.c
      * app/widgets/gimppreviewrendererdrawable.h
      * app/widgets/gimppreviewrenderergradient.c
      * app/widgets/gimppreviewrenderergradient.h
      * app/widgets/gimppreviewrendererimage.c
      * app/widgets/gimppreviewrendererimage.h
      * app/widgets/gimppreviewrendererimagefile.c
      * app/widgets/gimppreviewrendererimagefile.h
      * app/widgets/gimppreviewrendererlayer.c
      * app/widgets/gimppreviewrendererlayer.h
      * app/widgets/gimppreviewrenderervectors.c
      * app/widgets/gimppreviewrenderervectors.h: Renamed all these files...
      
      * app/widgets/gimpviewrenderer-utils.c
      * app/widgets/gimpviewrenderer-utils.h
      * app/widgets/gimpviewrendererbrush.c
      * app/widgets/gimpviewrendererbrush.h
      * app/widgets/gimpviewrendererdrawable.c
      * app/widgets/gimpviewrendererdrawable.h
      * app/widgets/gimpviewrenderergradient.c
      * app/widgets/gimpviewrenderergradient.h
      * app/widgets/gimpviewrendererimage.c
      * app/widgets/gimpviewrendererimage.h
      * app/widgets/gimpviewrendererimagefile.c
      * app/widgets/gimpviewrendererimagefile.h
      * app/widgets/gimpviewrendererlayer.c
      * app/widgets/gimpviewrendererlayer.h
      * app/widgets/gimpviewrenderervectors.c
      * app/widgets/gimpviewrenderervectors.h: ... to these names. And also
        changed all the GimpPreviewRenderer* types to GimpViewRenderer* ones.
      
      * app/tools/gimppaintoptions-gui.c
      
      * app/widgets/Makefile.am
      * app/widgets/gimpcomponenteditor.c
      * app/widgets/gimpfiledialog.c
      * app/widgets/gimpgradienteditor.c
      * app/widgets/gimpview.c
      * app/widgets/widgets-types.h
      * app/widgets/gimpviewrenderer.c
      * app/widgets/gimpviewrenderer.h: modified accordingly.
      16222432
  32. 25 Aug, 2004 1 commit
    • David Odin's avatar
      app/widgets/gimppreview-popup.c renamed these files... · e91187ae
      David Odin authored
      * app/widgets/gimppreview-popup.c
      * app/widgets/gimppreview-popup.h: renamed these files...
      
      * app/widgets/gimpview-popup.c
      * app/widgets/gimpview-popup.h: .. to these files, and changed the
        GimpPreviewPopup type to GimpViewPopup.
      
      * app/widgets/gimppreviewrenderer.c
      * app/widgets/gimppreviewrenderer.h: renamed these files...
      
      * app/widgets/gimpviewrenderer.c
      * app/widgets/gimpviewrenderer.h: .. to these files, and changed
        GimpPreviewRenderer to GimpViewRenderer.
      
      This is the second step of the great Preview->View renaming process.
      
      * app/display/gimpdisplayshell-layer-select.c
      * app/display/gimpnavigationeditor.c
      
      * app/widgets/Makefile.am
      * app/widgets/gimpbrushfactoryview.c
      * app/widgets/gimpbufferview.c
      * app/widgets/gimpcellrendererviewable.c
      * app/widgets/gimpcellrendererviewable.h
      * app/widgets/gimpcomponenteditor.c
      * app/widgets/gimpcontainerbox.c
      * app/widgets/gimpcontainercombobox.c
      * app/widgets/gimpcontainereditor.c
      * app/widgets/gimpcontainerentry.c
      * app/widgets/gimpcontainergridview.c
      * app/widgets/gimpcontainerpopup.c
      * app/widgets/gimpcontainertreeview-dnd.c
      * app/widgets/gimpcontainertreeview.c
      * app/widgets/gimpcontainerview.c
      * app/widgets/gimpdatafactoryview.c
      * app/widgets/gimpitemtreeview.c
      * app/widgets/gimplayertreeview.c
      * app/widgets/gimpnavigationpreview.c
      * app/widgets/gimppatternfactoryview.c
      * app/widgets/gimppreviewrenderer-utils.c
      * app/widgets/gimppreviewrendererbrush.c
      * app/widgets/gimppreviewrendererbrush.h
      * app/widgets/gimppreviewrendererdrawable.c
      * app/widgets/gimppreviewrendererdrawable.h
      * app/widgets/gimppreviewrenderergradient.c
      * app/widgets/gimppreviewrenderergradient.h
      * app/widgets/gimppreviewrendererimage.c
      * app/widgets/gimppreviewrendererimage.h
      * app/widgets/gimppreviewrendererimagefile.c
      * app/widgets/gimppreviewrendererimagefile.h
      * app/widgets/gimppreviewrendererlayer.c
      * app/widgets/gimppreviewrenderervectors.c
      * app/widgets/gimpselectioneditor.c
      * app/widgets/gimptemplateview.c
      * app/widgets/gimptooloptionseditor.c
      * app/widgets/gimptoolview.c
      * app/widgets/gimpview.c
      * app/widgets/gimpview.h
      * app/widgets/gimpviewablebutton.c
      * app/widgets/widgets-enums.h
      * app/widgets/widgets-types.h: Modified accordingly.
      e91187ae
  33. 24 Aug, 2004 1 commit
    • David Odin's avatar
      app/widgets/gimppreview.c renamed these two files to... · cddf61a3
      David Odin authored
      * app/widgets/gimppreview.c
      * app/widgets/gimppreview.h: renamed these two files to...
      
      * app/widgets/gimpview.c
      * app/widgets/gimpview.h: ... these files.
      
      Also renamed GimpPreview to GimpView.
      This is the first step of the great Preview->View renaming process.
      
      * app/actions/palettes-commands.c
      
      * app/display/gimpdisplayshell-layer-select.c
      * app/display/gimpnavigationview.c
      
      * app/gui/palette-import-dialog.c
      
      * app/tools/gimppaintoptions-gui.c
      
      * app/widgets/Makefile.am
      * app/widgets/gimpaction.c
      * app/widgets/gimpactiongroup.c
      * app/widgets/gimpbrusheditor.c
      * app/widgets/gimpbufferview.c
      * app/widgets/gimpcontainerbox.c
      * app/widgets/gimpcontainergridview.c
      * app/widgets/gimpcontainergridview.h
      * app/widgets/gimpdevicestatus.c
      * app/widgets/gimpdnd.c
      * app/widgets/gimpdockbook.c
      * app/widgets/gimpfiledialog.c
      * app/widgets/gimpgradienteditor.c
      * app/widgets/gimpnavigationpreview.c
      * app/widgets/gimpnavigationpreview.h
      * app/widgets/gimppaletteeditor.c
      * app/widgets/gimppreview-popup.c
      * app/widgets/gimppropwidgets.c
      * app/widgets/gimpselectioneditor.c
      * app/widgets/gimpthumbbox.c
      * app/widgets/gimptoolbox-image-area.c
      * app/widgets/gimptoolbox-indicator-area.c
      * app/widgets/gimptooloptionseditor.c
      * app/widgets/gimpviewabledialog.c
      * app/widgets/widgets-types.h: changed accordingly.
      cddf61a3
  34. 05 Aug, 2004 1 commit
    • Michael Natterer's avatar
      Enabled previewing items without selecting them in all list and grid views · 60fd11d7
      Michael Natterer authored
      2004-08-05  Michael Natterer  <mitch@gimp.org>
      
      	Enabled previewing items without selecting them in all list and
      	grid views using mouse button 2. Implicitly enables previewing of
      	items in container popups and thus fixes bug #121011:
      
      	* app/widgets/gimppreview.c (gimp_preview_button_press_event)
      	* app/widgets/gimpcellrendererviewable.c
      	(gimp_cell_renderer_viewable_clicked): show the preview also on
      	mouse button 2 click.
      
      	* app/widgets/gimpcontainertreeview.c
      	(gimp_container_tree_view_button_press): dispatch mouse button 2
      	clicks to GimpCellRendererViewable, but don't select or change
      	anything in the tree_view.
      
      	Unrelated cleanup:
      
      	* app/widgets/gimppreview.c (gimp_preview_button_press_event):
      	don't offset bevent->x,y by widget->allocation.x,y before calling
      	gimp_preview_popup_show() ...
      
      	* app/widgets/gimppreview-popup.c (gimp_preview_popup_show):
      	... instead, do it here generically (check if the parent widget is
      	GTK_WIDGET_NO_WINDOW()).
      60fd11d7
  35. 28 May, 2004 1 commit
  36. 20 Nov, 2003 1 commit
    • Michael Natterer's avatar
      changed drag source stuff to allow multiple data types. Changed DND source · c5865e49
      Michael Natterer authored
      2003-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdnd.[ch]: changed drag source stuff to allow
      	multiple data types. Changed DND source API to speak in terms of
      	add()/remove() instead of set()/unset(). Added GimpDndDragFileFunc
      	typedef and gimp_dnd_file_source_add().
      
      	Unfortunately GTK+'s DND API lacks symmetry here (no GtkTargetList
      	based API for drag sources), so we cannot really change drag
      	sources on-the-fly and need to set GtkTargetEntry arrays manually.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimptoolbox-color-area.c: changed accordingly.
      
      	* app/widgets/gimpdocumentview.c: ditto. Additionally offer
      	"text/uri-list" so it's possible to drag images from the document
      	history to the file manager or browser.
      c5865e49
  37. 17 Nov, 2003 1 commit
    • Sven Neumann's avatar
      removed the unused GimpViewable parameter from · dab006d5
      Sven Neumann authored
      2003-11-17  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpviewable.[ch]: removed the unused GimpViewable
      	parameter from gimp_viewable_calc_preview_size().
      
      	* app/core/gimpbuffer.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpitem-preview.c
      	* app/core/gimpundo.c
      	* app/widgets/gimppreview.c
      	* app/widgets/gimppreviewrendererdrawable.c
      	* app/widgets/gimppreviewrendererimage.c: changed accordingly.
      
      	* app/widgets/gimppreviewrenderer.[ch]: store the viewable_type in
      	the preview renderer and use its default stock_id if no viewable
      	is set.
      
      	* app/core/gimpbrush.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpgradient.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.c: set a default stock_id.
      dab006d5