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

Ajay Garg ajay at activitycentral.com
Thu Dec 22 02:17:50 EST 2011


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])}
-- 
1.7.4.4



More information about the Dextrose mailing list