mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 17:40:56 +00:00
Add the timers for NSModalPanelRunLoopMode as well.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36187 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f520eb658d
commit
78e4d15232
4 changed files with 16 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2013-02-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/GSToolTips.m
|
||||
* Source/NSProgressIndicator.m
|
||||
* Source/NSTextView.m: Add the timers for NSModalPanelRunLoopMode
|
||||
as well.
|
||||
|
||||
2013-02-22 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSTabView.m (-minimumSize, -contentRect): Make the values
|
||||
|
|
|
@ -26,11 +26,13 @@
|
|||
*/
|
||||
|
||||
#import <Foundation/NSGeometry.h>
|
||||
#import <Foundation/NSRunLoop.h>
|
||||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSTimer.h>
|
||||
#import <Foundation/NSIndexSet.h>
|
||||
#import <Foundation/NSUserDefaults.h>
|
||||
|
||||
#import "AppKit/NSApplication.h"
|
||||
#import "AppKit/NSAttributedString.h"
|
||||
#import "AppKit/NSBezierPath.h"
|
||||
#import "AppKit/NSEvent.h"
|
||||
|
@ -363,6 +365,7 @@ static BOOL restoreMouseMoved;
|
|||
selector: @selector(_timedOut:)
|
||||
userInfo: toolTipString
|
||||
repeats: YES];
|
||||
[[NSRunLoop currentRunLoop] addTimer: timer forMode: NSModalPanelRunLoopMode];
|
||||
timedObject = self;
|
||||
if ([[view window] acceptsMouseMovedEvents] == YES)
|
||||
{
|
||||
|
|
|
@ -27,8 +27,10 @@
|
|||
*/
|
||||
|
||||
#import <Foundation/NSAutoreleasePool.h>
|
||||
#import <Foundation/NSRunLoop.h>
|
||||
#import <Foundation/NSThread.h>
|
||||
#import <Foundation/NSTimer.h>
|
||||
#import "AppKit/NSApplication.h"
|
||||
#import "AppKit/NSProgressIndicator.h"
|
||||
#import "AppKit/NSGraphics.h"
|
||||
#import "AppKit/NSImage.h"
|
||||
|
@ -132,6 +134,7 @@
|
|||
selector: @selector(animate:)
|
||||
userInfo: nil
|
||||
repeats: YES]);
|
||||
[[NSRunLoop currentRunLoop] addTimer: _timer forMode: NSModalPanelRunLoopMode];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -4132,6 +4132,8 @@ Figure out how the additional layout stuff is supposed to work.
|
|||
selector: @selector(_blink:)
|
||||
userInfo: nil
|
||||
repeats: YES];
|
||||
[[NSRunLoop currentRunLoop] addTimer: _insertionPointTimer
|
||||
forMode: NSModalPanelRunLoopMode];
|
||||
RETAIN(_insertionPointTimer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue