summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/display_help
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-11-12 15:35:11 +0000
committerOlivier Blin <oblin@mandriva.com>2009-11-12 15:35:11 +0000
commitf2303d52b00d8f0b4813902cd9fa72aab6a61264 (patch)
tree6f646a84e3d9f39037bf7215c85ede1bcbeb6657 /perl-install/standalone/display_help
parent8a7d6cc196c0c9f522ff39b7ae030113bd1327a7 (diff)
downloaddrakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.tar
drakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.tar.gz
drakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.tar.bz2
drakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.tar.xz
drakx-f2303d52b00d8f0b4813902cd9fa72aab6a61264.zip
display_help: handle window.close() events (#55099)
Diffstat (limited to 'perl-install/standalone/display_help')
-rwxr-xr-xperl-install/standalone/display_help1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/display_help b/perl-install/standalone/display_help
index b7e42168d..1d626d24d 100755
--- a/perl-install/standalone/display_help
+++ b/perl-install/standalone/display_help
@@ -27,6 +27,7 @@ use ugtk2 qw(:wrappers :create);
use Gtk2::WebKit;
my $view = gtknew('WebKit_View', no_popup_menu => 1);
+$view->signal_connect('close-web-view', sub { ugtk2::exit(0) });
$view->open($ARGV[0]);