From 565adaca30d502d84a2589cf6331eddfb0e0f886 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Oct 2008 17:01:58 +0000 Subject: default to "Install updates" instead of distro upgrade on left click on icon if there're updates --- NEWS | 2 ++ mdkapplet | 1 + 2 files changed, 3 insertions(+) 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); -- cgit v1.2.1