aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools/Module/Proxy.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ManaTools/Module/Proxy.pm')
-rw-r--r--lib/ManaTools/Module/Proxy.pm13
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/ManaTools/Module/Proxy.pm b/lib/ManaTools/Module/Proxy.pm
index fa3a8a3c..9869a197 100644
--- a/lib/ManaTools/Module/Proxy.pm
+++ b/lib/ManaTools/Module/Proxy.pm
@@ -41,19 +41,16 @@ use MDK::Common::System qw(getVarsFromSh);
extends qw( ManaTools::Module );
-has '+icon' => (
- default => File::ShareDir::dist_file(ManaTools::Shared::distName(), 'images/manaproxy.png'),
-);
-
has '+name' => (
- lazy => 1,
- builder => '_nameInitializer',
+ default => 'manaproxy',
+ required => 0,
+ init_arg => undef,
);
-sub _nameInitializer {
+sub _titleInitializer {
my $self = shift;
- return ($self->loc->N("manaproxy - Proxy configuration"));
+ return ($self->loc->N("%s - Proxy configuration", $self->name()));
};
has 'dialog' => (