summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2004-02-04 16:10:51 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2004-02-04 16:10:51 +0000
commitd6bf916d3a4183f44e93e7a2383216a0cfe51be1 (patch)
tree68c770f48bc8be8554dbebe443210c951590c967
parent7b640adf291c14bafe8ad97fbd2b75ae6ae36df2 (diff)
downloaddrakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.tar
drakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.tar.gz
drakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.tar.bz2
drakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.tar.xz
drakx-d6bf916d3a4183f44e93e7a2383216a0cfe51be1.zip
compact declaration
-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 b0244fcdb..b26a622d4 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -185,15 +185,13 @@ ugtk2->exit(0);
sub manage {
my ($netc, $netcnx, $intf) = @_;
- my $gui = {};
- my ($interface_menu, $selected);
+ my ($gui, $config) = ({}, {});
+ my ($interface_menu, $selected, $apply_button);
my $window = ugtk2->new('Manage Connection');
my $notebook = Gtk2::Notebook->new;
$notebook->set_property('show-tabs', 0);
$notebook->set_property('show-border', 0);
- my $apply_button;
- my $config = {};
eval(cat_('/etc/sysconfig/drakconnect'));
@all_cards = network::ethernet::get_eth_cards();