1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 09:05:46 +01:00

Fix about:pentadactyl = about:undefined in Gecko<2.0.

This commit is contained in:
Kris Maglione
2010-09-28 14:04:11 -04:00
parent 85a5e15fc6
commit afc2eac676
15 changed files with 70 additions and 126 deletions

View File

@@ -14,12 +14,9 @@ override chrome://dactyl/content/config.js chrome://xulmus/content/config.js
overlay chrome://songbird/content/xul/layoutBaseOverlay.xul chrome://xulmus/content/xulmus.xul
overlay chrome://songbird/content/xul/layoutBaseOverlay.xul chrome://dactyl/content/dactyl.xul
component {8e4a8e2f-95a0-4d8f-90ac-fc9d7d8f5468} components/dactyl.js
contract @dactyl.googlecode.com/base/dactyl {8e4a8e2f-95a0-4d8f-90ac-fc9d7d8f5468}
component {16dc34f7-6d22-4aa4-a67f-2921fb5dcb69} components/commandline-handler.js
contract @mozilla.org/commandlinehandler/general-startup;1?type=mus {16dc34f7-6d22-4aa4-a67f-2921fb5dcb69}
category command-line-handler m-dactyl @mozilla.org/commandlinehandler/general-startup;1?type=dactyl
contract @mozilla.org/commandlinehandler/general-startup;1?type=xulmus {16dc34f7-6d22-4aa4-a67f-2921fb5dcb69}
category command-line-handler m-xulmus @mozilla.org/commandlinehandler/general-startup;1?type=xulmus
component {c1b67a07-18f7-4e13-b361-2edcc35a5a0d} components/protocols.js
contract @mozilla.org/network/protocol;1?name=chrome-data {c1b67a07-18f7-4e13-b361-2edcc35a5a0d}

View File

@@ -1,32 +0,0 @@
// Copyright (c) 2008-2010 Kris Maglione <maglione.k at Gmail>
//
// This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file.
"use strict";
const Ci = Components.interfaces, Cc = Components.classes;
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
function Dactyl() {
this.wrappedJSObject = this;
}
Dactyl.prototype = {
contractID: "@dactyl.googlecode.com/base/dactyl",
classID: Components.ID("{8e4a8e2f-95a0-4d8f-90ac-fc9d7d8f5468}"),
classDescription: "Dactyl component base definitions",
QueryInterface: XPCOMUtils.generateQI([]),
appName: "Xulmus",
name: "xulmus",
idName: "XULMUS",
host: "Songbird"
};
if (XPCOMUtils.generateNSGetFactory)
const NSGetFactory = XPCOMUtils.generateNSGetFactory([Dactyl]);
else
const NSGetModule = XPCOMUtils.generateNSGetModule([Dactyl]);
// vim: set fdm=marker sw=4 ts=4 et:

View File

@@ -0,0 +1,4 @@
pref("extensions.dactyl.name", "xulmus");
pref("extensions.dactyl.appName", "Xulmus");
pref("extensions.dactyl.idName", "XULMUS");
pref("extensions.dactyl.host", "Songbird");