summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
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/my_gtk.pm
parent6c223d83a794a4971313f8891d82dba7d00bb0e4 (diff)
downloaddrakx-backup-do-not-use-2e85aae1209b336df1a63329d9094f6b02fda18a.tar
drakx-backup-do-not-use-2e85aae1209b336df1a63329d9094f6b02fda18a.tar.gz
drakx-backup-do-not-use-2e85aae1209b336df1a63329d9094f6b02fda18a.tar.bz2
drakx-backup-do-not-use-2e85aae1209b336df1a63329d9094f6b02fda18a.tar.xz
drakx-backup-do-not-use-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/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index c6736fcf5..a672c2421 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -134,6 +134,12 @@ sub sync {
flush();
}
sub flush { gtkflush() }
+sub exit {
+ gtkset_mousecursor_normal(); #- for restoring a normal in any case
+ flush();
+ $::isEmbedded and kill USR1, $::CCPID;
+ c::_exit($_[1]) #- workaround
+}
#-###############################################################################
#- createXXX functions