* Palettes/4Data/GormImageViewAttributesInspector.m: Remove check for

name so that images which currently do not reference a known image
	can be saved by name.
	* Palettes/4Data/GormNSImageViewInspector.gorm: Add connection
	to ok: from the text field.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@31709 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2010-12-05 23:02:35 +00:00
parent dce7c06f1f
commit aaf510c28a
4 changed files with 15 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2010-12-05 18:12-EST Gregory John Casamento <greg.casamento@gmail.com>
* Palettes/4Data/GormImageViewAttributesInspector.m: Remove check for
name so that images which currently do not reference a known image
can be saved by name.
* Palettes/4Data/GormNSImageViewInspector.gorm: Add connection
to ok: from the text field.
2010-11-01 Riccardo Mottola
* Plugins/Xib/GormXibWrapperLoader.m

View file

@ -76,13 +76,17 @@
image = [NSImage imageNamed: name];
if (image == nil)
{
image = [[NSImage alloc] initByReferencingFile: name];
image = [[NSImage alloc] init]; // [[NSImage alloc] initByReferencingFile: name];
if (image)
{
[image setName: name];
}
else
{
// NSBeep();
}
}
else
// else
{
[object setImage: image ];
}
@ -132,7 +136,7 @@
/* delegate method for changing the ImageView Name */
- (void)controlTextDidChange:(NSNotification *)aNotification
{
[self ok:[aNotification object]];
// [self ok:[aNotification object]];
}
@end