aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-05 18:44:36 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-05 18:44:36 +0800
commite71739912e5f6359a5c999cb1566cffb8d1eb32b (patch)
treef38cf4c42ace48e1316c2a05b48e5010777061af /lib/ephy-dialog.c
parent749a4992249e0a51a6f013494ac2b7feec91a033 (diff)
downloadgsoc2013-epiphany-e71739912e5f6359a5c999cb1566cffb8d1eb32b.tar
gsoc2013-epiphany-e71739912e5f6359a5c999cb1566cffb8d1eb32b.tar.gz
gsoc2013-epiphany-e71739912e5f6359a5c999cb1566cffb8d1eb32b.tar.bz2
gsoc2013-epiphany-e71739912e5f6359a5c999cb1566cffb8d1eb32b.tar.lz
gsoc2013-epiphany-e71739912e5f6359a5c999cb1566cffb8d1eb32b.tar.xz
gsoc2013-epiphany-e71739912e5f6359a5c999cb1566cffb8d1eb32b.tar.zst
gsoc2013-epiphany-e71739912e5f6359a5c999cb1566cffb8d1eb32b.zip
Only allow choosing "Selection" if there really is one.
2003-11-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/print-dialog.c: (impl_show), (print_dialog_class_init), (print_dialog_new), (print_dialog_new_with_parent), (print_dialog_print), (print_dialog_preview), (print_cancel_button_cb), (print_preview_button_cb): Only allow choosing "Selection" if there really is one. * lib/ephy-dialog.c: (impl_run): Use ephy_dialog_show() when running an EphyDialog.
Diffstat (limited to 'lib/ephy-dialog.c')
-rw-r--r--lib/ephy-dialog.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c
index 5666936c5..bd4ff0cd4 100644
--- a/lib/ephy-dialog.c
+++ b/lib/ephy-dialog.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000, 2001, 2002 Marco Pesenti Gritti
+ * Copyright (C) 2000-2003 Marco Pesenti Gritti
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -1112,15 +1112,7 @@ 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);
+ ephy_dialog_show (dialog);
return gtk_dialog_run (GTK_DIALOG(dialog->priv->dialog));
}