summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-01-09 13:10:40 +0000
committerThierry Vignaud <tv@mandriva.org>2009-01-09 13:10:40 +0000
commit51c2a71b9400577ef5da45437c52da9a5a59036b (patch)
tree98dae9f064007a260a2edb563658f0d7467bda59 /perl-install/mygtk2.pm
parent4e4ac3027d8ac5a0b70730d347f622668409f11d (diff)
downloaddrakx-51c2a71b9400577ef5da45437c52da9a5a59036b.tar
drakx-51c2a71b9400577ef5da45437c52da9a5a59036b.tar.gz
drakx-51c2a71b9400577ef5da45437c52da9a5a59036b.tar.bz2
drakx-51c2a71b9400577ef5da45437c52da9a5a59036b.tar.xz
drakx-51c2a71b9400577ef5da45437c52da9a5a59036b.zip
(_create_Window) prevent mdkapplet from crashing (#46477)
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 2f70efe89..5a9e863a3 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -1206,7 +1206,7 @@ sub _create_Window {
_force_keyboard_focus($w);
}
- if ($::isInstall) {
+ if ($::isInstall && !$::isStandalone) {
require install::gtk; #- for perl_checker
install::gtk::handle_unsafe_mouse($::o, $w);
$w->signal_connect(key_press_event => \&install::gtk::special_shortcuts);