Hi,
The frame is not shown intentionally. You can toggle visibility from the
taskbaricon
Unity restricts which applications can display in the system tray. To
restore ability of all apps to use:
gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"
Log out / Log in - TaskBarIcon is visible.
I think you could just add perl to the list by doing
gsettings set com.canonical.Unity.Panel systray-whitelist
"['JavaEmbeddedFrame', 'Mumble', 'Wine', 'Skype', 'hp-systray', 'perl']"
but not entirely sure if this works. Probably better to use one of the
gsettings editors.
Hope it helps
Mark
On 07/07/2011 00:00, herbert breunung wrote:
works on windows but i see nothing on ubuntu,
which might be due unity.
thank you
Am 04.07.2011 06:45, schrieb Mark Dootson:
Hi,
Attached test script gives working Wx::TaskBarIcon on both Linux and Windows
for me.
I think the main issue using Wx::TaskBarIcon is that you cannot call
$taskbaricon->Destroy() within an event handler for the taskbar icon itself
(hence the AddPendingEvent action in the example).
I actually find this to be the case for many windows under none MSW platforms.
If you destroy a window from within one of its own event handlers, then you
get a segmentation fault or bus error. I haven't really tested this out fully
because avoiding calling 'Destroy' directly is such a simple workaround.
Hope it helps
Mark
On 23/06/2011 02:05, herbert breunung wrote:
hai nice people here
its understood that you have to
$win->{'tb_icon'} = Wx::TaskBarIcon->new( );
$win->{'tb_icon'}->SetIcon( Wx::GetWxPerlIcon() );
#$win->{'tb_icon'}->RemoveIcon;
$win->{'tb_icon'}->Destroy;
but this works only under windows,
linux gives you a nice memory access error.
i think this is a bug
further more it cant be destroyed on app shutdown, but
maybe i didnt found the solution and have to derive from it or something,
cant find it in the dmeo app.
thanks for reading