diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-10 22:20:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-10 22:20:42 +0000 |
commit | ca93c3dd1750ae75a79671a62cd6fbf74985707f (patch) | |
tree | 8b80b489515d57a7681f9a9dfd98a9a3eb4d1732 /perl-install/my_gtk.pm | |
parent | c461723804838cb6b1feeb2c16e578a23bffea24 (diff) | |
download | drakx-ca93c3dd1750ae75a79671a62cd6fbf74985707f.tar drakx-ca93c3dd1750ae75a79671a62cd6fbf74985707f.tar.gz drakx-ca93c3dd1750ae75a79671a62cd6fbf74985707f.tar.bz2 drakx-ca93c3dd1750ae75a79671a62cd6fbf74985707f.tar.xz drakx-ca93c3dd1750ae75a79671a62cd6fbf74985707f.zip |
- make diskdrake work in embedded mode
- $my_gtk::pop_it used where it should
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r-- | perl-install/my_gtk.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm index 8a72ba2d4..47060bbda 100644 --- a/perl-install/my_gtk.pm +++ b/perl-install/my_gtk.pm @@ -99,7 +99,7 @@ sub new { $::WizardTable->attach($o->{window}, 1, 2, 1, 2, {'fill', 'expand'}, {'fill', 'expand'}, 0, 0); } - ($::isEmbedded && !$my_gtk::pop_it) or return $o; + $::isEmbedded && !$my_gtk::pop_it or return $o; $o->{window} = new Gtk::HBox(0,0); $o->{rwindow} = $o->{window}; defined($::Plug) or $::Plug = new Gtk::Plug ($::XID); @@ -115,7 +115,7 @@ sub main { my $timeout = Gtk->timeout_add(1000, sub { gtkset_mousecursor_normal(); 1 }); my $b = before_leaving { Gtk->timeout_remove($timeout) }; $o->show; - $o->{rwindow}->window->set_events(['key_press_mask', 'key_release_mask', 'exposure_mask']) if !$::isEmbedded; + $o->{rwindow}->window->set_events(['key_press_mask', 'key_release_mask', 'exposure_mask']) if $o->{rwindow}->window; do { local $::setstep = 1; |