[maemo-developers] [Maemo App Dev] how to create multi-window app with only one trayicon in Task Navigator

From: Charles Werbick roadmapformaemo at gmail.com
Date: Wed Jan 30 17:47:59 EET 2008
On Jan 29, 2008 11:34 PM, 陈凯 <chenkai036 at gmail.com> wrote:
> Hi, everyone
>
> I am about to write an app containing multi-window and user can switch from
> one and another at any time.  While I show a second hildon.Window, another
> icon pops up in the TaskNavigator.  It looks ugly and confuses the user as
> if the two window are irrelevant.
>
> I found Pidgin and Opera which can have multi-window but only one trayicon
> in TN.  I dived into Pidgin source code but in vain.  I don't know how they
> achieve that effect.  Could anyone give me some hint or suggestion?  Thanks
> a lot


The same executable running twice shows as one icon with a small '2'
on it. Two different executables show as 2 icons. If you make your app
one executable you should get only one taskbar icon. Without knowing
more about your application, it's hard to say whether this'll help you
though... Good Luck!

cheers,
Charles Werbick
More information about the maemo-developers mailing list