Comment 21 for bug 1073397

Revision history for this message
Jean-Luc Thirion (jlinho) wrote :

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/XXXXX/+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.