mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-13 00:55:47 +01:00
Fix about:pentadactyl = about:undefined in Gecko<2.0.
This commit is contained in:
31
common/content/about.xul
Normal file
31
common/content/about.xul
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<?xml-stylesheet href="chrome://pentadactyl/skin/about.css" type="text/css"?>
|
||||
<!DOCTYPE overlay SYSTEM "chrome://dactyl/content/dactyl.dtd">
|
||||
|
||||
<page id="about-&dactyl.name;" orient="vertical"
|
||||
xmlns="&xmlns.xul;" xmlns:html="&xmlns.html;">
|
||||
|
||||
<html:link rel="icon" href="chrome://&dactyl.name;/skin/icon.png"
|
||||
type="image/png" style="display: none;"/>
|
||||
|
||||
<spring flex="1"/>
|
||||
<hbox>
|
||||
<spring flex="1"/>
|
||||
<div xmlns="&xmlns.html;" style="text-align: center" id="text-container">
|
||||
<img src="chrome://&dactyl.name;/content/logo.png" alt="&dactyl.appName;" />
|
||||
|
||||
version ###VERSION###
|
||||
by Kris Maglione, Doug Kearns, et al.
|
||||
&dactyl.appName; is open source and freely distributable
|
||||
|
||||
type :q<<span class="key">Enter</span>> to exit <!---->
|
||||
type :help<<span class="key">Enter</span>> or <<span class="key">F1</span>> for on-line help
|
||||
type :help version-&dactyl.version;<<span class="key">Enter</span>> for version info
|
||||
</div>
|
||||
<spring flex="1"/>
|
||||
</hbox>
|
||||
<spring flex="1"/>
|
||||
</page>
|
||||
|
||||
<!-- vim: set sw=2 sts=2 et: -->
|
||||
@@ -1939,7 +1939,7 @@ const Dactyl = Module("dactyl", {
|
||||
dactyl.version = addon.version + " (created: @DATE@)";
|
||||
});
|
||||
|
||||
services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=dactyl");
|
||||
services.add("commandLineHandler", "@mozilla.org/commandlinehandler/general-startup;1?type=" + config.name);
|
||||
|
||||
let commandline = services.get("commandLineHandler").optionValue;
|
||||
if (commandline) {
|
||||
|
||||
Reference in New Issue
Block a user