#wrapper-icedeb-deb
{list-style-image: url("chrome://icedeb/content/icedeb-deb.png");}
+#icedeb-ml,
+#wrapper-icedeb-ml
+{list-style-image: url("chrome://icedeb/content/icedeb-ml.png");}
+
/* common style for all custom buttons */
.icedeb-button
{-moz-image-region: rect( 0px 24px 24px 0px);}
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 )
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);
}
}
<toolbarbutton id="icedeb-bts"/>
<toolbarbutton id="icedeb-pts"/>
<toolbarbutton id="icedeb-deb"/>
+ <toolbarbutton id="icedeb-ml"/>
</toolbarpalette>
class="toolbarbutton-1 chromeclass-toolbar-additional icedeb-deb icedeb-button"
/>
+<toolbarbutton id="icedeb-ml"
+ label="&ml.label;"
+ tooltiptext="&ml.tooltiptext;"
+ onclick="IceDeb.mlButton(event)"
+ class="toolbarbutton-1 chromeclass-toolbar-additional icedeb-ml icedeb-button"
+ />
+
</overlay>
<!ENTITY pts.tooltiptext "Запитване до системата за следене на пакети на Дебиан">
<!ENTITY deb.label ".deb пакет">
<!ENTITY deb.tooltiptext "Информация за пакет">
+<!ENTITY ml.label "Списъци">
+<!ENTITY ml.tooltiptext "Търсене по идентификатор на съобщение в пощенските списъци на Дебиан">
<!ENTITY pts.tooltiptext "Query Debian Package tracking system using the text in the clipboard">
<!ENTITY deb.label ".deb info">
<!ENTITY deb.tooltiptext "Show information about binary deb package">
+<!ENTITY ml.label "Debian ML">
+<!ENTITY ml.tooltiptext "Search Debian mailing list by message ID">
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest">
<em:name>Debian buttons</em:name>
- <em:description>Collection of buttons for querying Debian-related pages using the text in the clipboard. Place some text in the clipboard (package name, bug number) and click on one of the buttons. Clicking with the middle mouse button opens a new tab.</em:description>
+ <em:description>Collection of buttons for querying Debian-related pages using the text in the clipboard. Place some text in the clipboard (package name, bug number, message-ID) and click on one of the buttons. Clicking with the middle mouse button opens a new tab.</em:description>
<em:creator>Damyan Ivanov</em:creator>
<em:id>{8fb11c5b-84eb-4da0-9128-292eacce2dcb}</em:id>
<em:version>1.5</em:version>