All the rest
------------
-Copyright (C) 2009, 2010, 2011 Damyan Ivanov <dmn@debian.org>
+Copyright (C) 2009, 2010, 2011, 2012 Damyan Ivanov <dmn@debian.org>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
#wrapper-icedeb-ml
{list-style-image: url("chrome://icedeb/content/icedeb-ml.png");}
+#icedeb-ddpo,
+#wrapper-icedeb-ddpo
+{list-style-image: url("chrome://icedeb/content/icedeb-ddpo.png");}
+
/* common style for all custom buttons */
.icedeb-button
{-moz-image-region: rect( 0px 24px 24px 0px);}
loadURI(uri);
}
},
+ lookup_ddpo: function(in_new) {
+ var keyword = IceDeb.trim_keyword(IceDeb.getClipboardText());
+ var uri="http://qa.debian.org/developer.php";
+
+ if (keyword) uri += "?login=" + keyword;
+
+ 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_ml(false)
else if ( e.button == 1 )
IceDeb.lookup_ml(true);
+ },
+ ddpoButton: function (e) {
+ if ( e.button == 0 )
+ IceDeb.lookup_ddpo(false)
+ else if ( e.button == 1 )
+ IceDeb.lookup_ddpo(true);
}
}
<toolbarbutton id="icedeb-pts"/>
<toolbarbutton id="icedeb-deb"/>
<toolbarbutton id="icedeb-ml"/>
+ <toolbarbutton id="icedeb-ddpo"/>
</toolbarpalette>
class="toolbarbutton-1 chromeclass-toolbar-additional icedeb-ml icedeb-button"
/>
+<toolbarbutton id="icedeb-ddpo"
+ label="&ddpo.label;"
+ tooltiptext="&ddpo.tooltiptext;"
+ onclick="IceDeb.ddpoButton(event)"
+ class="toolbarbutton-1 chromeclass-toolbar-additional icedeb-ddpo icedeb-button"
+ />
+
</overlay>
<!ENTITY deb.tooltiptext "Информация за пакет">
<!ENTITY ml.label "Списъци">
<!ENTITY ml.tooltiptext "Търсене по идентификатор на съобщение в пощенските списъци на Дебиан">
+<!ENTITY ddpo.label "Обзор">
+<!ENTITY ddpo.tooltiptext "Обобщена информация за пакетите на даден разработчик на Дебиан">
<!ENTITY deb.tooltiptext "Show information about binary deb package">
<!ENTITY ml.label "Debian ML">
<!ENTITY ml.tooltiptext "Search Debian mailing list by message ID">
+<!ENTITY ddpo.label "DDPO">
+<!ENTITY ddpo.tooltiptext "Show an overview of Debian developer contributions">
<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, message-ID) and click on one of the buttons. Clicking with the middle mouse button opens a new tab.</em:description>
+ <em:description>Buttons for querying Debian-related pages using the text in the clipboard. Place some text in the clipboard (package name, bug number, message-ID, developer ID/email) 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>