summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakbug
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-22 22:12:29 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-22 22:12:29 +0000
commited342237df34a48124c9fbab1e8e5bc5db2abe5c (patch)
tree6b781bc6e5d4bf7dc5cf39269e2d5707ff3264c7 /perl-install/standalone/drakbug
parent63df459ba0bd1f4fe7861e3aa45ffcb7c8bbc36b (diff)
downloaddrakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.tar
drakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.tar.gz
drakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.tar.bz2
drakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.tar.xz
drakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.zip
(quit_global) inline it
Diffstat (limited to 'perl-install/standalone/drakbug')
-rwxr-xr-xperl-install/standalone/drakbug6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/standalone/drakbug b/perl-install/standalone/drakbug
index c49bb40f3..17736e89f 100755
--- a/perl-install/standalone/drakbug
+++ b/perl-install/standalone/drakbug
@@ -46,7 +46,7 @@ my $window_g = $window->{window};
#$window->{rwindow}->set_policy($false,$false,$true);
$window->{rwindow}->set_border_width(5);
$window->{rwindow}->set_title(N("Mandrake Bug Report Tool"));
-$window->{window}->signal_connect("delete_event", \&quit_global);
+$window->{window}->signal_connect("delete_event", sub { ugtk2->exit(0) });
my $mdk_app = {
N("Mandrake Control Center") => 'drakconf',
@@ -169,7 +169,3 @@ sub connect_bugzilla {
}
$in->ask_warn('', N("No browser available! Please install one"));
}
-
-sub quit_global() {
- ugtk2->exit(0);
-}