unityLoaded never gets called
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-webapps-gmail (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is a continuation of bug #1059051 which seems to be resolved for some but not others.
I'm using 2.4.7 of unity-webapps-gmail in Firefox 16.0.2+
As described on bug #1059051, the request to install appears, but nothing appears in the launcher - nor are there any menu or other integrations.
No errors appear in the console if Firefox is launched from a terminal.
By using a bit of judicious `window.alert' debugging in /usr/share/
I'm guessing that the delay introduced by setTimeout/
Without knowing more about Unity.init and the purpose of "wrapCallback", I'm not sure what's going on. Is there any documentation?
Found it, it's the passing of "login" which doesn't work. Removing "login" from the call to `Unity.init' gets me a launcher icon:
----8<----
Unity. init({ name: "GMail",
iconUrl: "icon:/ /unity- webapps- gmail",
homepage: 'https:/ /mail.google. com',
domain: 'mail.google.com',
onInit: wrapCallback( unityLoaded) });
---->8----