changeset 226:4888faf36a03

add info about icon licenses to the about dialog
author Myk Melez <myk@mozilla.org>
date Mon, 04 Aug 2008 13:11:02 -0700
parents d11c788c254f
children d62229c21a8a
files content/about.css content/about.xul content/collections.xul
diffstat 3 files changed, 23 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/content/about.css	Mon Aug 04 13:11:02 2008 -0700
@@ -0,0 +1,4 @@
+dialog { width: 280px }
+
+a { text-decoration: underline }
+
--- a/content/about.xul	Mon Aug 04 11:24:48 2008 -0700
+++ b/content/about.xul	Mon Aug 04 13:11:02 2008 -0700
@@ -1,14 +1,27 @@
+<?xml-stylesheet href="chrome://global/skin/" type"text/css"?>
+<?xml-stylesheet href="chrome://snowl/content/about.css" type"text/css"?>
+
 <dialog xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
         xmlns:html="http://www.w3.org/1999/xhtml"
         windowtype="Snowl:About"
         title="About Snowl"
         buttons="accept">
-  <description value="Snowl"/>
+  <script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
+  <label value="version 0.1"/>
   <description>
-    Icons come from
-    the <html:a href="http://www.famfamfam.com/lab/icons/silk/">Silk icon set
-    by famfamfam</html:a>, licensed under
-    a <html:a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons
-    Attribution 2.5 License</html:a>.
+    Most icons are from the
+    <html:a href="" link="http://www.famfamfam.com/lab/icons/silk/"
+            onclick="visitLink(event)">Silk icon set by famfamfam</html:a>,
+    licensed under a
+    <html:a href="" link="http://creativecommons.org/licenses/by/2.5/"
+            onclick="visitLink(event)">Creative Commons Attribution
+                                       2.5 License</html:a>.
+    The OPML icon is from
+    <html:a href="" link="http://opmlicons.com/"
+            onclick="visitLink(event)">OPML Icon Project</html:a>
+    licensed under a
+    <html:a href="" link="http://creativecommons.org/licenses/by-sa/2.5/"
+            onclick="visitLink(event)">Creative Commons Attribution-Share Alike
+                                       2.5 License</html:a>.
   </description>
 </dialog>
--- a/content/collections.xul	Mon Aug 04 11:24:48 2008 -0700
+++ b/content/collections.xul	Mon Aug 04 13:11:02 2008 -0700
@@ -57,9 +57,6 @@
     </tree>
 
     <toolbar>
-      <!-- FIXME: Note in credits that silk icons licensed
-         - from http://www.famfamfam.com/lab/icons/silk/
-         - under http://creativecommons.org/licenses/by/2.5/ -->
       <toolbarbutton id="snowlSubscribeButton"
                      image="chrome://snowl/content/icons/add.png"
                      oncommand="SourcesView.subscribe()"/>
@@ -69,8 +66,6 @@
       <toolbarbutton id="snowlRefreshButton"
                      image="chrome://snowl/content/icons/arrow_refresh_small.png"
                      oncommand="SnowlService.refreshAllSources()"/>
-      <!-- FIXME: Note in credits that OPML icon licensed from opmlicons.com
-         - under http://creativecommons.org/licenses/by-sa/2.5/ -->
       <toolbarbutton id="snowlExportOPMLButton"
                      image="chrome://snowl/content/icons/opml-icon-16x16.png"
                      oncommand="SourcesView.exportOPML()"/>