mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 18:10:38 +00:00
* Headers/AppKit/NSSpeechSynthesizer.h: Added _module ivar.
* Source/NSDrawer.m: Don't set the timer since it eats a lot of CPU. * Source/NSPasteboard.m: Retain the path since it's autoreleased. * Source/NSTextView.m: Set the textview to allow undos by default. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28186 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7d79f9683b
commit
b14f6d35eb
5 changed files with 16 additions and 7 deletions
|
@ -208,7 +208,7 @@ static NSNotificationCenter *nc = nil;
|
|||
|
||||
- (void) startTimer
|
||||
{
|
||||
NSTimeInterval time = 0.1;
|
||||
NSTimeInterval time = 2.0;
|
||||
_timer = [NSTimer scheduledTimerWithTimeInterval: time
|
||||
target: self
|
||||
selector: @selector(_timedWindowReset)
|
||||
|
@ -246,14 +246,14 @@ static NSNotificationCenter *nc = nil;
|
|||
// [self setFrame: frame display: YES];
|
||||
[self slide];
|
||||
[self orderFront: self];
|
||||
[self startTimer];
|
||||
// [self startTimer];
|
||||
}
|
||||
|
||||
- (void) closeOnEdge
|
||||
{
|
||||
NSRect frame = [self frameFromParentWindowFrame];
|
||||
|
||||
[self stopTimer];
|
||||
// [self stopTimer];
|
||||
[self slide];
|
||||
[self setFrame: frame display: YES];
|
||||
[self orderOut: self];
|
||||
|
@ -311,13 +311,13 @@ static NSNotificationCenter *nc = nil;
|
|||
|
||||
- (void) handleWindowClose: (NSNotification *)notification
|
||||
{
|
||||
[self stopTimer];
|
||||
// [self stopTimer];
|
||||
[self close];
|
||||
}
|
||||
|
||||
- (void) handleWindowMiniaturize: (NSNotification *)notification
|
||||
{
|
||||
[self stopTimer];
|
||||
// [self stopTimer];
|
||||
[self close];
|
||||
}
|
||||
|
||||
|
@ -404,7 +404,7 @@ static NSNotificationCenter *nc = nil;
|
|||
|
||||
- (void) dealloc
|
||||
{
|
||||
[self stopTimer];
|
||||
// [self stopTimer];
|
||||
RELEASE(_parentWindow);
|
||||
TEST_RELEASE(_pendingParentWindow);
|
||||
[super dealloc];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue