aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-05-31 00:59:37 +0800
committerChristian Persch <chpe@src.gnome.org>2005-05-31 00:59:37 +0800
commitda1e2abce4ee3f0d619dfb99573ecc563c266cdd (patch)
tree9a99425c2019a995731cbf395346f12129d8a82d /embed
parent3c7def6311d1ed12cb2f9bf5732f678b9710f137 (diff)
downloadgsoc2013-epiphany-da1e2abce4ee3f0d619dfb99573ecc563c266cdd.tar
gsoc2013-epiphany-da1e2abce4ee3f0d619dfb99573ecc563c266cdd.tar.gz
gsoc2013-epiphany-da1e2abce4ee3f0d619dfb99573ecc563c266cdd.tar.bz2
gsoc2013-epiphany-da1e2abce4ee3f0d619dfb99573ecc563c266cdd.tar.lz
gsoc2013-epiphany-da1e2abce4ee3f0d619dfb99573ecc563c266cdd.tar.xz
gsoc2013-epiphany-da1e2abce4ee3f0d619dfb99573ecc563c266cdd.tar.zst
gsoc2013-epiphany-da1e2abce4ee3f0d619dfb99573ecc563c266cdd.zip
Remove "Software Developers" checkbox from New CA dialogue. From bug
2005-05-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: Remove "Software Developers" checkbox from New CA dialogue. From bug #168295.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/GtkNSSDialogs.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/embed/mozilla/GtkNSSDialogs.cpp b/embed/mozilla/GtkNSSDialogs.cpp
index 1bd70552a..0e6580bb7 100644
--- a/embed/mozilla/GtkNSSDialogs.cpp
+++ b/embed/mozilla/GtkNSSDialogs.cpp
@@ -529,7 +529,7 @@ GtkNSSDialogs::ConfirmDownloadCACert(nsIInterfaceRequestor *ctx,
PRBool *_retval)
{
GtkWidget *dialog, *label, *content_vbox, *vbox;
- GtkWidget *check_ssl, *check_software;
+ GtkWidget *check_ssl;
char *msg, *tertiary;
nsCOMPtr<nsIDOMWindow> parent = do_GetInterface (ctx);
@@ -580,11 +580,6 @@ GtkNSSDialogs::ConfirmDownloadCACert(nsIInterfaceRequestor *ctx,
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_ssl), TRUE);
gtk_box_pack_start (GTK_BOX(vbox), check_ssl, TRUE, TRUE, 0);
- check_software = gtk_check_button_new_with_mnemonic
- (_("_Software developers"));
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check_software), FALSE);
- gtk_box_pack_start (GTK_BOX(vbox), check_software, TRUE, TRUE, 0);
-
gtk_box_pack_start (GTK_BOX (content_vbox), higgy_indent_widget (vbox),
FALSE, FALSE, 0);
@@ -615,10 +610,6 @@ GtkNSSDialogs::ConfirmDownloadCACert(nsIInterfaceRequestor *ctx,
*_trust |= nsIX509CertDB::TRUSTED_SSL;
}
- if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (check_software)))
- {
- *_trust |= nsIX509CertDB::TRUSTED_SSL;
- }
*_retval = PR_TRUE;
}
gtk_widget_destroy (dialog);