summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-02-16 13:46:17 +0000
committerOlivier Blin <oblin@mandriva.org>2005-02-16 13:46:17 +0000
commit8d3bbeba252e9f61333bb32771cdec1d734c8ab4 (patch)
treedb5212831824f119d071324b5814ef985b8955be /perl-install
parent936e9b839602eeafb3f41c161b2416c81489c79f (diff)
downloaddrakx-8d3bbeba252e9f61333bb32771cdec1d734c8ab4.tar
drakx-8d3bbeba252e9f61333bb32771cdec1d734c8ab4.tar.gz
drakx-8d3bbeba252e9f61333bb32771cdec1d734c8ab4.tar.bz2
drakx-8d3bbeba252e9f61333bb32771cdec1d734c8ab4.tar.xz
drakx-8d3bbeba252e9f61333bb32771cdec1d734c8ab4.zip
rename get_mode as get_interactive
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/activefw.pm10
-rw-r--r--perl-install/standalone/net_applet2
2 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/network/activefw.pm b/perl-install/network/activefw.pm
index 4c1292845..78e958043 100644
--- a/perl-install/network/activefw.pm
+++ b/perl-install/network/activefw.pm
@@ -69,11 +69,6 @@ sub call_method {
@ret;
}
-sub get_mode {
- my ($o) = @_;
- $o->call_method('GetMode');
-}
-
sub blacklist {
my ($o, $seq, $blacklist) = @_;
$o->call_method('Blacklist',
@@ -99,6 +94,11 @@ sub unwhitelist {
Net::DBus::Binding::Value->new(&Net::DBus::Binding::Message::TYPE_UINT32, $addr));
}
+sub get_interactive {
+ my ($o) = @_;
+ $o->call_method('GetMode');
+}
+
sub set_interactive {
my ($o, $mode) = @_;
$o->call_method('SetMode',
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index 6cbb6ea9e..4a5694637 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -84,7 +84,7 @@ my $activefw = activefw->new(sub {
$msg->get_path eq "/com/mandrakesoft/activefirewall" &&
$msg->get_member eq "Attack";
});
-my $interactive_ids = $activefw->get_mode;
+my $interactive_ids = $activefw->get_interactive;
checkNetwork();
cronNetwork();