summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-01-09 13:00:10 +0000
committerThierry Vignaud <tv@mandriva.org>2009-01-09 13:00:10 +0000
commit1694dedd7b718f89e3f5ac680cb8291a8cc65f6d (patch)
treeca9067d485bf985ab763c77770bc47e884321d6a
parent2bca42f6a4fec80c51e2ecbddb0005c08cd0d36e (diff)
downloaddrakx-backup-do-not-use-1694dedd7b718f89e3f5ac680cb8291a8cc65f6d.tar
drakx-backup-do-not-use-1694dedd7b718f89e3f5ac680cb8291a8cc65f6d.tar.gz
drakx-backup-do-not-use-1694dedd7b718f89e3f5ac680cb8291a8cc65f6d.tar.bz2
drakx-backup-do-not-use-1694dedd7b718f89e3f5ac680cb8291a8cc65f6d.tar.xz
drakx-backup-do-not-use-1694dedd7b718f89e3f5ac680cb8291a8cc65f6d.zip
(_create_Window) prevent mdkapplet from crashing (#46477)
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/mygtk2.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index a175f050e..1d85cc788 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- prevent mdkapplet from crashing (#46477)
+
Version 11.71.5 - 9 January 2009
- diskdrake:
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);