summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-22 03:46:40 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-22 03:46:40 +0000
commitea7337c7f59ef70871c61e4048744f0f704e168c (patch)
treedf7ab8c0521509ae8304841fa58e19daec2685e4 /perl-install
parent5ec52c56b184d4f1c9013b79d19ac012c86cd0ba (diff)
downloaddrakx-backup-do-not-use-ea7337c7f59ef70871c61e4048744f0f704e168c.tar
drakx-backup-do-not-use-ea7337c7f59ef70871c61e4048744f0f704e168c.tar.gz
drakx-backup-do-not-use-ea7337c7f59ef70871c61e4048744f0f704e168c.tar.bz2
drakx-backup-do-not-use-ea7337c7f59ef70871c61e4048744f0f704e168c.tar.xz
drakx-backup-do-not-use-ea7337c7f59ef70871c61e4048744f0f704e168c.zip
allow to select a wireless network
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/monitor.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/network/monitor.pm b/perl-install/network/monitor.pm
index 27145ef9f..08fc4c971 100644
--- a/perl-install/network/monitor.pm
+++ b/perl-install/network/monitor.pm
@@ -36,4 +36,10 @@ sub list_wireless {
\%networks;
}
+sub select_network {
+ my ($o, $id) = @_;
+ $networks = $o->call_method('SelectNetwork',
+ Net::DBus::Binding::Value->new(&Net::DBus::Binding::Message::TYPE_UINT32, $id));
+}
+
1;