diff options
author | Olivier Blin <blino@mageia.org> | 2013-05-07 01:42:40 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2013-05-07 01:42:40 +0000 |
commit | d2c2107f176ffc269a2b3992b3612c1ee86ceb64 (patch) | |
tree | dc7a1a6dabc5ba020108fb576bd2860706dcc827 /lib/network/drakroam.pm | |
parent | a61b8ca462fd6a1d610548c70b9bbdf99e985d21 (diff) | |
download | drakx-net-d2c2107f176ffc269a2b3992b3612c1ee86ceb64.tar drakx-net-d2c2107f176ffc269a2b3992b3612c1ee86ceb64.tar.gz drakx-net-d2c2107f176ffc269a2b3992b3612c1ee86ceb64.tar.bz2 drakx-net-d2c2107f176ffc269a2b3992b3612c1ee86ceb64.tar.xz drakx-net-d2c2107f176ffc269a2b3992b3612c1ee86ceb64.zip |
connection manager: extract gtk2 specific code in separate module (to
reuse connection manager in harddrake service for packages
installation)
Diffstat (limited to 'lib/network/drakroam.pm')
-rwxr-xr-x | lib/network/drakroam.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/network/drakroam.pm b/lib/network/drakroam.pm index 8befff6..c29e41d 100755 --- a/lib/network/drakroam.pm +++ b/lib/network/drakroam.pm @@ -13,7 +13,7 @@ use interactive; use mygtk2; use ugtk2 qw(:create :helpers :wrappers); use network::connection; -use network::connection_manager; +use network::connection_manager::gtk; use network::connection::wireless; use network::connection::cellular_card; @@ -109,8 +109,8 @@ sub main { #- so that transient_for is defined, for wait messages and popups to be centered $::main_window = $w->{real_window}; - my $pixbufs = network::connection_manager::create_pixbufs(); - my $droam = network::connection_manager->new($in, $net, $w, $pixbufs); + my $pixbufs = network::connection_manager::gtk::create_pixbufs(); + my $droam = network::connection_manager::gtk->new($in, $net, $w, $pixbufs); $droam->create_networks_list; create_drakroam_gui($droam, $dbus, $title, $icon); @@ -124,7 +124,7 @@ sub main { update_connections_list($droam); update_on_connection_change($droam); - network::connection_manager::setup_dbus_handlers([ $droam ], $droam->{all_connections}, $droam->{on_network_event}, $dbus) if $dbus; + network::connection_manager::gtk::setup_dbus_handlers([ $droam ], $droam->{all_connections}, $droam->{on_network_event}, $dbus) if $dbus; if ($o_ap && $droam->{connection}) { $droam->{connection}{network} = $o_ap; |