aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-dialog.c8
2 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1596dbf5a..7ee145703 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-11-02 Christian Persch <chpe@cvs.gnome.org>
+ * lib/ephy-dialog.c: (impl_run):
+
+ Initialise the dialogue on run too.
+
+2003-11-02 Christian Persch <chpe@cvs.gnome.org>
+
* embed/mozilla/PrintingPromptService.cpp: (ShowPrintDialog):
Adjust return value so that mozilla doesn't erreonously put up
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 721cfa4cf..5666936c5 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -1112,6 +1112,14 @@ setup_default_size (EphyDialog *dialog)
static gint
impl_run (EphyDialog *dialog)
{
+ if (dialog->priv->props && !dialog->priv->initialized)
+ {
+ load_props (dialog->priv->props);
+ prefs_connect_signals (dialog);
+ prefs_set_sensitivity (dialog->priv->props);
+ dialog->priv->initialized = TRUE;
+ }
+
setup_default_size (dialog);
return gtk_dialog_run (GTK_DIALOG(dialog->priv->dialog));