updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / epiphany-aqd / gtknsssecuritywarningdialogs.patch
blobede1d04935fd0499203da075b02c4b396e8e2288
1 --- embed/mozilla/GtkNSSSecurityWarningDialogs.cpp~ 2007-08-28 04:19:02.000000000 +0800
2 +++ embed/mozilla/GtkNSSSecurityWarningDialogs.cpp 2007-09-24 17:23:43.428301153 +0800
3 @@ -87,19 +87,6 @@
4 GtkNSSSecurityWarningDialogs::ConfirmEnteringSecure (nsIInterfaceRequestor *aContext,
5 PRBool *_retval)
7 - DoDialog (aContext,
8 - ENTER_SITE_PREF,
9 - GTK_MESSAGE_INFO,
10 - GTK_BUTTONS_OK,
11 - GTK_RESPONSE_OK,
12 - _("Security Notice"),
13 - _("This page is loaded over a secure connection"),
14 - _("For secure pages, the address entry has a distinct "
15 - "color and a locked padlock icon is displayed.\n\n"
16 - "The padlock icon in the statusbar also indicates "
17 - "whether a page is secure."),
18 - nsnull, _retval);
20 *_retval = PR_TRUE;
21 return NS_OK;
23 @@ -108,17 +95,6 @@
24 GtkNSSSecurityWarningDialogs::ConfirmEnteringWeak (nsIInterfaceRequestor *aContext,
25 PRBool *_retval)
27 - DoDialog (aContext,
28 - WEAK_SITE_PREF,
29 - GTK_MESSAGE_WARNING,
30 - GTK_BUTTONS_OK,
31 - GTK_RESPONSE_OK,
32 - _("Security Warning"),
33 - _("This page is loaded over a low security connection"),
34 - _("Any information you see or enter on this page could "
35 - "easily be intercepted by a third party."),
36 - nsnull, _retval);
38 *_retval = PR_TRUE;
39 return NS_OK;
41 @@ -136,17 +112,6 @@
42 GtkNSSSecurityWarningDialogs::ConfirmMixedMode (nsIInterfaceRequestor *aContext,
43 PRBool *_retval)
45 - DoDialog (aContext,
46 - MIXEDCONTENT_PREF,
47 - GTK_MESSAGE_WARNING,
48 - GTK_BUTTONS_OK,
49 - GTK_RESPONSE_OK,
50 - _("Security Warning"),
51 - _("Some parts of this page are loaded over an insecure connection"),
52 - _("Some information you see or enter will be sent over an insecure "
53 - "connection, and could easily be intercepted by a third party."),
54 - nsnull, _retval);
56 *_retval = PR_TRUE;
57 return NS_OK;
59 @@ -155,19 +120,7 @@
60 GtkNSSSecurityWarningDialogs::ConfirmPostToInsecure (nsIInterfaceRequestor *aContext,
61 PRBool* _retval)
63 - DoDialog (aContext,
64 - INSECURE_SUBMIT_PREF,
65 - GTK_MESSAGE_WARNING,
66 - GTK_BUTTONS_CANCEL,
67 - GTK_RESPONSE_ACCEPT,
68 - _("Security Warning"),
69 - _("Send this information over an insecure connection?"),
70 - _("The information you have entered will be sent over an "
71 - "insecure connection, and could easily be intercepted "
72 - "by a third party."),
73 - _("_Send"),
74 - _retval);
76 + *_retval = PR_TRUE;
77 return NS_OK;
80 @@ -175,20 +128,7 @@
81 GtkNSSSecurityWarningDialogs::ConfirmPostToInsecureFromSecure (nsIInterfaceRequestor *aContext,
82 PRBool* _retval)
84 - DoDialog (aContext,
85 - nsnull, /* No preference for this one - it's too important */
86 - GTK_MESSAGE_WARNING,
87 - GTK_BUTTONS_CANCEL,
88 - GTK_RESPONSE_CANCEL,
89 - _("Security Warning"),
90 - _("Send this information over an insecure connection?"),
91 - _("Although this page was loaded over a secure connection, "
92 - "the information you have entered will be sent over an "
93 - "insecure connection, and could easily be intercepted by "
94 - "a third party."),
95 - _("_Send"),
96 - _retval);
98 + *_retval = PR_TRUE;
99 return NS_OK;