aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ManaTools/Module/DisplayManager.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ManaTools/Module/DisplayManager.pm b/lib/ManaTools/Module/DisplayManager.pm
index 2290336..b3f4cd0 100644
--- a/lib/ManaTools/Module/DisplayManager.pm
+++ b/lib/ManaTools/Module/DisplayManager.pm
@@ -136,7 +136,7 @@ sub _SharedUGUIInitialize {
sub start {
my $self = shift;
- if ($EUID != 0) {
+ if (!ManaTools::Shared::devel_mode() && $EUID != 0) {
$self->sh_gui->warningMsgBox({
title => $self->name,
text => $self->loc->N("root privileges required"),
@@ -144,6 +144,11 @@ sub start {
return;
}
+ ## set new title to get it in dialog
+ yui::YUI::app()->setApplicationTitle($self->name);
+ ## set icon if not already set by external launcher
+ yui::YUI::app()->setApplicationIcon($self->icon);
+
# initialize dm descriptions for i18n
$self->_build_desc_for_i18n();