From 3ff4fda7cab8fa2eb2e904896e2655efd7e47429 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 29 Mar 2009 23:49:18 +1100 Subject: [PATCH] Remove :winclose and :winopen commmands from Xulmus. These are generally unsupported in SB and probably not worth supporting in Xulmus. --- xulmus/content/config.js | 21 --------------------- xulmus/locale/en-US/browsing.txt | 14 -------------- xulmus/locale/en-US/index.txt | 2 -- 3 files changed, 37 deletions(-) diff --git a/xulmus/content/config.js b/xulmus/content/config.js index 1e8185d8..55a4e0f2 100644 --- a/xulmus/content/config.js +++ b/xulmus/content/config.js @@ -464,27 +464,6 @@ const config = { //{{{ literal: 0 }); - commands.add(["winc[lose]", "wc[lose]"], - "Close window", - function () { window.close(); }, - { argCount: "0" }); - - commands.add(["wino[pen]", "wo[pen]", "wine[dit]"], - "Open one or more URLs in a new window", - function (args) - { - args = args.string; - - if (args) - liberator.open(args, liberator.NEW_WINDOW); - else - liberator.open("about:blank", liberator.NEW_WINDOW); - }, - { - completer: function (context) completion.url(context), - literal: 0 - }); - /////////////////////////////////////////////////////////////////////////////}}} ////////////////////// OPTIONS ///////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////{{{ diff --git a/xulmus/locale/en-US/browsing.txt b/xulmus/locale/en-US/browsing.txt index ddbe2add..ab3df4b6 100644 --- a/xulmus/locale/en-US/browsing.txt +++ b/xulmus/locale/en-US/browsing.txt @@ -100,13 +100,6 @@ like [m]o[m] but preselects current URL in the [c]:open[c] query. ________________________________________________________________________________ -|:winopen| |:wopen| |:winedit| -||:wino[pen][!] [a][arg1][a], [a][arg2][a], ...|| + -________________________________________________________________________________ -Just like [c]:tabopen[c] but opens the resulting web page(s) in a new window. -________________________________________________________________________________ - - || |p| + ||p|| ________________________________________________________________________________ @@ -299,13 +292,6 @@ The session is not stored. ________________________________________________________________________________ -|:wc| |:wclose| |:winc| |:winclose| -||:winc[lose]|| + -________________________________________________________________________________ -Close window. -________________________________________________________________________________ - - |:xa| |:xall| |:wq| |:wqa| |:wqall| ||:wqa[ll]|| + ||:xa[ll]|| diff --git a/xulmus/locale/en-US/index.txt b/xulmus/locale/en-US/index.txt index bb8510bc..b6380322 100644 --- a/xulmus/locale/en-US/index.txt +++ b/xulmus/locale/en-US/index.txt @@ -296,8 +296,6 @@ section:Ex{nbsp}commands[ex-cmd-index,:index] ||[c]:version[c]|| Show version information + ||[c]:viewsource[c]|| View source code of current document + ||[c]:viusage[c]|| List all mappings with a short description + -||[c]:winclose[c]|| Close window + -||[c]:winopen[c]|| Open one or more URLs in a new window + ||[c]:wqall[c]|| Save the session and quit + ||[c]:zoom[c]|| Set zoom value of current web page +