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:
Germán Arias 2012-09-03 01:28:33 +00:00
parent 7d65149660
commit 35f7ebe42d
2 changed files with 8 additions and 2 deletions

View file

@ -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.

View file

@ -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)