summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-03 17:01:58 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-03 17:01:58 +0000
commit565adaca30d502d84a2589cf6331eddfb0e0f886 (patch)
tree29a71bc5aee90547e80d67f216baa0a97757343d
parent465c624a2900f2fd89815a9f14b4e5f73929dcec (diff)
downloadmgaonline-565adaca30d502d84a2589cf6331eddfb0e0f886.tar
mgaonline-565adaca30d502d84a2589cf6331eddfb0e0f886.tar.gz
mgaonline-565adaca30d502d84a2589cf6331eddfb0e0f886.tar.bz2
mgaonline-565adaca30d502d84a2589cf6331eddfb0e0f886.tar.xz
mgaonline-565adaca30d502d84a2589cf6331eddfb0e0f886.zip
default to "Install updates" instead of distro upgrade on left click on icon if
there're updates
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index de674edd..1c1d7d80 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@
o when a new distro is available:
* add an "upgrade system" in the menu
* ask for confirmation before performing distro upgrade
+ * default to "Install updates" instead of distro upgrade on left
+ click on icon if there're updates
* if there're updates, install regular updates instead of
performing distro upgrade on left click
* only show "Install updates" in right menu only if there're
diff --git a/mdkapplet b/mdkapplet
index 8abab03e..69fecd0e 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -595,6 +595,7 @@ sub setState {
$bubble->add_action('clicked', N("Upgrade the system"), \&upgrade);
if ($sub_state eq 'updates') {
push @arr, 'update';
+ $bubble->add_action('clicked', N("Install updates"), \&installUpdates);
}
} elsif ($state eq 'updates') {
$bubble->add_action('clicked', N("Install updates"), \&installUpdates);