summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/net_applet4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/net_applet b/bin/net_applet
index c3b7ddc..c48612a 100755
--- a/bin/net_applet
+++ b/bin/net_applet
@@ -19,7 +19,6 @@ use network::ifw;
use network::monitor;
use network::signal_strength;
use detect_devices;
-use modules;
use Gtk2::TrayIcon;
@@ -36,7 +35,6 @@ my ($current_state, $current_interface, $current_description, $simple_menu, $men
add_icon_path("/usr/share/libDrakX/pixmaps/");
my $net = {};
-my $modules_conf = modules::any_conf->read;
my $watched_interface;
my %pixbufs =
@@ -309,7 +307,7 @@ sub go2State {
my $need_update;
my ($old_interface, $old_description);
if ($current_interface ne $interface) {
- my $card = find { $_->[0] eq $interface } network::connection::ethernet::get_eth_cards($modules_conf);
+ my $card = find { $_->[0] eq $interface } network::connection::ethernet::get_eth_cards();
if ($state_type eq 'disconnected') {
$old_interface = $current_interface;
$old_description = $current_description;