summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmdkapplet12
1 files changed, 2 insertions, 10 deletions
diff --git a/mdkapplet b/mdkapplet
index 386a3311..cfbaf0d3 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -123,12 +123,6 @@ my %state = (
menu => [ 'update', 'check', 'weblink' ],
tt => [ N_("New bundles are available for your system") ]
},
- noconfig => {
- colour => [ 'noconf' ],
- changes => [ 'okay' ],
- menu => [ 'weblink', 'register' ],
- tt => [ N_("Service is not configured. Please click on \"Configure the service\"") ]
- },
disconnected => {
colour => [ 'disconnect' ],
changes => [ 'okay', 'busy', 'critical', 'error' ],
@@ -212,11 +206,9 @@ my %comm_codes = (
my %actions = (
'update' => { name => N("Install updates"), launch => sub { installUpdates() } },
- 'configureApplet' => { name => N("Configure the service"), launch => sub { configure() } },
'check' => { name => N("Check Updates"), launch => \&checkUpdates },
'weblink' => { name => N("Online WebSite"), launch => sub { mdkonline::get_site($online_site, 'info.php') } },
'confNetwork' => { name => N("Configure Network"), launch => sub { configNetwork() } },
- 'register' => { name => N("Configure Now!"), launch => sub { configure() } }
);
gtkadd(my $icon = Gtk2::TrayIcon->new("MdkApplet"),
@@ -553,13 +545,13 @@ sub checkConfig() {
} elsif (!isNetwork()) {
logIt(N_("Checking Network: seems disabled\n"));
go2State('disconnected');
- } elsif (member($state_global, qw(disconnected noconfig))) {
+ } elsif (member($state_global, qw(disconnected))) {
silentCheck(); #- state has changed, update
}
}
sub checkUpdates() {
- member($state_global, qw(disconnected noconfig)) or silentCheck();
+ member($state_global, qw(disconnected)) or silentCheck();
}
sub go2State {