Re: nsIDOMWindow from nsIDocShellTreeItem

2007-04-24 Thread krithika
On Apr 24, 2:14 pm, Michal Ceresna <[EMAIL PROTECTED]> wrote: > On Monday 23 April 2007, krithika wrote: > > The tabbed browsing functionality is implemented using XUL. > So you have to load the XUL of with a tabbed browser, > get JS object implementing the tabbed browser and call its methods. > >

Re: difference between navigating to url and clicking link to url

2007-04-24 Thread Grant Gayed
Thanks for the help Boris, it's working for me now. Grant "Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Grant Gayed wrote: > > - Is it expected that nsIURIContentListener.IsPreferred(...) gets called > > when clicking on a link but not when navigating directly to

nsIHTMLEditor and virtual keyboard interaction

2007-04-24 Thread André Pedralho
Hi all, I'm working in an app that interacts with nsIHTMLEditor's using a virtual keyboard. I'm able to write inside the editors, however, I can't write spaces (" "). All the spaces are striped when the next character is typed. I think it occurs because for each typed character I do a insertHTML("

Re: Controlling Browser preferences

2007-04-24 Thread Michal Ceresna
On Friday 20 April 2007, krithika wrote: > Can somebody tell me how to control the preferences after embedding > gecko in a java application. nsIServiceManager sm = moz.getServiceManager(); nsIPrefService ps = (nsIPrefService) serviceManager.getServiceByContractID("@mozilla.org/preferences-servic

Re: nsIDOMWindow from nsIDocShellTreeItem

2007-04-24 Thread Michal Ceresna
On Monday 23 April 2007, krithika wrote: The tabbed browsing functionality is implemented using XUL. So you have to load the XUL of with a tabbed browser, get JS object implementing the tabbed browser and call its methods. Probably, the easier way is just open more embedding windows ;-) best re