Small improvement for StatusIcon gtk2 trayicon

git-svn-id: trunk@30368 -
This commit is contained in:
sekelsenmat 2011-04-18 09:41:23 +00:00
parent 8a283e8229
commit ad4b98c8e6

View File

@ -479,10 +479,14 @@ begin
* Now shows the GtkPlug
*******************************************************************}
TrayIconHandle.Show;
{$ifdef UseStatusIcon}
Result := True;
{$else}
if TrayIconHandle.fEmbedded then
Result := True
else
Hide(ATrayIcon);
{$endif}
end;
{*******************************************************************