Thanks for the responses. Sorry, I did not read the wiki page completely. So I followed the instruction towards the top of the page. Put the icon in a directory /icons/default, with name = id of XUL tag. Packaged the chrome into a jar with the icon in the above directory. Then set the Icon property to /chrome/icons/default/<myapp-id> in Application.ini Does this feature work?
Thanks, -Sandip -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Smedberg Sent: Friday, January 26, 2007 6:05 AM To: [email protected] Subject: Re: Changing the Icon of a XULRunner App Sandip Ghosh wrote: > Is there a way to configure a XULRunner app so that on windows it > displays a specific icon in the task bar and the Application Main window? > > > > > I tried following this article: > http://wiki.mozilla.org/XUL:XUL_Application_Packaging You did note the large note "This has been superceded", right? articles on wiki.mozilla.org are planning docs for future features. > But it did not seem to work. I was'nt clear if I should specify a > relative path or a full path (starting from drive), I tried both a path > relative to directory that application.ini is in and a full path starting > with drive. What path are you talking about? The paragraph near the top is correct (for Windows/Linux): To add an icon in the application window you must create, in the chrome, an "icons" folder and inside it a "default" folder. In that folder you can insert your icons with the same name of the "id" value of the window tag in xul page. --BDS _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
