aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-03 03:20:37 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-03 03:20:37 +0800
commitbce28d78b08a72c11b9cbb8a798d7b59564fe1f2 (patch)
tree389ce05edf21f47d97c6e0c7e0d86be57074e848
parent768567d3d36f935870adc47bb0b5930db1549e15 (diff)
downloadgsoc2013-epiphany-bce28d78b08a72c11b9cbb8a798d7b59564fe1f2.tar
gsoc2013-epiphany-bce28d78b08a72c11b9cbb8a798d7b59564fe1f2.tar.gz
gsoc2013-epiphany-bce28d78b08a72c11b9cbb8a798d7b59564fe1f2.tar.bz2
gsoc2013-epiphany-bce28d78b08a72c11b9cbb8a798d7b59564fe1f2.tar.lz
gsoc2013-epiphany-bce28d78b08a72c11b9cbb8a798d7b59564fe1f2.tar.xz
gsoc2013-epiphany-bce28d78b08a72c11b9cbb8a798d7b59564fe1f2.tar.zst
gsoc2013-epiphany-bce28d78b08a72c11b9cbb8a798d7b59564fe1f2.zip
Initialise the dialogue on run too.
2003-11-02 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (impl_run): Initialise the dialogue on run too.
-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));