From bce28d78b08a72c11b9cbb8a798d7b59564fe1f2 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 2 Nov 2003 19:20:37 +0000 Subject: Initialise the dialogue on run too. 2003-11-02 Christian Persch * lib/ephy-dialog.c: (impl_run): Initialise the dialogue on run too. --- ChangeLog | 6 ++++++ lib/ephy-dialog.c | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1596dbf5a..7ee145703 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-02 Christian Persch + + * lib/ephy-dialog.c: (impl_run): + + Initialise the dialogue on run too. + 2003-11-02 Christian Persch * embed/mozilla/PrintingPromptService.cpp: (ShowPrintDialog): 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)); -- cgit v1.2.3