summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-02 13:18:33 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-02 13:18:33 +0000
commit2e85aae1209b336df1a63329d9094f6b02fda18a (patch)
tree01a57a175d1a6ade6686dab690fa50b0fcc09987 /perl-install/interactive
parent6c223d83a794a4971313f8891d82dba7d00bb0e4 (diff)
downloaddrakx-2e85aae1209b336df1a63329d9094f6b02fda18a.tar
drakx-2e85aae1209b336df1a63329d9094f6b02fda18a.tar.gz
drakx-2e85aae1209b336df1a63329d9094f6b02fda18a.tar.bz2
drakx-2e85aae1209b336df1a63329d9094f6b02fda18a.tar.xz
drakx-2e85aae1209b336df1a63329d9094f6b02fda18a.zip
move interactive::gtk::exit to my_gtk::exit so that my_gtk
apps can call it (and fix busy mouse cursor problem that way)
Diffstat (limited to 'perl-install/interactive')
-rw-r--r--perl-install/interactive/gtk.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm
index d96b769d7..b4d41edfb 100644
--- a/perl-install/interactive/gtk.pm
+++ b/perl-install/interactive/gtk.pm
@@ -19,12 +19,7 @@ sub new {
sub enter_console { my ($o) = @_; $o->{suspended} = common::setVirtual(1) }
sub leave_console { my ($o) = @_; common::setVirtual(delete $o->{suspended}) }
-sub exit {
- gtkset_mousecursor_normal(); #- for restoring a normal in any case on standalone
- my_gtk::flush();
- $::isEmbedded and kill 10, $::CCPID; #10 is USR1
- c::_exit($_[1]) #- workaround
-}
+sub exit { my_gtk::exit @_ }
sub ask_warn {
local $my_gtk::pop_it = 1;