summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-10 17:20:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-10 17:20:15 +0000
commit084081f2d1051e6fd37bea4028c100535b48ac35 (patch)
tree3723a0125fc022889ad9b4c6175ad1d14bede9b7 /perl-install/ugtk2.pm
parentd7759908b432ca8fd8942622ce4aa85a28354000 (diff)
downloaddrakx-backup-do-not-use-084081f2d1051e6fd37bea4028c100535b48ac35.tar
drakx-backup-do-not-use-084081f2d1051e6fd37bea4028c100535b48ac35.tar.gz
drakx-backup-do-not-use-084081f2d1051e6fd37bea4028c100535b48ac35.tar.bz2
drakx-backup-do-not-use-084081f2d1051e6fd37bea4028c100535b48ac35.tar.xz
drakx-backup-do-not-use-084081f2d1051e6fd37bea4028c100535b48ac35.zip
more installing special install shortcuts in _create_window()
(there is no reason for not having the shortcuts when the window has pop_it)
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 3984ebb63..a182a7539 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -873,10 +873,7 @@ sub new {
if_(!$::isInstall && !$::isStandalone, position_policy => 'center_always'),
);
- if ($::isInstall) {
- require install_gtk; #- for perl_checker
- $::WizardWindow->signal_connect(key_press_event => \&install_gtk::special_shortcuts);
- } else {
+ if (!$::isInstall) {
eval { gtkpack__($::WizardTable, Gtk2::Banner->new(wm_icon(), $::Wizard_title)) };
$@ and log::l("ERROR: missing wizard banner");
}
@@ -966,6 +963,7 @@ sub _create_window {
if ($::isInstall) {
require install_gtk; #- for perl_checker
install_gtk::handle_unsafe_mouse($::o, $w);
+ $w->signal_connect(key_press_event => \&install_gtk::special_shortcuts);
}
if ($force_center_at_pos) {