Temporary kludge for the art backend to prevent a black-box from appearing on the palette view.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@18976 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2004-03-31 02:33:44 +00:00
parent 0d7f95eb9d
commit 547fa47c9c
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-03-30 15:36 Gregory John Casamento <greg_casamento@yahoo.com>
* GormPalettesManager.m: [GormPaletteView draggedImage:endedAt:
deposited:] added code to refresh the palette view after the
drag is done. This is a harmless, temporary fix for users of
the art backend.
2004-03-24 15:36 Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/GormMenuEditor.m: Minor cleanup which prevents

View file

@ -207,6 +207,11 @@ static NSImage *dragImage = nil;
source: self
slideBack: ([type isEqual: IBWindowPboardType] ||
([type isEqual: IBMenuPboardType] && menu == nil)) ? NO : YES];
// Temporary fix for the art backend. This is harmless, and
// shouldn't effect users of xlib, but it's necessary for now
// so that users can work.
[self setNeedsDisplay: YES];
}
@end