mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
Improvements for ToolTips.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35499 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7d65149660
commit
35f7ebe42d
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-09-02 German A. Arias <german@xelalug.org>
|
||||
|
||||
* Source/GSToolTips.m (_timedOut:): Don't display the tooltip
|
||||
window (GSTTPanel) if the tooltip is nil or is an empty string.
|
||||
|
||||
2012-09-02 13:56-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/GSXibLoader.m: Correct issue with reuse of enumerator.
|
||||
|
|
|
@ -573,9 +573,10 @@ static BOOL restoreMouseMoved;
|
|||
// but need the userinfo object to remain valid for the
|
||||
// remainder of this method.
|
||||
toolTipString = [[[aTimer userInfo] retain] autorelease];
|
||||
if (nil == toolTipString)
|
||||
if ( (nil == toolTipString) ||
|
||||
([toolTipString isEqualToString: @""]) )
|
||||
{
|
||||
toolTipString = @"";
|
||||
return;
|
||||
}
|
||||
|
||||
if (timer != nil)
|
||||
|
|
Loading…
Reference in a new issue