diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-01-16 16:02:49 +0100 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-01-16 16:02:49 +0100 |
commit | fed16eef71eacf5e06b7efb633e6cbf1e55f38f0 (patch) | |
tree | 04717956a7eca187aef30c4748c56338c9735ff9 /apanel.pl | |
parent | 1f0a53f65d026d328f34714dd2d7b0ba254e1dad (diff) | |
download | manatools-fed16eef71eacf5e06b7efb633e6cbf1e55f38f0.tar manatools-fed16eef71eacf5e06b7efb633e6cbf1e55f38f0.tar.gz manatools-fed16eef71eacf5e06b7efb633e6cbf1e55f38f0.tar.bz2 manatools-fed16eef71eacf5e06b7efb633e6cbf1e55f38f0.tar.xz manatools-fed16eef71eacf5e06b7efb633e6cbf1e55f38f0.zip |
Added availability to instanziate once intead o many times
Fixed return Category (now is the one we left)
Diffstat (limited to 'apanel.pl')
-rwxr-xr-x | apanel.pl | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -37,20 +37,19 @@ my $settings = getSettings(); ask_for_authentication($settings->{priv_method}) if(require_root_capability()); -while (1) { my $mainWin = new MainDisplay(); +while (1) { my $launch = $mainWin->start(); if ($launch) { $mainWin->destroy(); $launch->start(); - undef($mainWin); } else { $mainWin->destroy(); - undef($mainWin); last; } + $mainWin->setupGui(); } |