aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/GtkNSSKeyPairDialogs.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-06-22 20:37:00 +0800
committerChristian Persch <chpe@src.gnome.org>2006-06-22 20:37:00 +0800
commit7444dff3902968066f45081c342fa8ebb8aaf1d0 (patch)
treef2dffcfdad23a35b0aa66322501fe737ed22e58d /embed/mozilla/GtkNSSKeyPairDialogs.cpp
parentc7c27d1728fd00d3ebfa49e4f0c8c75c5176e6b0 (diff)
downloadgsoc2013-epiphany-7444dff3902968066f45081c342fa8ebb8aaf1d0.tar
gsoc2013-epiphany-7444dff3902968066f45081c342fa8ebb8aaf1d0.tar.gz
gsoc2013-epiphany-7444dff3902968066f45081c342fa8ebb8aaf1d0.tar.bz2
gsoc2013-epiphany-7444dff3902968066f45081c342fa8ebb8aaf1d0.tar.lz
gsoc2013-epiphany-7444dff3902968066f45081c342fa8ebb8aaf1d0.tar.xz
gsoc2013-epiphany-7444dff3902968066f45081c342fa8ebb8aaf1d0.tar.zst
gsoc2013-epiphany-7444dff3902968066f45081c342fa8ebb8aaf1d0.zip
A lib/ephy-password-dialog.c: A lib/ephy-password-dialog.h:
2006-06-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozRegisterComponents.cpp: * lib/Makefile.am: A lib/ephy-password-dialog.c: A lib/ephy-password-dialog.h: Implement nsITokenPasswordDialogs. Misc cleanups and mozilla string simplification now that we depend on gecko 1.8.
Diffstat (limited to 'embed/mozilla/GtkNSSKeyPairDialogs.cpp')
-rw-r--r--embed/mozilla/GtkNSSKeyPairDialogs.cpp16
1 files changed, 4 insertions, 12 deletions
diff --git a/embed/mozilla/GtkNSSKeyPairDialogs.cpp b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
index f7f1e5eb3..238e183c7 100644
--- a/embed/mozilla/GtkNSSKeyPairDialogs.cpp
+++ b/embed/mozilla/GtkNSSKeyPairDialogs.cpp
@@ -23,16 +23,6 @@
/*
* This file provides Gtk implementations of the mozilla Generating Key Pair
* dialogs.
- *
- * This implementation takes some liberties with the mozilla API. Although the
- * API requires a nsIDomWindowInternal, it only actually calls the Close()
- * function on that class. Therefore we provide a dummy class that only
- * implements that function (it just sets a flag).
- *
- * Periodically we check to see whether the dialog should have been closed. If
- * it should be closed, then the key generation has finished, so close the dialog
- * (using gtk_dialog_response), and return.
- *
*/
#include "mozilla-config.h"
@@ -108,6 +98,8 @@ begin_busy (GtkWidget *widget)
if (!GTK_WIDGET_REALIZED (widget)) gtk_widget_realize (GTK_WIDGET(widget));
gdk_window_set_cursor (GTK_WIDGET (widget)->window, cursor);
+
+ /* Eek! FIXME: AutoJSContextStack! */
while (gtk_events_pending ()) gtk_main_iteration ();
}
@@ -139,8 +131,8 @@ generating_timeout_cb (KeyPairInfo *info)
}
-/* void displayGeneratingKeypairInfo (in nsIInterfaceRequestor ctx, in nsIKeygenTh
-read runnable); */
+/* void displayGeneratingKeypairInfo (in nsIInterfaceRequestor ctx,
+ in nsIKeygenThread runnable); */
NS_IMETHODIMP
GtkNSSKeyPairDialogs::DisplayGeneratingKeypairInfo (nsIInterfaceRequestor *ctx,
nsIKeygenThread *runnable)