From da19fdbfe85e440bf015967871c8830aa2a6a8cd Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Oct 2008 17:05:51 +0000 Subject: comment --- mdkapplet | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mdkapplet') 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') { -- cgit v1.2.1