[Pkg-mozext-commits] [greasemonkey] 08/15: "New User Script" button in Add-ons->User Scripts

David Prévot taffit at moszumanska.debian.org
Sat Aug 2 12:51:55 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository greasemonkey.

commit a90e085435777a28d80c9214929a0b06b6b2c971
Author: janekptacijarabaci <janekptacijarabaci at centrum.cz>
Date:   Fri Jul 25 10:36:23 2014 +0200

    "New User Script" button in Add-ons->User Scripts
    
    Ad #1883
    The suggestion (for example).
---
 content/addons4-overlay.xul | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/content/addons4-overlay.xul b/content/addons4-overlay.xul
index 8428a0f..8f58e07 100644
--- a/content/addons4-overlay.xul
+++ b/content/addons4-overlay.xul
@@ -67,13 +67,12 @@
   <hbox id="greasemonkey-sort-bar" class="view-header"
       pack="end" insertbefore="addon-list-empty"
   >
-    <vbox>
-      <spacer flex="1"/>
-      <label value="&greasemonkey.getuserscripts;" class="text-link"
-          onclick="GM_openUserscriptsOrg()"/>
-      <spacer flex="1"/>
-    </vbox>
-    <spacer flex="1" />
+    <spacer/>
+    <label value="&greasemonkey.getuserscripts;" class="text-link"
+        onclick="GM_openUserscriptsOrg();"/>
+    <label value="&menu.new;" class="text-link"
+        onclick="GM_util.newUserScript(window);"/>
+    <spacer flex="1"/>
     <button label="&Sort.Status;" tooltiptext="&Sort.ByStatus;"
         class="sorter" sortBy="uiState,name"
         checkState="2"/>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git



More information about the Pkg-mozext-commits mailing list