aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ManaTools/Module
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ManaTools/Module')
-rw-r--r--lib/ManaTools/Module/Proxy.pm10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/ManaTools/Module/Proxy.pm b/lib/ManaTools/Module/Proxy.pm
index 3c078ef4..d726a7d4 100644
--- a/lib/ManaTools/Module/Proxy.pm
+++ b/lib/ManaTools/Module/Proxy.pm
@@ -46,9 +46,16 @@ has '+icon' => (
);
has '+name' => (
- default => "Proxymanager",
+ lazy => 1,
+ builder => '_nameInitializer',
);
+sub _nameInitializer {
+ my $self = shift;
+
+ return ($self->loc->N("manaproxy - Proxy configuration"));
+};
+
=head1 VERSION
Version 1.0.0
@@ -235,7 +242,6 @@ sub _manageProxyDialog {
my $appIcon = yui::YUI::app()->applicationIcon();
## set new title to get it in dialog
my $newTitle = $self->loc->N("Proxies configuration");
- yui::YUI::app()->setApplicationTitle($newTitle);
my $factory = yui::YUI::widgetFactory;
my $optional = yui::YUI::optionalWidgetFactory;