Got Gmail webapp to support the message indicator - but only in Firefox.
Launching Gmail with Chromium still doesn't support the message
indicator.

As somebody already posted in
https://bugs.launchpad.net/ubuntu/+source/unity-webapps-gmail/+bug/1073397/comments/24
 and 
https://bugs.launchpad.net/ubuntu/+source/unity-webapps-gmail/+bug/1073397/comments/25
I changed two lines in 
/usr/share/unity-webapps/userscripts/unity-webapps-gmail/GMail.user.js which 
were:

1st original line
var tag = document.evaluate('//div[@aria-label="Navigate to"]/span', document, 
null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;

translated into German and changed to
var tag = document.evaluate('//div[@aria-label="zu wechseln"]/span', document, 
null, XPathResult.ANY_UNORDERED_NODE_TYPE, null).singleNodeValue;

2nd line
if (tag.textContent != 'Gmail' && tag.textContent != 'Mail') {

changed to
if (tag != null && tag.textContent != 'Gmail' && tag.textContent != 'Mail') {

Then deleted the webapp integration and restarted all unity-webapps
services and daemons, recreated webapp integration with Firefox for
Gmail and saw the unread message counter. But as mentioned in the
beginning as soon I use Chromium the message counter is not set in the
message indicator.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity-chromium-extension in Ubuntu.
https://bugs.launchpad.net/bugs/1068662

Title:
  webapps are not working :(

Status in Chromium extension: Unity Integration:
  Confirmed
Status in Common Data Shared by WebApps:
  Confirmed
Status in “unity-chromium-extension” package in Ubuntu:
  Confirmed
Status in “webapps-applications” package in Ubuntu:
  Confirmed

Bug description:
  After upgrading my 12.04 to 12.10 - web apps do not work out of the
  box (I had to install the chromium extension myself). Additionally,
  even after installing the extension, webapps are not working fully.
  Please see thread here:

  http://ubuntuforums.org/showthread.php?t=2073068

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-chromium-extension/+bug/1068662/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to