summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-05-19 14:21:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-05-19 14:21:41 +0000
commitbf41edb6b918ee7a1e286cbba4c58d8689a9c9ca (patch)
tree8e67eac87db488068e22b8dca2f3e1c5b5c1e9ff /perl-install/standalone/drakconnect
parentaa43b528249b6e2e8341ea3b44cf7d3c242f66ac (diff)
downloaddrakx-backup-do-not-use-bf41edb6b918ee7a1e286cbba4c58d8689a9c9ca.tar
drakx-backup-do-not-use-bf41edb6b918ee7a1e286cbba4c58d8689a9c9ca.tar.gz
drakx-backup-do-not-use-bf41edb6b918ee7a1e286cbba4c58d8689a9c9ca.tar.bz2
drakx-backup-do-not-use-bf41edb6b918ee7a1e286cbba4c58d8689a9c9ca.tar.xz
drakx-backup-do-not-use-bf41edb6b918ee7a1e286cbba4c58d8689a9c9ca.zip
some drakconnect cleanups
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect7
1 files changed, 2 insertions, 5 deletions
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();