summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-10-03 17:50:51 +0000
committerThierry Vignaud <tv@mandriva.org>2008-10-03 17:50:51 +0000
commit005510003e532e28dfb793104e4507355a5d7c87 (patch)
tree1ca15cd598cb20c4ea5b011ea06fa145b9bba072
parentd7413d1bbd2b4219979fd17bac60a117f27bd17e (diff)
downloadmgaonline-005510003e532e28dfb793104e4507355a5d7c87.tar
mgaonline-005510003e532e28dfb793104e4507355a5d7c87.tar.gz
mgaonline-005510003e532e28dfb793104e4507355a5d7c87.tar.bz2
mgaonline-005510003e532e28dfb793104e4507355a5d7c87.tar.xz
mgaonline-005510003e532e28dfb793104e4507355a5d7c87.zip
(setState) revert bogus r247677 that results in doble buttons performing the same thing; was:
'default to "Install updates" instead of distro upgrade on left click on icon if there're updates'
-rw-r--r--NEWS2
-rwxr-xr-xmdkapplet2
2 files changed, 0 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 257f1079..eb206a25 100644
--- a/NEWS
+++ b/NEWS
@@ -4,8 +4,6 @@
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 actually
diff --git a/mdkapplet b/mdkapplet
index 618e0f4e..01e038a4 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -596,8 +596,6 @@ 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') {
unshift @arr, 'upgrade_distro' if $new_distro_version;