summaryrefslogtreecommitdiffstats
path: root/lib/network/netcenter.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-08-09 19:42:04 +0000
committerOlivier Blin <oblin@mandriva.com>2007-08-09 19:42:04 +0000
commitf350cb8d439b426708811cc3222d4120ee977f57 (patch)
tree7ff6a6f162463164c889473d2745395618fc08f4 /lib/network/netcenter.pm
parent7a21fdf04879ca03b2d6c3aaaadd23fc5710fcc8 (diff)
downloaddrakx-net-f350cb8d439b426708811cc3222d4120ee977f57.tar
drakx-net-f350cb8d439b426708811cc3222d4120ee977f57.tar.gz
drakx-net-f350cb8d439b426708811cc3222d4120ee977f57.tar.bz2
drakx-net-f350cb8d439b426708811cc3222d4120ee977f57.tar.xz
drakx-net-f350cb8d439b426708811cc3222d4120ee977f57.zip
move connection management code of drakroam in new network::connection_manager
Diffstat (limited to 'lib/network/netcenter.pm')
-rwxr-xr-xlib/network/netcenter.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 1804851..846110b 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -33,11 +33,11 @@ sub filter_networks {
sub build_networks_list {
my ($in, $net, $w, $pixbufs, $connection) = @_;
- my $droam = network::drakroam::create_drakroam($in, $net, $w, $pixbufs);
- network::drakroam::create_networks_list($droam);
+ my $droam = network::connection_manager::create($in, $net, $w, $pixbufs);
+ network::connection_manager::create_networks_list($droam);
$droam->{connection} = $connection;
$droam->{filter_networks} = sub { filter_networks($connection) };
- network::drakroam::update_networks($droam);
+ network::connection_manager::update_networks($droam);
$droam->{gui}{networks_list};
}
@@ -65,7 +65,7 @@ sub main {
my @connections = map { $_->get_connections(automatic_only => 1) } network::connection::get_types;
@connections = reverse(uniq_ { $_->{device} } reverse(@connections));
- my $pixbufs = network::drakroam::get_pixbufs();
+ my $pixbufs = network::connection_manager::create_pixbufs();
gtkadd($w->{window},
gtknew('VBox', spacing => 5, children => [