summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive_gtk.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2000-09-19 16:45:48 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2000-09-19 16:45:48 +0000
commitede1eacadd1ad9ca90fb1d7ee2508bce4eac3dbe (patch)
tree944618efb81b3282f0e0d173c13ea7223bb9d3e7 /perl-install/interactive_gtk.pm
parent5a487a674f320081abd558bcdbfe305d00cbdc96 (diff)
downloaddrakx-backup-do-not-use-ede1eacadd1ad9ca90fb1d7ee2508bce4eac3dbe.tar
drakx-backup-do-not-use-ede1eacadd1ad9ca90fb1d7ee2508bce4eac3dbe.tar.gz
drakx-backup-do-not-use-ede1eacadd1ad9ca90fb1d7ee2508bce4eac3dbe.tar.bz2
drakx-backup-do-not-use-ede1eacadd1ad9ca90fb1d7ee2508bce4eac3dbe.tar.xz
drakx-backup-do-not-use-ede1eacadd1ad9ca90fb1d7ee2508bce4eac3dbe.zip
changed `suspend' and `resume' to behave as expected.
added `enter_console' and `leave_console' for install_interactive::use_fdisk
Diffstat (limited to 'perl-install/interactive_gtk.pm')
-rw-r--r--perl-install/interactive_gtk.pm7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index 3a198a5dd..5335909d9 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -16,8 +16,11 @@ sub new {
$::windowheight ||= 400 if $::isStandalone;
goto &interactive::new;
}
-sub suspend { my ($o) = @_; $o->{suspended} = common::setVirtual(1) }
-sub resume { my ($o) = @_; common::setVirtual(delete $o->{suspended}) }
+sub enter_console { my ($o) = @_; $o->{suspended} = common::setVirtual(1) }
+sub leave_console { my ($o) = @_; common::setVirtual(delete $o->{suspended}) }
+
+sub suspend {}
+sub resume {}
sub exit {
gtkset_mousecursor_normal(); #- for restoring a normal in any case on standalone