[Dextrose] [Sugar-devel] [PATCH] sl#2822: Software-Update should pre-select only to-be-upgraded activities by default.
Jerry Vonau
jvonau at shaw.ca
Thu Dec 22 03:29:14 EST 2011
On Thu, 2011-12-22 at 12:47 +0530, Ajay Garg wrote:
> This patch is for the "sugar-update-control" rpm.
>
> src/model.py | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/model.py b/src/model.py
> index 303f337..974c050 100755
> --- a/src/model.py
> +++ b/src/model.py
> @@ -449,6 +449,7 @@ class UpdateList(gtk.ListStore):
> raise RuntimeError("can't find version for %s" %
> row[UPDATE_URL])
> row[DESCRIPTION_BIG] = name
> + row[UPDATE_SELECTED] = False
> row[DESCRIPTION_SMALL] = \
> _('New version %(version)s (Size: %(size)s)') % \
> {'version':version, 'size':_humanize_size(row[UPDATE_SIZE])}
Thanks, works as expected.
Jerry
More information about the Dextrose
mailing list