[Pkg-mozext-commits] [greasemonkey] 07/35: Update menucommand.js

David Prévot taffit at moszumanska.debian.org
Wed May 20 02:43:36 UTC 2015


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

taffit pushed a commit to branch master
in repository greasemonkey.

commit a71c9994e31197c12ceec88f84c8e7b608b32418
Author: janekptacijarabaci <janekptacijarabaci at users.noreply.github.com>
Date:   Sun Apr 19 12:40:47 2015 +0200

    Update menucommand.js
---
 modules/menucommand.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/menucommand.js b/modules/menucommand.js
index 606436d..d7311c7 100644
--- a/modules/menucommand.js
+++ b/modules/menucommand.js
@@ -8,7 +8,7 @@ var gStringBundle = Services.strings.createBundle(
     "chrome://greasemonkey/locale/greasemonkey.properties");
 
 function registerMenuCommand(
-    scriptRunner,
+    scriptRunner, script,
     commandName, commandFunc, accessKey, unused, accessKey2
 ) {
   if (scriptRunner.window.top != scriptRunner.window) {
@@ -33,6 +33,7 @@ function registerMenuCommand(
 
   var command = {
     name: commandName,
+    scriptName: script.localized.name,
     accessKey: accessKey,
     commandFunc: commandFunc,
     contentWindowId: scriptRunner.windowId,

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