diff options
author | DotMG | 2008-06-12 08:39:23 +0000 |
---|---|---|
committer | DotMG | 2008-06-12 08:39:23 +0000 |
commit | e2249efdd1127684a1e90323c14de9b777354016 (patch) | |
tree | 6a5a1aac1c41c85d0036f985f96a86acaa2bd3de /gvimail.js | |
parent | 9008b003167e0239151ab18dc9e45986b5b5185b (diff) | |
download | vimperator-plugins-e2249efdd1127684a1e90323c14de9b777354016.tar.bz2 |
On viewing message list, if to one message is assigned a label, there are 2 links having exactly the same text, and you have to type 1 or 2 to select the message, because the 2 links remain even if you type the entire text hint.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@13685 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'gvimail.js')
-rw-r--r-- | gvimail.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -90,7 +90,8 @@ viberator.mappings.addUserMap(GViMail.modes, ["zR"], var gmail_v2_hinttags =
"//span[@selector]"
// Menu Settings, Older version, Compose Mail, Inbox, Starred .. Contacts, Labels, turn on/off chat
- + " | //span[@role='link']"
+ // The [not(ancestor::tr//td[@class='mka4te'])] is to avoid interferring with //td[@class='mka4te']/ancestor::tr/td[5], see Select message in the list below
+ + " | //span[@role='link'][not(ancestor::tr//td[@class='mka4te'])]"
// Refresh, Back to "label", Reply to all, Forward, Filter messages like this, ...
// You could just use //div[@act] here, but there appears 4 unwanted hints when first-viewing a message
+ " | //div[@act][not(ancestor::div[contains(concat(' ', @class, ' '), ' zWKgkf ')]) or (ancestor::div[contains(concat(' ', @class, ' '), ' zWKgkf ') and contains(@style, 'visibility')])]"
|