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' --- mdkapplet | 2 -- 1 file changed, 2 deletions(-) (limited to 'mdkapplet') 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