1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 04:07:58 +01:00

whitespace fixes

This commit is contained in:
Doug Kearns
2008-05-27 15:15:36 +00:00
parent 1d0f4e29e5
commit c1390135d2
14 changed files with 104 additions and 104 deletions

View File

@@ -37,56 +37,56 @@ liberator.config = { //{{{
dialogs: [
["about", "About Firefox",
function() { openDialog("chrome://browser/content/aboutDialog.xul", "_blank", "chrome,dialog,modal,centerscreen"); }],
function () { openDialog("chrome://browser/content/aboutDialog.xul", "_blank", "chrome,dialog,modal,centerscreen"); }],
["addbookmark", "Add bookmark for the current page",
function() { PlacesCommandHook.bookmarkCurrentPage(true, PlacesUtils.bookmarksRootId); }],
function () { PlacesCommandHook.bookmarkCurrentPage(true, PlacesUtils.bookmarksRootId); }],
["addons", "Manage Add-ons",
function() { BrowserOpenAddonsMgr(); }],
function () { BrowserOpenAddonsMgr(); }],
["bookmarks", "List your bookmarks",
function() { openDialog("chrome://browser/content/bookmarks/bookmarksPanel.xul", "Bookmarks", "dialog,centerscreen,width=600,height=600"); }],
function () { openDialog("chrome://browser/content/bookmarks/bookmarksPanel.xul", "Bookmarks", "dialog,centerscreen,width=600,height=600"); }],
["checkupdates", "Check for updates",
function() { checkForUpdates(); }],
function () { checkForUpdates(); }],
["cleardata", "Clear private data",
function() { Cc[GLUE_CID].getService(Ci.nsIBrowserGlue).sanitize(window || null); }],
function () { Cc[GLUE_CID].getService(Ci.nsIBrowserGlue).sanitize(window || null); }],
["console", "JavaScript console",
function() { toJavaScriptConsole(); }],
function () { toJavaScriptConsole(); }],
["customizetoolbar", "Customize the Toolbar",
function() { BrowserCustomizeToolbar(); }],
function () { BrowserCustomizeToolbar(); }],
["dominspector", "DOM Inspector",
function() { inspectDOMDocument(content.document); }],
function () { inspectDOMDocument(content.document); }],
["downloads", "Manage Downloads",
function() { toOpenWindowByType('Download:Manager', 'chrome://mozapps/content/downloads/downloads.xul', 'chrome,dialog=no,resizable'); }],
function () { toOpenWindowByType('Download:Manager', 'chrome://mozapps/content/downloads/downloads.xul', 'chrome,dialog=no,resizable'); }],
["history", "List your history",
function() { openDialog("chrome://browser/content/history/history-panel.xul", "History", "dialog,centerscreen,width=600,height=600"); }],
function () { openDialog("chrome://browser/content/history/history-panel.xul", "History", "dialog,centerscreen,width=600,height=600"); }],
["import", "Import Preferences, Bookmarks, History, etc. from other browsers",
function() { BrowserImport(); }],
function () { BrowserImport(); }],
["openfile", "Open the file selector dialog",
function() { BrowserOpenFileWindow(); }],
function () { BrowserOpenFileWindow(); }],
["pageinfo", "Show information about the current page",
function() { BrowserPageInfo(); }],
function () { BrowserPageInfo(); }],
["pagesource", "View page source",
function() { BrowserViewSourceOfDocument(content.document); }],
function () { BrowserViewSourceOfDocument(content.document); }],
["places", "Places Organizer: Manage your bookmarks and history",
function() { PlacesCommandHook.showPlacesOrganizer(ORGANIZER_ROOT_BOOKMARKS); }],
function () { PlacesCommandHook.showPlacesOrganizer(ORGANIZER_ROOT_BOOKMARKS); }],
["preferences", "Show Firefox preferences dialog",
function() { openPreferences(); }],
function () { openPreferences(); }],
["printpreview", "Preview the page before printing",
function() { PrintUtils.printPreview(onEnterPrintPreview, onExitPrintPreview); }],
function () { PrintUtils.printPreview(onEnterPrintPreview, onExitPrintPreview); }],
["printsetup", "Setup the page size and orientation before printing",
function() { PrintUtils.showPageSetup(); }],
function () { PrintUtils.showPageSetup(); }],
["print", "Show print dialog",
function() { PrintUtils.print(); }],
function () { PrintUtils.print(); }],
["saveframe", "Save frame to disk",
function() { saveFrameDocument(); }],
function () { saveFrameDocument(); }],
["savepage", "Save page to disk",
function() { saveDocument(window.content.document); }],
function () { saveDocument(window.content.document); }],
["searchengines", "Manage installed search engines",
function() { openDialog("chrome://browser/content/search/engineManager.xul", "_blank", "chrome,dialog,modal,centerscreen"); }],
function () { openDialog("chrome://browser/content/search/engineManager.xul", "_blank", "chrome,dialog,modal,centerscreen"); }],
["selectionsource", "View selection source",
function() { liberator.buffer.viewSelectionSource(); }]
function () { liberator.buffer.viewSelectionSource(); }]
],
init: function()
init: function ()
{
function incrementURL(count)
{
@@ -152,7 +152,7 @@ liberator.config = { //{{{
liberator.mappings.add([liberator.modes.NORMAL], ["gh"],
"Open homepage",
function() { BrowserHome(); });
function () { BrowserHome(); });
liberator.mappings.add([liberator.modes.NORMAL], ["gH"],
"Open homepage in a new tab",