changeset 273:85dd1191b95b

call subscribe dialog tabs 'tabs' instead of 'pages' and add a reference to the stream view into the first run page
author Myk Melez <myk@mozilla.org>
date Thu, 28 Aug 2008 15:39:49 -0700
parents 1edd5ae7657d
children 5f5cd84d29ef
files content/firstrun.html content/subscribe.js
diffstat 2 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/content/firstrun.html	Thu Aug 28 15:04:19 2008 -0700
+++ b/content/firstrun.html	Thu Aug 28 15:39:49 2008 -0700
@@ -34,11 +34,13 @@
 
           <ol>
             <li>Subscribe to feeds from the feed preview page.</li>
-            <li><a href="chrome://snowl/content/subscribe.xul?page=twitter">Subscribe to Twitter</a>.</li>
-            <li><a href="chrome://snowl/content/subscribe.xul?page=opml">Import OPML</a>.</li>
+            <li><a href="chrome://snowl/content/subscribe.xul?tab=twitter">Subscribe to Twitter</a>.</li>
+            <li><a href="chrome://snowl/content/subscribe.xul?tab=opml">Import OPML</a>.</li>
             <li>Read messages in the
-                <a href="javascript:gBrowserWindow.toggleSidebar('viewSnowlSidebar')">list view</a>
-                or the <a href="chrome://snowl/content/river.xul">river view</a>.
+                <a href="javascript:gBrowserWindow.toggleSidebar('viewSnowlList')">list</a>,
+                <a href="chrome://snowl/content/river.xul">river</a>, or
+                <a href="javascript:gBrowserWindow.toggleSidebar('viewSnowlStream')">stream</a>
+                views.
             </li>
           </ol>
 
--- a/content/subscribe.js	Thu Aug 28 15:04:19 2008 -0700
+++ b/content/subscribe.js	Thu Aug 28 15:39:49 2008 -0700
@@ -147,9 +147,9 @@
       document.getElementById("locationTextbox").value = params.feed;
       this.subscribeFeed();
     }
-    else if (params.page) {
+    else if (params.tab) {
       let tabbox = document.getElementById("tabbox");
-      switch (params.page) {
+      switch (params.tab) {
         // The feed tab is selected by default.
         case "twitter":
           tabbox.selectedTab = document.getElementById("twitterTab");