diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-11-05 21:33:53 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-11-05 21:33:53 +0800 |
commit | cf267d03537f9e647a9ee60fc7916de89ad6721f (patch) | |
tree | 05701f67c58c8c902d1d04d064e71b1d047469bc /lib/ephy-dialog.c | |
parent | c36c58b6c786360ff45ff8f907d6142b1bfc94c5 (diff) | |
download | gsoc2013-epiphany-cf267d03537f9e647a9ee60fc7916de89ad6721f.tar gsoc2013-epiphany-cf267d03537f9e647a9ee60fc7916de89ad6721f.tar.gz gsoc2013-epiphany-cf267d03537f9e647a9ee60fc7916de89ad6721f.tar.bz2 gsoc2013-epiphany-cf267d03537f9e647a9ee60fc7916de89ad6721f.tar.lz gsoc2013-epiphany-cf267d03537f9e647a9ee60fc7916de89ad6721f.tar.xz gsoc2013-epiphany-cf267d03537f9e647a9ee60fc7916de89ad6721f.tar.zst gsoc2013-epiphany-cf267d03537f9e647a9ee60fc7916de89ad6721f.zip |
Set "Print Selection" insensitive when there is no selection. Ported from
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):
* lib/ephy-dialog.c: (impl_run):
Set "Print Selection" insensitive when there is no selection.
Ported from galeon.
Diffstat (limited to 'lib/ephy-dialog.c')
-rw-r--r-- | lib/ephy-dialog.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c index 06ef88f06..ed929d3b4 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 @@ -1180,15 +1180,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)); } |