diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AdminPanel/Module/Firewall.pm | 6 | ||||
-rw-r--r-- | lib/AdminPanel/Shared/GUI.pm | 1 | ||||
-rw-r--r-- | lib/AdminPanel/Shared/Shorewall.pm | 1 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/AdminPanel/Module/Firewall.pm b/lib/AdminPanel/Module/Firewall.pm index fcd4b28c..26eb9e83 100644 --- a/lib/AdminPanel/Module/Firewall.pm +++ b/lib/AdminPanel/Module/Firewall.pm @@ -44,7 +44,7 @@ use List::MoreUtils qw(uniq); extends qw( AdminPanel::Module ); has '+icon' => ( - default => "/usr/share/mcc/themes/default/firewall-mdk.png", + default => "/usr/share/icons/manawall.png", ); has '+name' => ( @@ -498,7 +498,7 @@ sub choose_watched_services { my $retval = $self->ask_WatchedServices({ title => $self->loc->N("Interactive Firewall"), - icon => $AdminPanel::Shared::Shorewall::firewall_icon, + icon => $self->icon(), # if_(!$::isEmbedded, banner_title => N("Interactive Firewall")), messages => $self->loc->N("You can be warned when someone accesses to a service or tries to intrude into your computer. @@ -716,7 +716,7 @@ sub choose_allowed_services { my $dialog_data = { title => $self->loc->N("Firewall"), - icon => $AdminPanel::Shared::Shorewall::firewall_icon, + icon => $self->icon(), # if_(!$::isEmbedded, banner_title => $self->loc->N("Firewall")), banner_title => $self->loc->N("Firewall"), advanced_messages => $self->loc->N("You can enter miscellaneous ports. diff --git a/lib/AdminPanel/Shared/GUI.pm b/lib/AdminPanel/Shared/GUI.pm index d918e2ff..9a67231b 100644 --- a/lib/AdminPanel/Shared/GUI.pm +++ b/lib/AdminPanel/Shared/GUI.pm @@ -34,6 +34,7 @@ Angelo Naselli <anaselli@linux.it> =head1 COPYRIGHT and LICENSE Copyright (C) 2014-2015, Angelo Naselli. +Copyright (C) 2015, Matteo Pasotti <matteo.pasotti@gmail.com>. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2, as diff --git a/lib/AdminPanel/Shared/Shorewall.pm b/lib/AdminPanel/Shared/Shorewall.pm index 03b29aaf..77c6776f 100644 --- a/lib/AdminPanel/Shared/Shorewall.pm +++ b/lib/AdminPanel/Shared/Shorewall.pm @@ -13,7 +13,6 @@ use List::MoreUtils qw(uniq); use log; my $shorewall_root = "/etc/shorewall"; -our $firewall_icon = $::isInstall ? 'banner-security' : '/usr/share/mcc/themes/default/firewall-mdk.png'; sub check_iptables() { -f "$::prefix/etc/sysconfig/iptables" || |