diff options
| author | Angelo Naselli <anaselli@linux.it> | 2014-01-14 18:24:35 +0100 |
|---|---|---|
| committer | Angelo Naselli <anaselli@linux.it> | 2014-01-14 18:24:35 +0100 |
| commit | ba8f98e4dbb9ae9490f86a5587818fde9ab31c45 (patch) | |
| tree | d54a307e63f20e8dc00087000438ab6102f7e043 /modules/usermanager/adminUser | |
| parent | e09c0e78c3e46bfc842f3c7fdbf0d01c90087710 (diff) | |
| download | manatools-ba8f98e4dbb9ae9490f86a5587818fde9ab31c45.tar manatools-ba8f98e4dbb9ae9490f86a5587818fde9ab31c45.tar.gz manatools-ba8f98e4dbb9ae9490f86a5587818fde9ab31c45.tar.bz2 manatools-ba8f98e4dbb9ae9490f86a5587818fde9ab31c45.tar.xz manatools-ba8f98e4dbb9ae9490f86a5587818fde9ab31c45.zip | |
Managed title and icon accordingly to the constructor
Diffstat (limited to 'modules/usermanager/adminUser')
| -rwxr-xr-x | modules/usermanager/adminUser | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/modules/usermanager/adminUser b/modules/usermanager/adminUser index e4cbe5fd..c7f5b23a 100755 --- a/modules/usermanager/adminUser +++ b/modules/usermanager/adminUser @@ -2,22 +2,12 @@ use lib qw(/usr/lib/libDrakX); -use standalone; #- warning, standalone must be loaded very first, for 'explanations' +use common qw(N); -use common; -use security::level; - -use AdminPanel::Shared; use AdminPanel::Users::GUsers; -use yui; - -my $wm_icon = "/usr/share/icons/userdrake.png"; - -yui::YUI::app()->setApplicationTitle(N("Mageia Users Management Tool")); -yui::YUI::app()->setApplicationIcon($wm_icon); - -my $userMan = AdminPanel::Users::GUsers->new(); +my $userMan = AdminPanel::Users::GUsers->new({icon => "/usr/share/icons/userdrake.png", + name => N("Mageia Users Management Tool"),}); $userMan->start(); 1; |
