aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-12-30 15:20:54 +0100
committerAngelo Naselli <anaselli@linux.it>2015-12-30 15:20:54 +0100
commit7275ed577dcb901b378ca87390e66fd29ec6603d (patch)
treec45125e0ba9b3b4788052064955e2167c0bf3fd9 /lib
parentb58d17211cd556246ba6775229704ee5e6e6e770 (diff)
downloadmanatools-7275ed577dcb901b378ca87390e66fd29ec6603d.tar
manatools-7275ed577dcb901b378ca87390e66fd29ec6603d.tar.gz
manatools-7275ed577dcb901b378ca87390e66fd29ec6603d.tar.bz2
manatools-7275ed577dcb901b378ca87390e66fd29ec6603d.tar.xz
manatools-7275ed577dcb901b378ca87390e66fd29ec6603d.zip
fixed icon and title
Diffstat (limited to 'lib')
-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;