mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 11:36:05 +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
|
* Now shows the GtkPlug
|
||||||
*******************************************************************}
|
*******************************************************************}
|
||||||
TrayIconHandle.Show;
|
TrayIconHandle.Show;
|
||||||
|
{$ifdef UseStatusIcon}
|
||||||
|
Result := True;
|
||||||
|
{$else}
|
||||||
if TrayIconHandle.fEmbedded then
|
if TrayIconHandle.fEmbedded then
|
||||||
Result := True
|
Result := True
|
||||||
else
|
else
|
||||||
Hide(ATrayIcon);
|
Hide(ATrayIcon);
|
||||||
|
{$endif}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{*******************************************************************
|
{*******************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user