[Sugar-devel] [PATCH] sl#2822: Software-Update should pre-select only to-be-upgraded activities by default.

Ajay Garg ajay at activitycentral.com
Thu Dec 22 03:52:06 EST 2011


Thanks, my pleasure.

Regards,
Ajay

On Thu, Dec 22, 2011 at 1:59 PM, Jerry Vonau <jvonau at shaw.ca> wrote:
> 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
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


More information about the Sugar-devel mailing list