diff options
Diffstat (limited to 'lib/ManaTools/Module/DisplayManager.pm')
-rw-r--r-- | lib/ManaTools/Module/DisplayManager.pm | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/lib/ManaTools/Module/DisplayManager.pm b/lib/ManaTools/Module/DisplayManager.pm index e40d8c24..32599f9c 100644 --- a/lib/ManaTools/Module/DisplayManager.pm +++ b/lib/ManaTools/Module/DisplayManager.pm @@ -42,19 +42,16 @@ use MDK::Common::Func qw(find); extends qw( ManaTools::Module ); -has '+icon' => ( - default => File::ShareDir::dist_file(ManaTools::Shared::distName(), 'images/manadm.png'), -); - has '+name' => ( - lazy => 1, - builder => '_nameInitializer', + default => 'manadm', + required => 0, + init_arg => undef, ); -sub _nameInitializer { +sub _titleInitializer { my $self = shift; - return ($self->loc->N("manadm - Display Manager")); + return ($self->loc->N("%s - Display Manager", $self->name())); } has 'dialog' => ( |