From e2249efdd1127684a1e90323c14de9b777354016 Mon Sep 17 00:00:00 2001 From: DotMG Date: Thu, 12 Jun 2008 08:39:23 +0000 Subject: 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 --- gvimail.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gvimail.js') diff --git a/gvimail.js b/gvimail.js index 2dce8be..56c234e 100644 --- a/gvimail.js +++ b/gvimail.js @@ -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')])]" -- cgit v1.2.3