From 219dd87285419e85eec78f0f614b82cb90fa15a4 Mon Sep 17 00:00:00 2001 From: brianking Date: Fri, 20 Jan 2012 18:16:00 +0100 Subject: [PATCH] New firstrun pref, to forece open it for all users in next release (as it has been completely refreshed). Tweaks to First Run/About page --- chrome/content/toolbar.js | 4 +- chrome/locale/en-US/about.html | 192 ++++++++++++++++--------------- defaults/preferences/facebook.js | 4 +- install.rdf | 4 +- 4 files changed, 104 insertions(+), 100 deletions(-) diff --git a/chrome/content/toolbar.js b/chrome/content/toolbar.js index 6ba45da..33f3308 100755 --- a/chrome/content/toolbar.js +++ b/chrome/content/toolbar.js @@ -691,9 +691,9 @@ var facebook = { facebook.startupLike(); } // First-run page - if (!prefSvc.getBoolPref('extensions.facebook.not_first_run')) { + if (!prefSvc.getBoolPref('extensions.facebook.firstrun')) { facebook.aboutpage(); - prefSvc.setBoolPref('extensions.facebook.not_first_run', true); + prefSvc.setBoolPref('extensions.facebook.firstrun', true); } }, diff --git a/chrome/locale/en-US/about.html b/chrome/locale/en-US/about.html index 90ec90d..ddc4472 100644 --- a/chrome/locale/en-US/about.html +++ b/chrome/locale/en-US/about.html @@ -1,105 +1,107 @@ + + - - Facebook Toolbar successfully installed! - + + About Facebook Toolbar + -
-Click to start -Click Log In
to Start
-
- -
- -
-

Thanks for installing the Facebook Toolbar!

-
- - - -
-

Then start having fun using it!

- Arrow Down - Use -
- -
-
1
-

Open the Friends Sidebar, a list of your friends with their latest status updates.

-
- -
-
2
- Search Facebook -

Type in a name and hit enter, or select one of your friends.

-
- -
-
3
- Quick Links -

Easily access your Facebook pages or change your toolbar settings.

-
- - -
-
4
- Home -

Go to your profile.

-
- -
-
5
- Notifications -

Tells you how many unseen requests you have.

-
- -
-
6
- Like -

Like a page as you browse, and see the number of Likes for a page.

-
- - -
-
7
-

Share the current page you're viewing with your Facebook friends!

-
- -
-
8
-

Upload photos.

-
- -
-
9
- Status update -

Share what you're doing.

-
- - -
-
10
- Log out -

Log out when you're done.

-
- -
- - - - -
+
+ Click to start + Log In and
+ Authenticate
+ to Start +
+
+ +
+ +
+

Thanks for installing the Facebook Toolbar!

+
+ + + +
+

Then start having fun using it!

+ Arrow Down + Use +
+ +
+
1
+

Open the Friends Sidebar, a list of your friends with their latest status updates.

+
+ +
+
2
+ Search Facebook +

Search as you type right from the Firefox location bar, or from the Facebook toolbar. +

+
+ +
+
3
+ Quick Links +

Easily access your Facebook pages or change your toolbar settings.

+
+ +
+
4
+ Home +

Go to your profile.

+
+ +
+
5
+ Notifications +

Tells you how many unseen requests you have.

+
+ +
+
6
+ Like +

Like a page as you browse, and see the number of Likes for a page.

+
+ +
+
7
+

Share the current page you're viewing with your Facebook friends!

+
+ +
+
8
+

Upload photos.

+
+ +
+
9
+ Status update +

Share what you're doing.

+
+ +
+
10
+ Log out +

Log out when you're done.

+
+ +
+ + + +
\ No newline at end of file diff --git a/defaults/preferences/facebook.js b/defaults/preferences/facebook.js index ece1fea..5a60812 100644 --- a/defaults/preferences/facebook.js +++ b/defaults/preferences/facebook.js @@ -29,7 +29,9 @@ pref("extensions.facebook.access_token", "" ); pref("extensions.facebook.postuploadaction", 0); // firstrun prefs pref("extensions.facebook.first_run_dialog", false); -pref("extensions.facebook.not_first_run", false); +pref("extensions.facebook.not_first_run", false); // deprecated +pref("extensions.facebook.firstrun", false); + // Like pref("extensions.facebook.like.enabled", false); // Toolbar permissions diff --git a/install.rdf b/install.rdf index 531f7a6..93245ed 100644 --- a/install.rdf +++ b/install.rdf @@ -5,7 +5,7 @@ firefox@facebook.com - 1.7.3.3 + 1.7.3.4 2 @@ -30,7 +30,7 @@ {ec8030f7-c20a-464f-9b0e-13a3a9e97384} 3.6 - 11.0a1 + 12.0a1