summaryrefslogtreecommitdiffstats
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
parent4e4ac3027d8ac5a0b70730d347f622668409f11d (diff)
downloaddrakx-backup-do-not-use-51c2a71b9400577ef5da45437c52da9a5a59036b.tar
drakx-backup-do-not-use-51c2a71b9400577ef5da45437c52da9a5a59036b.tar.gz
drakx-backup-do-not-use-51c2a71b9400577ef5da45437c52da9a5a59036b.tar.bz2
drakx-backup-do-not-use-51c2a71b9400577ef5da45437c52da9a5a59036b.tar.xz
drakx-backup-do-not-use-51c2a71b9400577ef5da45437c52da9a5a59036b.zip
(_create_Window) prevent mdkapplet from crashing (#46477)
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/mygtk2.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 86eed4587..60a3161f7 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -4,6 +4,7 @@
o ext4dev is now stable and called ext4 in 2.6.28+
- harddrake:
o fix displaying in proper category sound coprocessor & misc ACPI event keys
+- prevent mdkapplet from crashing (#46477)
Version 11.76 - 18 December 2008
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);