From 7275ed577dcb901b378ca87390e66fd29ec6603d Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Wed, 30 Dec 2015 15:20:54 +0100 Subject: fixed icon and title --- lib/ManaTools/Module/Proxy.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/ManaTools') 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; -- cgit v1.2.1