SOURCES: xulrunner-prefs.patch (NEW) - immediately show "Add exception" but...

hawk hawk at pld-linux.org
Sun Jun 22 14:11:57 CEST 2008


Author: hawk                         Date: Sun Jun 22 12:11:57 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- immediately show "Add exception" button on SSL errors (instead of link which
  then shows the button), prefer "Add exception" over "Get me out of here!"

---- Files affected:
SOURCES:
   xulrunner-prefs.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/xulrunner-prefs.patch
diff -u /dev/null SOURCES/xulrunner-prefs.patch:1.1
--- /dev/null	Sun Jun 22 14:11:58 2008
+++ SOURCES/xulrunner-prefs.patch	Sun Jun 22 14:11:52 2008
@@ -0,0 +1,25 @@
+diff -ur mozilla.orig/docshell/resources/content/netError.xhtml mozilla/docshell/resources/content/netError.xhtml
+--- mozilla.orig/docshell/resources/content/netError.xhtml	2008-06-21 12:55:24.000000000 +0200
++++ mozilla/docshell/resources/content/netError.xhtml	2008-06-22 13:08:20.000000000 +0200
+@@ -334,8 +334,8 @@
+         <!-- Override section - For ssl errors only.  Removed on init for other
+              error types.  -->
+         <div id="securityOverrideDiv">
+-          <a id="securityOverrideLink" href="javascript:showSecuritySection();" >&securityOverride.linkText;</a>
+-          <div id="securityOverrideContent" style="display: none;">&securityOverride.warningText;</div>
++          <a id="securityOverrideLink" href="javascript:showSecuritySection();" style="display: none;">&securityOverride.linkText;</a>
++          <div id="securityOverrideContent">&securityOverride.warningText;</div>
+         </div>
+       </div>
+ 
+diff -ur mozilla.orig/browser/locales/en-US/chrome/overrides/netError.dtd mozilla/browser/locales/en-US/chrome/overrides/netError.dtd
+--- mozilla.orig/browser/locales/en-US/chrome/overrides/netError.dtd	2008-06-21 12:55:30.000000000 +0200
++++ mozilla/browser/locales/en-US/chrome/overrides/netError.dtd	2008-06-22 13:52:26.000000000 +0200
+@@ -175,6 +175,6 @@
+ <!ENTITY securityOverride.warningText "
+ <p>You should not add an exception if you are using an internet connection that you do not trust completely or if you are not used to seeing a warning for this server.</p>
+ 
+-<xul:button xmlns:xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' id='getMeOutOfHereButton' label='&securityOverride.getMeOutOfHereButton;'/>
+ <xul:button xmlns:xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' id='exceptionDialogButton' label='&securityOverride.exceptionButtonLabel;'/>
++<xul:button xmlns:xul='http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul' id='getMeOutOfHereButton' label='&securityOverride.getMeOutOfHereButton;'/>
+ ">
================================================================


More information about the pld-cvs-commit mailing list