summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-09 09:51:04 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-09 09:51:04 +0000
commit104154b38b51ff53bc0902d32562ae4fe9fe19c5 (patch)
treeeb0f93d11612fba79f7b66409ac631a32e908433 /bin
parent8ef15b977832d36ab2f6b4d9969e64d215c44260 (diff)
downloaddrakx-net-104154b38b51ff53bc0902d32562ae4fe9fe19c5.tar
drakx-net-104154b38b51ff53bc0902d32562ae4fe9fe19c5.tar.gz
drakx-net-104154b38b51ff53bc0902d32562ae4fe9fe19c5.tar.bz2
drakx-net-104154b38b51ff53bc0902d32562ae4fe9fe19c5.tar.xz
drakx-net-104154b38b51ff53bc0902d32562ae4fe9fe19c5.zip
reorganize to share pixbufs in draknetcenter
Diffstat (limited to 'bin')
-rwxr-xr-xbin/draknetcenter8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/draknetcenter b/bin/draknetcenter
index fcd04e2..738e61e 100755
--- a/bin/draknetcenter
+++ b/bin/draknetcenter
@@ -10,5 +10,11 @@ use lib qw(/usr/lib/libDrakX);
BEGIN { unshift @::textdomains, 'drakx-net' }
use standalone;
+use network::network;
use network::netcenter;
-network::netcenter::main();
+
+my $in = 'interactive'->vnew;
+my $net = {};
+network::network::read_net_conf($net);
+
+network::netcenter::main($in, $net);