diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-03-16 18:16:50 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-03-16 18:16:50 +0100 |
commit | fc9772f1f03684e8dab50ff77d2c46c5e0309c7b (patch) | |
tree | 375b76cf80e5d816eb48a4badf3bb949199ef220 /lib/AdminPanel/Module/DisplayManager.pm | |
parent | 825922057a21a9b09c60edf4b44535d7fd49926d (diff) | |
download | manatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar manatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar.gz manatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar.bz2 manatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.tar.xz manatools-fc9772f1f03684e8dab50ff77d2c46c5e0309c7b.zip |
Moved to namespace to ManaTools
Diffstat (limited to 'lib/AdminPanel/Module/DisplayManager.pm')
-rw-r--r-- | lib/AdminPanel/Module/DisplayManager.pm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/AdminPanel/Module/DisplayManager.pm b/lib/AdminPanel/Module/DisplayManager.pm index 1f6c0545..39aa6175 100644 --- a/lib/AdminPanel/Module/DisplayManager.pm +++ b/lib/AdminPanel/Module/DisplayManager.pm @@ -18,7 +18,7 @@ # #***************************************************************************** -package AdminPanel::Module::DisplayManager; +package ManaTools::Module::DisplayManager; use Modern::Perl '2011'; use autodie; @@ -28,9 +28,9 @@ use English; use utf8; use yui; -use AdminPanel::Shared qw(trim apcat); -use AdminPanel::Shared::GUI; -# use AdminPanel::Shared::DisplayManager; +use ManaTools::Shared qw(trim apcat); +use ManaTools::Shared::GUI; +# use ManaTools::Shared::DisplayManager; # TODROP but provides network::network use lib qw(/usr/lib/libDrakX); @@ -38,7 +38,7 @@ use network::network; use MDK::Common::System qw(getVarsFromSh addVarsInSh); use MDK::Common::Func qw(find); -extends qw( AdminPanel::Module ); +extends qw( ManaTools::Module ); has '+icon' => ( @@ -120,14 +120,14 @@ sub _localeInitialize { my $self = shift(); # TODO fix domain binding for translation - $self->loc(AdminPanel::Shared::Locales->new(domain_name => 'drakdm') ); + $self->loc(ManaTools::Shared::Locales->new(domain_name => 'drakdm') ); # TODO if we want to give the opportunity to test locally add dir_name => 'path' } sub _SharedUGUIInitialize { my $self = shift(); - $self->sh_gui( AdminPanel::Shared::GUI->new() ); + $self->sh_gui( ManaTools::Shared::GUI->new() ); } #============================================================= @@ -189,7 +189,7 @@ sub ask_for_X_restart { sub _manageProxyDialog { my $self = shift; - ## TODO fix for adminpanel + ## TODO fix for manatools my $appTitle = yui::YUI::app()->applicationTitle(); my $appIcon = yui::YUI::app()->applicationIcon(); ## set new title to get it in dialog @@ -280,7 +280,7 @@ sub _manageProxyDialog { } ); }elsif ($widget == $okButton) { - my $current_choice = AdminPanel::Shared::trim($rb_group->currentButton()->label()); + my $current_choice = ManaTools::Shared::trim($rb_group->currentButton()->label()); $current_choice =~s/\&//g; addVarsInSh($self->conffile, { DISPLAYMANAGER => lc($current_choice) } ); $self->ask_for_X_restart(); |