[Pkg-mozext-commits] [firexpath] 38/51: Issue36: fix a bug which was causing the "Inspect in FirePath" context menu item not to show up
David Prévot
taffit at moszumanska.debian.org
Sun Mar 22 15:08:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firexpath.
commit 0a0d11a2a71a06e996652d29fb1990f087562fa2
Author: pierre.tholence at gmail.com <pierre.tholence at gmail.com@dfa30af4-1965-11df-8728-136f2c2ca76e>
Date: Sun Jun 9 13:13:41 2013 +0000
Issue36: fix a bug which was causing the "Inspect in FirePath" context menu item not to show up
git-svn-id: http://firepath.googlecode.com/svn/trunk@46 dfa30af4-1965-11df-8728-136f2c2ca76e
---
chrome.manifest | 1 +
content/browserOverlay.xul | 13 +++++++++++++
content/firebugOverlay.xul | 7 -------
3 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/chrome.manifest b/chrome.manifest
index 77234bd..4101909 100644
--- a/chrome.manifest
+++ b/chrome.manifest
@@ -2,3 +2,4 @@ content firepath content/
locale firepath en-US locale/en-US/
skin firepath classic/1.0 skin/classic/
overlay chrome://firebug/content/firebugOverlay.xul chrome://firepath/content/firebugOverlay.xul
+overlay chrome://browser/content/browser.xul chrome://firepath/content/browserOverlay.xul
diff --git a/content/browserOverlay.xul b/content/browserOverlay.xul
new file mode 100644
index 0000000..1b1a705
--- /dev/null
+++ b/content/browserOverlay.xul
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE overlay SYSTEM "chrome://firepath/locale/FirePath.dtd">
+
+<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+ <popup id="contentAreaContextMenu">
+ <menuitem id="menu_fpShow" label="&FirePath.context.show.label;"
+ insertafter="context-inspect"
+ oncommand="var node = document.popupNode;Firebug.browserOverlay.startFirebug(function(){Firebug.toggleBar(true); Firebug.chrome.selectPanel('firepath').updateSelection(node);})"
+ accesskey="&FirePath.context.show.key;"/>
+ </popup>
+
+</overlay>
diff --git a/content/firebugOverlay.xul b/content/firebugOverlay.xul
index a4ace75..7766bb4 100644
--- a/content/firebugOverlay.xul
+++ b/content/firebugOverlay.xul
@@ -10,13 +10,6 @@
<stringbundle id="Firepath_strings" src="chrome://firepath/locale/FirePath.properties"/>
</stringbundleset>
- <popup id="contentAreaContextMenu">
- <menuitem id="menu_fpShow" label="&FirePath.context.show.label;"
- insertafter="context-viewpartialsource-selection"
- oncommand="Firebug.toggleBar(true); Firebug.chrome.selectPanel('firepath').updateSelection(document.popupNode)"
- accesskey="&FirePath.context.show.key;"/>
- </popup>
-
<hbox id="fbToolbarInner">
<toolbarbutton id="FirePathBarHighlightButton" collapsed="true" label="&FirePath.highlight.button;" class="toolbar-text-button"
oncommand="Firebug.FirePathPanel.ResultHighlightModule.toggleHighlight();"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firexpath.git
More information about the Pkg-mozext-commits
mailing list