+version 2.1
+by Martin Stubenschrott et al.
+Vimperator is open source and freely distributable
+
+Sponsor Vimperator development!diff --git a/muttator/content/muttator.png b/muttator/content/logo.png similarity index 100% rename from muttator/content/muttator.png rename to muttator/content/logo.png diff --git a/vimperator/components/about-handler.js b/vimperator/components/about-handler.js new file mode 100644 index 00000000..88553282 --- /dev/null +++ b/vimperator/components/about-handler.js @@ -0,0 +1,33 @@ +Components.utils.import("resource://gre/modules/XPCOMUtils.jsm"); + +const Cc = Components.classes; +const Ci = Components.interfaces; + +function AboutHandler() {} + +AboutHandler.prototype = { + + classDescription: "About Vimperator Page", + + classID: Components.ID("81495d80-89ee-4c36-a88d-ea7c4e5ac63f"), + + contractID: "@mozilla.org/network/protocol/about;1?what=vimperator", + + QueryInterface: XPCOMUtils.generateQI([Ci.nsIAboutModule]), + + newChannel: function (uri) + { + let channel = Cc["@mozilla.org/network/io-service;1"].getService(Ci.nsIIOService) + .newChannel("chrome://vimperator/content/about.html", null, null); + + channel.originalURI = uri; + + return channel; + }, + + getURIFlags: function (uri) Ci.nsIAboutModule.ALLOW_SCRIPT, +}; + +function NSGetModule(compMgr, fileSpec) XPCOMUtils.generateModule([AboutHandler]); + +// vim: set fdm=marker sw=4 ts=4 et: diff --git a/vimperator/content/about.html b/vimperator/content/about.html new file mode 100644 index 00000000..39b71973 --- /dev/null +++ b/vimperator/content/about.html @@ -0,0 +1,34 @@ + + + + + +
+
+version 2.1
+by Martin Stubenschrott et al.
+Vimperator is open source and freely distributable
+
+Sponsor Vimperator development!