[Pkg-mozext-commits] [nostalgy] 08/252: *** empty log message ***

David Prévot taffit at moszumanska.debian.org
Tue Jun 14 15:24:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository nostalgy.

commit 338c9add9975ebc8f3b56d0487b2f03ad39aa8bb
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date:   Tue Jul 18 16:50:52 2006 +0000

    *** empty log message ***
---
 CHANGES                        |  1 +
 content/about.xhtml            | 44 ++++++++++++++++++++++++++++++++++++++++++
 content/about.xul              | 15 ++++++++++++++
 content/thunderbirdOverlay.xul |  1 +
 files                          |  3 +++
 install.rdf                    |  3 ++-
 6 files changed, 66 insertions(+), 1 deletion(-)

diff --git a/CHANGES b/CHANGES
index 679599f..d14b2e3 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,7 @@
     Alt-Escape: set focus on the message pane
     double Escape (within 200ms): set focus on the thread pane
   - allow the (S)ave and (C)opy to work from a standalone message window
+  - add a custom About box for the extension
 
 0.1.4
   - fixed this bug: folders where duplicated in the completion
diff --git a/content/about.xhtml b/content/about.xhtml
new file mode 100644
index 0000000..5af59c6
--- /dev/null
+++ b/content/about.xhtml
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
+                      "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
+>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <title>Nostalgy</title>
+    <style>
+      html {
+        background-color: white;
+        font-size: small;
+      }
+
+      a {
+        color: blue;
+        text-decoration: underline;
+      }
+    </style>
+  </head>
+  <body>
+
+   <h2>Nostalgy</h2>
+
+   <table border="1">
+    <tr><th>Shortcut</th><th>Description</th></tr>
+    <tr><td>G</td><td>Open a specific folder</td></tr>
+    <tr><td>S</td><td>Move the current message to a specific folder</td></tr>
+    <tr><td>C</td><td>Copy the current message to a specific folder</td></tr>
+    <tr><td>L</td><td>Hide/show the folder pane</td></tr>
+    <tr><td>Ctrl-Esc</td><td>Focus the folder pane</td></tr>
+    <tr><td>Alt-Esc</td><td>Focus the message pane</td></tr>
+    <tr><td>double Esc</td><td>Focus the thread pane</td></tr>
+   </table>
+
+   <p>The G, S and C commands open a box (in the status line) where
+      you can select a folder by typing part of its name. You can cancel
+      with Escape.</p>
+   <p>The S and C commands also work in a standalone message window.</p>
+
+
+   <p>The Nostalgy extension has been written by <a href="mailto:Alain.Frisch at inria.fr">Alain Frisch</a> <tt>Alain.Frisch at inria.fr</tt>. Comments ands suggestions are welcome!</p>
+  </body>
+</html>
+
diff --git a/content/about.xul b/content/about.xul
new file mode 100644
index 0000000..5ebd9b6
--- /dev/null
+++ b/content/about.xul
@@ -0,0 +1,15 @@
+<?xml version="1.0"?> <!-- -*- Mode: HTML -*- --> 
+
+
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 
+<dialog xmlns:html="http://www.w3.org/1999/xhtml"
+        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+        buttons="accept"
+        title="About Nostalgy"
+        style="width: 499px; height: 480px;"> 
+
+    <html:iframe style="border: 0px;" src="chrome://nostalgy/content/about.xhtml" flex="1"/>
+
+    <separator class="groove" id="groove"/>
+    
+</dialog>
diff --git a/content/thunderbirdOverlay.xul b/content/thunderbirdOverlay.xul
index 3932d05..82bc6b5 100644
--- a/content/thunderbirdOverlay.xul
+++ b/content/thunderbirdOverlay.xul
@@ -10,6 +10,7 @@
   <key key="S" oncommand="NostalgyCmd('&nostalgy.move-memo;', MoveToFolder);"/>
   <key key="C" oncommand="NostalgyCmd('&nostalgy.copy-memo;', CopyToFolder);"/>
   <key key="L" oncommand="NostalgyCollapseFolderPane();"/>
+  <key key="A" oncommand="window.openDialog('chrome://nostalgy/content/about.xul', 'About', 'modal,centerscreen,chrome,resizable=no');"/>
  </keyset>
 
 
diff --git a/files b/files
index 07c8d22..8e8d795 100644
--- a/files
+++ b/files
@@ -1,5 +1,8 @@
+content/about.xul
 content/overlay.js
 content/thunderbirdOverlay.xul
+content/messageOverlay.xul
+content/about.xhtml
 locale/en-US/nostalgy.dtd
 locale/en-US/nostalgy.properties
 defaults/preferences/nostalgy.js
diff --git a/install.rdf b/install.rdf
index acb4333..2a7ee5a 100644
--- a/install.rdf
+++ b/install.rdf
@@ -4,10 +4,11 @@
   <Description about="urn:mozilla:install-manifest">
     <em:id>nostalgy at alain.frisch</em:id>
     <em:name>Nostalgy</em:name>
-    <em:version>0.1.4</em:version>
+    <em:version>0.1.5</em:version>
     <em:creator>Alain Frisch</em:creator>
     <em:description>Adds shortcuts to change folder, move message, with folder completion</em:description>
     <em:homepageURL>http://www.eleves.ens.fr/home/frisch/soft_mozilla.html</em:homepageURL>
+    <em:aboutURL>chrome://nostalgy/content/about.xul</em:aboutURL>
     <em:targetApplication>
       <Description>
         <em:id>{3550f703-e582-4d05-9a08-453d09bdfdc6}</em:id> <!-- thunderbird -->

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/nostalgy.git



More information about the Pkg-mozext-commits mailing list