mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 19:51:00 +00:00
* 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:
parent
dce7c06f1f
commit
aaf510c28a
4 changed files with 15 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue