From 1694dedd7b718f89e3f5ac680cb8291a8cc65f6d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 9 Jan 2009 13:00:10 +0000 Subject: (_create_Window) prevent mdkapplet from crashing (#46477) --- perl-install/NEWS | 2 ++ perl-install/mygtk2.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.1