mirror of
https://github.com/ksherlock/TwoTerm.git
synced 2026-04-20 03:16:54 +00:00
git-svn-id: svn://qnap.local/TwoTerm/trunk@1792 5590a31f-7b70-45f8-8c82-aa3a8e5f4507
This commit is contained in:
@@ -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...
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user