X-Git-Url: https://git.ktnx.net/?p=icedeb.git;a=blobdiff_plain;f=chrome%2Fcontent%2Ficedeb.js;h=9c393462bca055985bcc77c96c320bd50705dafb;hp=a8f2e9c095ce3ea569c2aa2f0d7525bcc36d7b84;hb=967f267a7ad4d2d09057718f32102855184d7f7e;hpb=d87756e03abd9f0418f78c8cea63d53706e1c501 diff --git a/chrome/content/icedeb.js b/chrome/content/icedeb.js index a8f2e9c..9c39346 100644 --- a/chrome/content/icedeb.js +++ b/chrome/content/icedeb.js @@ -85,6 +85,20 @@ IceDeb = { loadURI(uri); } }, + lookup_ml: function(in_new) { + var msg_id = IceDeb.trim_keyword(IceDeb.getClipboardText()); + if (!msg_id) msg_id = ''; + var uri="http://lists.debian.org/msgid-search/" + msg_id; + + if (in_new) { + var b = getBrowser(); + var new_tab = b.addTab(uri); + b.selectedTab = new_tab; + } + else { + loadURI(uri); + } + }, btsButton: function (e) { if ( e.button == 0 ) @@ -103,6 +117,12 @@ IceDeb = { IceDeb.lookup_deb(false) else if ( e.button == 1 ) IceDeb.lookup_deb(true); + }, + mlButton: function (e) { + if ( e.button == 0 ) + IceDeb.lookup_ml(false) + else if ( e.button == 1 ) + IceDeb.lookup_ml(true); } }