diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-22 22:12:29 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-05-22 22:12:29 +0000 |
commit | ed342237df34a48124c9fbab1e8e5bc5db2abe5c (patch) | |
tree | 6b781bc6e5d4bf7dc5cf39269e2d5707ff3264c7 | |
parent | 63df459ba0bd1f4fe7861e3aa45ffcb7c8bbc36b (diff) | |
download | drakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.tar drakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.tar.gz drakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.tar.bz2 drakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.tar.xz drakx-ed342237df34a48124c9fbab1e8e5bc5db2abe5c.zip |
(quit_global) inline it
-rwxr-xr-x | perl-install/standalone/drakbug | 6 |
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); -} |