[Pkg-mozext-commits] [SCM] Mozilla addon for sharing interesting websites branch, master, updated. upstream/3.91-15-g1ab3cfc

Fabrizio Regalli fabreg at fabreg.it
Tue Aug 9 21:54:13 UTC 2011


The following commit has been merged in the master branch:
commit 1ab3cfc5cb0621f138a9f8aff0073b2632c073e9
Author: Fabrizio Regalli <fabreg at fabreg.it>
Date:   Tue Aug 9 23:54:02 2011 +0200

    Back to previous version of local_help.patch

diff --git a/debian/patches/local_help.patch b/debian/patches/local_help.patch
index aafed7b..674bbb0 100644
--- a/debian/patches/local_help.patch
+++ b/debian/patches/local_help.patch
@@ -4,22 +4,24 @@ Forwarded: not-needed
 Last-Update: 2011-08-09
 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=223510
 
+--- a/content/stumbleuponOverlay.js
++++ b/content/stumbleuponOverlay.js
+@@ -38,6 +38,7 @@
+ ***/
+ 
+ //************** GLOBALS ****************/
++StumbleGlobals.localdoc = "file:///usr/share/xul-ext-stumbleupon/html/";
+ StumbleGlobals.private_label = "DEB";
+ StumbleGlobals.source_label = "AM";
+ StumbleGlobals.log_communication = false;
 --- a/content/stumbleuponOverlay.xul
 +++ b/content/stumbleuponOverlay.xul
-@@ -674,7 +674,7 @@
- 		<menuitem label="Sign-out" tooltiptext="Sign out from this account" oncommand="StumbleGlobals.handle_logout(false);"/>
+@@ -675,7 +675,7 @@
  	
  		<menuseparator/>
--		
-+	        <menuitem label="Toolbar Guide" tooltiptext="View the toolbar primer" oncommand="getBrowser().contentDocument.location=(StumbleGlobals.private_label=='DEB'?StumbleGlobals.localdoc + 'guide.html' : StumbleGlobals.serverhttp + 'guide.html')"/>
- 		<menuitem label="Help Center" tooltiptext="Frequently Asked Questions" oncommand="getBrowser().contentDocument.location=StumbleGlobals.serverhttp + 'faq.html'"/>
+ 		
+-		<menuitem label="Help Center" tooltiptext="Frequently Asked Questions" oncommand="getBrowser().contentDocument.location=StumbleGlobals.serverhttp + 'faq.html'"/>
++		<menuitem label="Help Center" tooltiptext="Frequently Asked Questions" oncommand="getBrowser().contentDocument.location=(StumbleGlobals.private_label=='DEB'?StumbleGlobals.localdoc + 'faq.html' : StumbleGlobals.serverhttp + 'faq.html')"/>
  		<menu label="About StumbleUpon" tooltiptext="Get help with StumbleUpon">
  			<menupopup>
-@@ -685,7 +685,6 @@
- 				<menuseparator/>
- 				<menuitem label="&menu.contact;" tooltiptext="Send questions or comments to StumbleUpon" oncommand="StumbleGlobals.feedback();"/>
- 				<menuitem label="Privacy Policy" tooltiptext="View StumbleUpon's privacy policy" oncommand="getBrowser().contentDocument.location=StumbleGlobals.serverhttp + 'privacy.html'"/>
--				<menuitem label="Uninstall Instructions" tooltiptext="Learn how to uninstall the toolbar" oncommand="getBrowser().contentDocument.location=StumbleGlobals.serverhttp + 'help/How_do_I_uninstall_the_toolbar/'"/>
- 				<menuitem label="Toolbar Version" tooltiptext="Your current toolbar version, along with new versions" oncommand="StumbleGlobals.about();"/>
- 			</menupopup>
- 		</menu>
+ 				<menuitem label="&menu.stumblehome;" tooltiptext="StumbleUpon.com Home Page" oncommand="getBrowser().contentDocument.location=StumbleGlobals.serverhttp"/>

-- 
Mozilla addon for sharing interesting websites



More information about the Pkg-mozext-commits mailing list