mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-23 06:20:47 +00:00
Fix class update notification and add outlets and actions to GormLanguageViewController
This commit is contained in:
parent
947b350444
commit
548f2478f8
3 changed files with 12 additions and 1 deletions
|
@ -1,9 +1,20 @@
|
|||
{
|
||||
"## Comment" = "Do NOT change this file, Gorm maintains it";
|
||||
FirstResponder = {
|
||||
Actions = (
|
||||
"updateTargetLanguage:",
|
||||
"updateSourceLanguage:"
|
||||
);
|
||||
Super = NSObject;
|
||||
};
|
||||
GormLanguageViewController = {
|
||||
Actions = (
|
||||
"updateTargetLanguage:",
|
||||
"updateSourceLanguage:"
|
||||
);
|
||||
Outlets = (
|
||||
targetLanguage,
|
||||
sourceLanguage
|
||||
);
|
||||
Super = NSViewController;
|
||||
};
|
||||
|
|
Binary file not shown.
|
@ -684,7 +684,7 @@ objectValueForTableColumn: (NSTableColumn *)tc
|
|||
- (void) handleNotification: (NSNotification *)notification
|
||||
{
|
||||
if([notification object] == classManager &&
|
||||
[(id<IB>)[[NSApp delegate] delegate] activeDocument] != nil)
|
||||
(id<IB>)[[NSApp delegate] activeDocument] != nil)
|
||||
{
|
||||
[self _refreshView];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue