From bf41edb6b918ee7a1e286cbba4c58d8689a9c9ca Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 19 May 2003 14:21:41 +0000 Subject: some drakconnect cleanups --- perl-install/standalone/drakconnect | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 7b78e7e1f..f2bf3e368 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -245,9 +245,7 @@ $button_expert->signal_connect(clicked => sub { $bbox0->add($button_expert); my $button_apply = new Gtk2::Button(N("Apply")); -$button_apply->signal_connect(clicked => sub { - apply(); - }); +$button_apply->signal_connect(clicked => \&apply); $button_apply->set_sensitive(0); $bbox0->add($button_apply); @@ -261,8 +259,7 @@ $bbox0->add($button_cancel); my $button_ok = new Gtk2::Button(N("OK")); $button_ok->signal_connect(clicked => sub { my $dialog = new_dialog(); - my $label = new Gtk2::Label(N("Please Wait... Applying the configuration")); - $dialog->vbox->pack_start($label,1,1,20); + $dialog->vbox->pack_start(new Gtk2::Label(N("Please Wait... Applying the configuration")),1,1,20); $dialog->show_all; gtkflush(); apply(); -- cgit v1.2.1