• Michael Natterer's avatar
    added new signal "buffer_changed" and new function · 513f5eac
    Michael Natterer authored
    2004-02-19  Michael Natterer  <mitch@gimp.org>
    
    	* app/core/gimp.[ch]: added new signal "buffer_changed" and new
    	function gimp_set_global_buffer() which emits it when the global
    	buffer changes.
    
    	* app/core/gimp-edit.c (gimp_edit_extract): use it instead
    	of fiddling with gimp->global_buffer manually.
    
    	* app/gui/image-menu.c: connect to "buffer_changed" and set the
    	"Paste" menu entries sensitive. Fixes bug #134752.
    
    	(image_menu_update): changed accordingly. Also changed a lot of
    	buggy SET_SENSITIVE() lines which made menu items which work fine
    	on any drawable insensitive when there were no layers (instead
    	of no drawable).
    
    	* app/gui/edit-commands.c: added new macro return_if_new_drawable()
    	and use it instead of return_if_no_image() so we don't run
    	into assertions if there is no active drawable.
    
    	(cut,copy_named_buffer_callback): unfortunately had to introduce
    	two new translated messages about not being able to cut/copy when
    	there is no active drawable.
    513f5eac
Name
Last commit
Last update
..
.cvsignore Loading commit data...
Makefile.am Loading commit data...
core-enums.c Loading commit data...
core-enums.h Loading commit data...
core-types.h Loading commit data...
cpercep.c Loading commit data...
cpercep.h Loading commit data...
gimp-documents.c Loading commit data...
gimp-documents.h Loading commit data...
gimp-edit.c Loading commit data...
gimp-edit.h Loading commit data...
gimp-gradients.c Loading commit data...
gimp-gradients.h Loading commit data...
gimp-modules.c Loading commit data...
gimp-modules.h Loading commit data...
gimp-parasites.c Loading commit data...
gimp-parasites.h Loading commit data...
gimp-templates.c Loading commit data...
gimp-templates.h Loading commit data...
gimp-transform-region.c Loading commit data...
gimp-transform-utils.c Loading commit data...
gimp-transform-utils.h Loading commit data...
gimp-units.c Loading commit data...
gimp-units.h Loading commit data...
gimp-utils.c Loading commit data...
gimp-utils.h Loading commit data...
gimp.c Loading commit data...
gimp.h Loading commit data...
gimparea.c Loading commit data...
gimparea.h Loading commit data...
gimpbrush-header.h Loading commit data...
gimpbrush-load.c Loading commit data...
gimpbrush.c Loading commit data...
gimpbrush.h Loading commit data...
gimpbrushgenerated-load.c Loading commit data...
gimpbrushgenerated-save.c Loading commit data...
gimpbrushgenerated.c Loading commit data...
gimpbrushgenerated.h Loading commit data...
gimpbrushpipe-load.c Loading commit data...
gimpbrushpipe.c Loading commit data...
gimpbrushpipe.h Loading commit data...
gimpbuffer.c Loading commit data...
gimpbuffer.h Loading commit data...
gimpchannel-combine.c Loading commit data...
gimpchannel-combine.h Loading commit data...
gimpchannel-select.c Loading commit data...
gimpchannel-select.h Loading commit data...
gimpchannel.c Loading commit data...
gimpchannel.h Loading commit data...
gimpcontainer-filter.c Loading commit data...
gimpcontainer-filter.h Loading commit data...
gimpcontainer.c Loading commit data...
gimpcontainer.h Loading commit data...
gimpcontext.c Loading commit data...
gimpcontext.h Loading commit data...
gimpcoords.c Loading commit data...
gimpcoords.h Loading commit data...
gimpdata.c Loading commit data...
gimpdata.h Loading commit data...
gimpdatafactory.c Loading commit data...
gimpdatafactory.h Loading commit data...
gimpdatalist.c Loading commit data...
gimpdatalist.h Loading commit data...
gimpdocumentlist.c Loading commit data...
gimpdocumentlist.h Loading commit data...
gimpdrawable-blend.c Loading commit data...
gimpdrawable-blend.h Loading commit data...
gimpdrawable-bucket-fill.c Loading commit data...
gimpdrawable-bucket-fill.h Loading commit data...
gimpdrawable-combine.c Loading commit data...
gimpdrawable-combine.h Loading commit data...
gimpdrawable-desaturate.c Loading commit data...
gimpdrawable-desaturate.h Loading commit data...
gimpdrawable-equalize.c Loading commit data...
gimpdrawable-equalize.h Loading commit data...
gimpdrawable-histogram.c Loading commit data...
gimpdrawable-histogram.h Loading commit data...
gimpdrawable-invert.c Loading commit data...
gimpdrawable-invert.h Loading commit data...
gimpdrawable-offset.c Loading commit data...
gimpdrawable-offset.h Loading commit data...
gimpdrawable-preview.c Loading commit data...
gimpdrawable-preview.h Loading commit data...
gimpdrawable-stroke.c Loading commit data...
gimpdrawable-stroke.h Loading commit data...
gimpdrawable-transform.c Loading commit data...
gimpdrawable-transform.h Loading commit data...
gimpdrawable.c Loading commit data...
gimpdrawable.h Loading commit data...
gimpenvirontable.c Loading commit data...
gimpenvirontable.h Loading commit data...
gimpgradient.c Loading commit data...
gimpgradient.h Loading commit data...
gimpgrid.c Loading commit data...
gimpgrid.h Loading commit data...
gimpimage-colorhash.c Loading commit data...
gimpimage-colorhash.h Loading commit data...
gimpimage-colormap.c Loading commit data...
gimpimage-colormap.h Loading commit data...
gimpimage-contiguous-region.c Loading commit data...
gimpimage-contiguous-region.h Loading commit data...
gimpimage-convert-data.h Loading commit data...
gimpimage-convert-fsdither.h Loading commit data...
gimpimage-convert.c Loading commit data...
gimpimage-convert.h Loading commit data...
gimpimage-crop.c Loading commit data...
gimpimage-crop.h Loading commit data...
gimpimage-duplicate.c Loading commit data...
gimpimage-duplicate.h Loading commit data...
gimpimage-flip.c Loading commit data...
gimpimage-flip.h Loading commit data...
gimpimage-grid.c Loading commit data...
gimpimage-grid.h Loading commit data...
gimpimage-guides.c Loading commit data...
gimpimage-guides.h Loading commit data...
gimpimage-merge.c Loading commit data...
gimpimage-merge.h Loading commit data...
gimpimage-new.c Loading commit data...
gimpimage-new.h Loading commit data...
gimpimage-pick-color.c Loading commit data...
gimpimage-pick-color.h Loading commit data...
gimpimage-preview.c Loading commit data...
gimpimage-preview.h Loading commit data...
gimpimage-projection.c Loading commit data...
gimpimage-projection.h Loading commit data...
gimpimage-qmask.c Loading commit data...
gimpimage-qmask.h Loading commit data...
gimpimage-quick-mask.c Loading commit data...
gimpimage-quick-mask.h Loading commit data...
gimpimage-resize.c Loading commit data...
gimpimage-resize.h Loading commit data...
gimpimage-rotate.c Loading commit data...
gimpimage-rotate.h Loading commit data...
gimpimage-scale.c Loading commit data...
gimpimage-scale.h Loading commit data...
gimpimage-snap.c Loading commit data...
gimpimage-snap.h Loading commit data...
gimpimage-undo-push.c Loading commit data...
gimpimage-undo-push.h Loading commit data...
gimpimage-undo.c Loading commit data...
gimpimage-undo.h Loading commit data...
gimpimage-unit.c Loading commit data...
gimpimage-unit.h Loading commit data...
gimpimage.c Loading commit data...
gimpimage.h Loading commit data...
gimpimagefile.c Loading commit data...
gimpimagefile.h Loading commit data...
gimpimagemap.c Loading commit data...
gimpimagemap.h Loading commit data...
gimpitem-linked.c Loading commit data...
gimpitem-linked.h Loading commit data...
gimpitem-preview.c Loading commit data...
gimpitem-preview.h Loading commit data...
gimpitem.c Loading commit data...
gimpitem.h Loading commit data...
gimpitemundo.c Loading commit data...
gimpitemundo.h Loading commit data...
gimplayer-floating-sel.c Loading commit data...
gimplayer-floating-sel.h Loading commit data...
gimplayer.c Loading commit data...
gimplayer.h Loading commit data...
gimplayermask.c Loading commit data...
gimplayermask.h Loading commit data...
gimplist.c Loading commit data...
gimplist.h Loading commit data...
gimpmarshal.list Loading commit data...
gimpobject.c Loading commit data...
gimpobject.h Loading commit data...
gimppaintinfo.c Loading commit data...
gimppaintinfo.h Loading commit data...
gimppalette-import.c Loading commit data...
gimppalette-import.h Loading commit data...
gimppalette-load.c Loading commit data...
gimppalette-save.c Loading commit data...
gimppalette.c Loading commit data...
gimppalette.h Loading commit data...
gimpparasitelist.c Loading commit data...
gimpparasitelist.h Loading commit data...
gimppattern-header.h Loading commit data...
gimppattern-load.c Loading commit data...
gimppattern.c Loading commit data...
gimppattern.h Loading commit data...
gimppreviewcache.c Loading commit data...
gimppreviewcache.h Loading commit data...
gimpprojection-construct.c Loading commit data...
gimpprojection-construct.h Loading commit data...
gimpprojection.c Loading commit data...
gimpprojection.h Loading commit data...
gimpscanconvert.c Loading commit data...
gimpscanconvert.h Loading commit data...
gimpselection.c Loading commit data...
gimpselection.h Loading commit data...
gimpstrokeoptions.c Loading commit data...
gimpstrokeoptions.h Loading commit data...
gimptemplate.c Loading commit data...
gimptemplate.h Loading commit data...
gimptoolinfo.c Loading commit data...
gimptoolinfo.h Loading commit data...
gimptooloptions.c Loading commit data...
gimptooloptions.h Loading commit data...
gimpundo.c Loading commit data...
gimpundo.h Loading commit data...
gimpundostack.c Loading commit data...
gimpundostack.h Loading commit data...
gimpunit.c Loading commit data...
gimpunit.h Loading commit data...
gimpviewable.c Loading commit data...
gimpviewable.h Loading commit data...
makefile.msc Loading commit data...