Thanks all. I tried to add a .desktop file and it worked well~ Now I create a new window, no other trayicon will pop up again. Instead a number appeared in the icon in TN, showing how many window I have created.<br><br><div>
<span class="gmail_quote">On 1/31/08, <b class="gmail_sendername">Mingxi Wu</b> <<a href="mailto:fengshenx@gmail.com">fengshenx@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
Try to write a .desktop file including icon hint for your application and throw it into /usr/share/applications.<br><br><div><span class="gmail_quote">2008/1/30, ³Â¿ <<a href="mailto:chenkai036@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chenkai036@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.80ex; padding-left: 1ex">
<div><span class="e" id="q_117cba6f41d29bd3_1"> Hi, everyone<br><br>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.<br>
<br>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<br>
<br>-----<br>Chenkai<br><br></span></div>_______________________________________________<br>maemo-developers mailing list<br><a href="mailto:maemo-developers@maemo.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">maemo-developers@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br><br></blockquote>
</div><br></blockquote></div><br>