diff options
-rwxr-xr-x | mdkapplet | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,6 +35,8 @@ use lib qw(/usr/lib/libDrakX/drakfirsttime); use mdkonline; use Gtk2::TrayIcon; +mdkonline::is_running('mdkapplet') and die "mdkapplet already running\n"; + my $in = interactive->vnew(''); ugtk2::add_icon_path("/usr/share/mdkonline/pixmaps/"); @@ -53,8 +55,6 @@ my $localfile = "$localdir/mdkonline"; mkdir_p($localdir) if !-d $localdir; -e "$ENV{HOME}/.mdkonline" and system("mv", "$ENV{HOME}/.mdkonline", $localfile); -mdkonline::is_running('mdkapplet') and die "mdkapplet already running\n"; - my %state = ( okay => { colour => [ 'okay' ], |