From 005510003e532e28dfb793104e4507355a5d7c87 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Oct 2008 17:50:51 +0000 Subject: (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' --- NEWS | 2 -- mdkapplet | 2 -- 2 files changed, 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; -- cgit v1.2.1