mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
Small improvement for StatusIcon gtk2 trayicon
git-svn-id: trunk@30368 -
This commit is contained in:
parent
8a283e8229
commit
ad4b98c8e6
@ -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;
|
||||
|
||||
{*******************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user