summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-03 17:05:51 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-03 17:05:51 +0000
commitda19fdbfe85e440bf015967871c8830aa2a6a8cd (patch)
tree4bdb30cc2547e09a8bde823ea953e107d46b6215
parentd7b3a7e0e51507c160d1d831251ad72deb7760f5 (diff)
downloadmgaonline-da19fdbfe85e440bf015967871c8830aa2a6a8cd.tar
mgaonline-da19fdbfe85e440bf015967871c8830aa2a6a8cd.tar.gz
mgaonline-da19fdbfe85e440bf015967871c8830aa2a6a8cd.tar.bz2
mgaonline-da19fdbfe85e440bf015967871c8830aa2a6a8cd.tar.xz
mgaonline-da19fdbfe85e440bf015967871c8830aa2a6a8cd.zip
comment
-rwxr-xr-xmdkapplet2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdkapplet b/mdkapplet
index 69fecd0e..7c89f560 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -221,6 +221,7 @@ $icon->signal_connect(activate => sub {
new_distribution => \&upgrade,
);
my $action = $state_global;
+ # default to updates rather than distro upgrade:
if ($action eq 'new_distribution' && $sub_state eq 'updates') {
$action = 'updates';
}
@@ -595,6 +596,7 @@ sub setState {
$bubble->add_action('clicked', N("Upgrade the system"), \&upgrade);
if ($sub_state eq 'updates') {
push @arr, 'update';
+ # default to updates rather than distro upgrade:
$bubble->add_action('clicked', N("Install updates"), \&installUpdates);
}
} elsif ($state eq 'updates') {