summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakconnect
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-27 13:01:47 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-27 13:01:47 +0000
commita9d6663d80a8e9216efc35dd85c00f815263668a (patch)
tree76d722c8f21f710d861940b8c212956b2bda167b /perl-install/standalone/drakconnect
parent4ce89e700a887f12b941d9a0ea619c721ab1a5f2 (diff)
downloaddrakx-backup-do-not-use-a9d6663d80a8e9216efc35dd85c00f815263668a.tar
drakx-backup-do-not-use-a9d6663d80a8e9216efc35dd85c00f815263668a.tar.gz
drakx-backup-do-not-use-a9d6663d80a8e9216efc35dd85c00f815263668a.tar.bz2
drakx-backup-do-not-use-a9d6663d80a8e9216efc35dd85c00f815263668a.tar.xz
drakx-backup-do-not-use-a9d6663d80a8e9216efc35dd85c00f815263668a.zip
fixed cancel on configure_net, fixed bad fields setted up in configure_lan,
fixed Data::Dumper->Dump on stdout on startup.
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-xperl-install/standalone/drakconnect6
1 files changed, 2 insertions, 4 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 9a3065089..360bd1895 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -70,8 +70,6 @@ network::netconnect::read_net_conf('', $netcnx, $netc);
modules::load_category('net');
my @all_cards = network::ethernet::conf_network_card_backend($netc, $intf);
network::netconnect::load_conf($netcnx, $netc, $intf);
-require Data::Dumper;
-print STDERR Data::Dumper->Dump([ $intf ]);
network::network::probe_netcnx_type('', $netc, $intf, $netcnx);
my $window1 = ugtk2->new('drakconnect');
@@ -398,7 +396,7 @@ sub quit_global {
}
sub configure_lan {
- my (undef, $prefix, $netcnx, undef, $intf) = @_;
+ my ($prefix, $netcnx, undef, $intf) = @_;
my $window = Gtk2::Window->new('toplevel');
my @card_tab;
@@ -641,7 +639,7 @@ Create one first by clicking on 'Configure'")),1,1,0);
});
$bbox9->add($button_ok);
my $button_cancel = new Gtk2::Button(N("Cancel"));
- $button_cancel->signal_connect(clicked => sub { $window->destroy(); Gtk->main_quit });
+ $button_cancel->signal_connect(clicked => sub { $window->destroy(); Gtk2->main_quit });
$bbox9->add($button_cancel);
$window->set_modal(1);