summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet6
2 files changed, 7 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 678ca087..6d7a016e 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@
o ask for confirmation before performing distro upgrade
o compute regular updates even if there's a new distro
o enable to not check again for new distro
+ o if there're updates, install regular updates instead of performing
+ distro upgrade on left click
o use blue icon when there's a new distro
Version 2.48 - 2 October 2008
diff --git a/mdkapplet b/mdkapplet
index f8ee74ee..b6f5e1c7 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -220,7 +220,11 @@ $icon->signal_connect(activate => sub {
updates => \&installUpdates,
new_distribution => \&upgrade,
);
- $actions{$state_global}->() if ref $actions{$state_global};
+ my $action = $state_global;
+ if ($action eq 'new_distribution' && $sub_state eq 'updates') {
+ $action = 'updates';
+ }
+ $actions{$action}->() if ref $actions{$action};
});
foreach my $opt (@ARGV) {
if ($opt eq '--force' || $opt eq '-f') { setAutoStart('TRUE') }