[Pkg-mozext-commits] [firebug] 33/48: Moved script pretty-print button to the right of the location menu button (related to issue 7305)

David Prévot taffit at moszumanska.debian.org
Tue Jun 3 01:47:45 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 fccfcd14a48c50c78fc0d9183803543456672e56
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date:   Wed May 28 00:12:40 2014 +0200

    Moved script pretty-print button to the right of the location menu
    button (related to issue 7305)
---
 extension/content/firebug/debugger/script/scriptPanel.js |  1 +
 extension/content/firebug/firebugOverlay.xul             | 15 +++++++++------
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/extension/content/firebug/debugger/script/scriptPanel.js b/extension/content/firebug/debugger/script/scriptPanel.js
index bc5536e..8455255 100644
--- a/extension/content/firebug/debugger/script/scriptPanel.js
+++ b/extension/content/firebug/debugger/script/scriptPanel.js
@@ -214,6 +214,7 @@ ScriptPanel.prototype = Obj.extend(BasePanel,
         this.showToolbarButtons("fbLocationSeparator", false);
         this.showToolbarButtons("fbLocationButtons", active);
         this.showToolbarButtons("fbDebuggerButtons", active);
+        this.showToolbarButtons("fbScriptsButtons", active);
         this.showToolbarButtons("fbScriptButtons", active);
         this.showToolbarButtons("fbStatusButtons", active);
         this.showToolbarButtons("fbLocationList", active);
diff --git a/extension/content/firebug/firebugOverlay.xul b/extension/content/firebug/firebugOverlay.xul
index 1966ad4..2ef6391 100644
--- a/extension/content/firebug/firebugOverlay.xul
+++ b/extension/content/firebug/firebugOverlay.xul
@@ -224,7 +224,7 @@
                                             command="cmd_firebug_toggleHTMLEditing"/>
                                     </hbox>
 
-                                    <hbox id="fbScriptButtons" collapsed="true" class="noTabStop">
+                                    <hbox id="fbScriptsButtons" collapsed="true" class="noTabStop">
                                         <toolbarseparator class="fbPanelSpecificButtonsSeparator"/>
                                         <tooltip id="fbScriptFilterMenuTooltip" role="presentation"
                                             onpopupshowing="return Firebug.Debugger.onScriptFilterMenuTooltipShowing(this, Firebug.currentContext)"/>
@@ -248,11 +248,6 @@
                                                     class="fbInternational"/>
                                             </menupopup>
                                         </toolbarbutton>
-                                        <toolbarbutton id="fbToggleScriptPrettyPrinting"
-                                            type="checkbox"
-                                            class="toolbar-image-button fbInternational"
-                                            tooltiptext="script.tip.PrettyPrint"
-                                            command="cmd_firebug_toggleScriptPrettyPrinting"/>
                                     </hbox>
 
                                     <hbox id="fbNetButtons" collapsed="true" class="noTabStop">
@@ -371,6 +366,14 @@
                                         </toolbarbutton>
                                     </hbox>
 
+                                    <hbox id="fbScriptButtons" collapsed="true" class="noTabStop">
+                                        <toolbarbutton id="fbToggleScriptPrettyPrinting"
+                                            type="checkbox"
+                                            class="toolbar-image-button fbInternational"
+                                            tooltiptext="script.tip.PrettyPrint"
+                                            command="cmd_firebug_toggleScriptPrettyPrinting"/>
+                                    </hbox>
+
                                     <!-- Status buttons, used e.g. by the HTML panel to show
                                         a parent list of the currently selected element. -->
                                     <hbox id="fbStatusButtons" flex="100" collapsed="true">

-- 
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