[Sugar-devel] [PATCH sugar] Fix for SL# 1660 by Jorge Saldivar <jsaldivar at paraguayeduca.org>

Rafael Ortiz rafael at activitycentral.com
Fri May 18 14:58:44 EDT 2012


Forward port to latest sugar mainline of workaround fix by Jorge Saldivar <jsaldivar at paraguayeduca.org> for SL#1660: Home list view activities date sorting should be reversed (new at top, old at bottom) discussion in https://bugs.sugarlabs.org/ticket/1660, tested on an jhbuild environment and works as intended to fix sorting.
Signed-off-by: Rafael Ortiz <rafael at activitycentral.com>
---
 src/jarabe/desktop/activitieslist.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/jarabe/desktop/activitieslist.py b/src/jarabe/desktop/activitieslist.py
index 7bf0960..a18d54c 100644
--- a/src/jarabe/desktop/activitieslist.py
+++ b/src/jarabe/desktop/activitieslist.py
@@ -223,7 +223,7 @@ class ListModel(gtk.TreeModelSort):
                     '<span style="italic" weight="light">%s</span>' % \
                             (activity_info.get_name(), tags)
 
-        self._model.append([activity_info.get_bundle_id(),
+        self._model.prepend([activity_info.get_bundle_id(),
                             favorite,
                             activity_info.get_icon(),
                             title,
-- 
1.7.9.5



More information about the Sugar-devel mailing list