git-svn-id: svn://qnap.local/TwoTerm/trunk@1792 5590a31f-7b70-45f8-8c82-aa3a8e5f4507

This commit is contained in:
Kelvin Sherlock
2010-10-06 00:39:09 +00:00
parent 9c9741dcc8
commit 7d5ddda36d
10 changed files with 80 additions and 58 deletions
+9 -1
View File
@@ -8,6 +8,7 @@
#import "NewTerminalWindowController.h"
#import "Emulator.h"
#import "Defaults.h"
@implementation NewTerminalWindowController
@@ -22,7 +23,7 @@
- (void)dealloc {
// Clean-up code here.
[_terminalTypeButton release];
//[_terminalTypeButton release];
[super dealloc];
}
@@ -53,6 +54,13 @@
if (klass)
{
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
NSDictionary *userInfo = [NSDictionary dictionaryWithObjectsAndKeys:
klass, @"Class",
nil];
[nc postNotificationName: kNotificationNewTerminal object: self userInfo: userInfo];
// post notificiation...
}