Comment 5 for bug 481498

Revision history for this message
Olivier Bilodeau (plaxx) wrote :

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).