I was able to get prism + gears to work by modifying /usr/share/xul-ext-
gears/components/stub.js.

I had already done this trick before ubuntu had packages for prism and
gears. Here's where I heard about it:
http://westacular.livejournal.com/43666.html

The thing is that when gears is triggered inside xulrunner, stub.js is
used to tell gears under what version it is being run. However, under
prism the version reported is not firefox's but prism's. A quick hack of
firefoxVersion == "1.0" return "ff36"; is enough (see attached patch).

My suggestion for a cleaner fix would be that depending on what release
you package against, you change the return value. In example: return
ff35 for Karmic and ff36 for Lucid.

My test case is gmail offline under prism in lucid (firefox 3.6).

** Patch added: "ugly workaround for lucid (firefox 3.6)"
   http://launchpadlibrarian.net/47432863/gears-ubuntu.patch

-- 
Gears do not work in prism
https://bugs.launchpad.net/bugs/481498
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to