Here is a basic patch for French Gmail users.

Note that the original script does work only for English GMail, since
there is an explicit référence to english text in function
"checkMessangesCount()".  '//div[@aria-label="Navigate to"]/span'. In
the french GMail version the XPath translates to: '//div[@aria-
label="Accéder à"]/span'. Please find another XPath that is language
independent.

For french users that can't wait for an official patch, I attached a
quick fix *FOR FRENCH USERS ONLY*

To apply:

sudo apt-get install --reinstall unity-webapps-gmail
cd; 
wget 
https://bugs.launchpad.net/ubuntu/+source/unity-webapps-gmail/+bug/1073397/+attachment/3424017/+files/GMail.user.js.patch.fr;
 
cd /usr/share/unity-webapps/userscripts/unity-webapps-gmail/; 
sudo patch GMail.user.js < ~/GMail.user.js.patch.fr; 


Notice that I retired the "Compose message" entry because I did not manage to 
make it work properly.





** Attachment added: "A very basic patch for french GMail users"
   
https://bugs.launchpad.net/ubuntu/+source/unity-webapps-gmail/+bug/1073397/+attachment/3444931/+files/GMail.user.js.patch.fr

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1073397

Title:
  unityLoaded never gets called

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-webapps-gmail/+bug/1073397/+subscriptions

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

Reply via email to