From f79cdf401787f670a5aa401a6ccdc8b9c2865dfb Mon Sep 17 00:00:00 2001
From: anekos
Date: Tue, 17 Feb 2009 14:30:52 +0000
Subject: メニューを開くコマンドを追加 :opentinymenu
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@30198 d0d07461-0603-4401-acd4-de1884942a52
---
tinymenu.js | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
(limited to 'tinymenu.js')
diff --git a/tinymenu.js b/tinymenu.js
index 89a32f3..60e7b3c 100644
--- a/tinymenu.js
+++ b/tinymenu.js
@@ -7,11 +7,15 @@ var PLUGIN_INFO =
http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/tinymenu.js
Yuichi Tateno
MPL 1.1/GPL 2.0/LGPL 2.1
-0.1
+0.2
;
@@ -63,6 +67,15 @@ thx icon id:tnx.
popup.openPopup(menu, 'before_end', 0, 0, false, true);
}, false);
+ commands.addUserCommand(
+ ['opentinymenu'],
+ 'Open the tiny menu ',
+ function () {
+ popup.openPopup(menu, 'before_end', 0, 0, false, true);
+ },
+ true
+ );
+
//document.getElementById('status-bar').insertBefore(menu, document.getElementById('security-button').nextSibling);
document.getElementById('status-bar').appendChild(popup);
document.getElementById('status-bar').appendChild(menu);
--
cgit v1.2.3