aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mpan
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-03-16 18:16:50 +0100
committerAngelo Naselli <anaselli@linux.it>2015-03-16 18:16:50 +0100
commitfc9772f1f03684e8dab50ff77d2c46c5e0309c7b (patch)
tree375b76cf80e5d816eb48a4badf3bb949199ef220 /scripts/mpan
parent825922057a21a9b09c60edf4b44535d7fd49926d (diff)
downloadcolin-keep-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar
colin-keep-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar.gz
colin-keep-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar.bz2
colin-keep-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar.xz
colin-keep-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.zip
Moved to namespace to ManaTools
Diffstat (limited to 'scripts/mpan')
-rwxr-xr-xscripts/mpan20
1 files changed, 10 insertions, 10 deletions
diff --git a/scripts/mpan b/scripts/mpan
index 3b1abd0..7666041 100755
--- a/scripts/mpan
+++ b/scripts/mpan
@@ -4,27 +4,27 @@
# Copyright 2013 - 2015 Matteo Pasotti
# Copyright 2014 - 2015 Angelo Naselli
#
-# This file is part of AdminPanel
+# This file is part of manatools
#
-# AdminPanel is free software: you can redistribute it and/or modify
+# ManaTools is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
-# AdminPanel is distributed in the hope that it will be useful,
+# ManaTools is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
-# along with AdminPanel. If not, see <http://www.gnu.org/licenses/>.
+# along with ManaTools. If not, see <http://www.gnu.org/licenses/>.
use strict;
use warnings;
use diagnostics;
-use AdminPanel::Privileges;
-use AdminPanel::SettingsReader;
-use AdminPanel::MainDisplay;
+use ManaTools::Privileges;
+use ManaTools::SettingsReader;
+use ManaTools::MainDisplay;
use yui;
my $cmdline = new yui::YCommandLine;
@@ -39,7 +39,7 @@ if ($cmdline->find("--dev") > 0) {
else {
ask_for_authentication($settings->{priv_method}) if is_root_capability_required();
}
-my $mainWin = new AdminPanel::MainDisplay();
+my $mainWin = new ManaTools::MainDisplay();
while (1) {
my $launch = $mainWin->start();
@@ -64,7 +64,7 @@ sub usage {
# and it is overriden by --conf_dir, so it should be discussed better to understand
# if it is really needed any more.
# Window title is got from settings.conf (key title)
- print "\t--name string specify the window title of the administration panel\n";
+ print "\t--name string specify the window title of the mana-tools panel\n";
print "\t--conf_dir path specify the settings.conf file directory\n";
print "\n";
exit(0);
@@ -88,7 +88,7 @@ sub getSettings {
}
# configuration file name
my $fileName = "$confDir/settings.conf";
- return new AdminPanel::SettingsReader($fileName);
+ return new ManaTools::SettingsReader($fileName);
}
=pod