[Pkg-mozext-commits] [firebug] 23/56: Issue 7686 - introduce action handlers
David Prévot
taffit at moszumanska.debian.org
Wed Nov 19 21:01:43 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit 407151242f3b6c68a6db27fb149b146dac97b6c1
Author: Jan Odvarko <odvarko at gmail.com>
Date: Tue Oct 21 11:34:51 2014 +0200
Issue 7686 - introduce action handlers
---
.../firebug/firefox/multiprocessNotificationPanel.xml | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/extension/content/firebug/firefox/multiprocessNotificationPanel.xml b/extension/content/firebug/firefox/multiprocessNotificationPanel.xml
index b7fb6cf..6a00869 100644
--- a/extension/content/firebug/firefox/multiprocessNotificationPanel.xml
+++ b/extension/content/firebug/firefox/multiprocessNotificationPanel.xml
@@ -33,10 +33,10 @@
class="text-link popup-notification-learnmore-link learnMore"
href="https://getfirebug.com/"/>
<xul:hbox align="right">
- <xul:button anonid="upgrade" type="menu-button"
+ <xul:button anonid="upgrade" type="menu-button" oncommand="onUpgrade(event)"
class="popup-notification-menubutton">
<xul:menupopup>
- <xul:menuitem anonid="disable"/>
+ <xul:menuitem anonid="disable" oncommand="onDisable(event)"/>
</xul:menupopup>
</xul:button>
</xul:hbox>
@@ -80,6 +80,21 @@
panel.openPopup(startButton.button, "after_end", -offsetX, -offsetY, false, false);
]]></body>
</method>
+
+ <method name="onDisable">
+ <parameter name="event" />
+ <body><![CDATA[
+ event.stopPropagation();
+ ]]></body>
+ </method>
+
+ <method name="onUpgrade">
+ <parameter name="event" />
+ <body><![CDATA[
+ event.stopPropagation();
+ ]]></body>
+ </method>
+
</implementation>
</binding>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list