[Bugs] #1660 UNSP: Home list view activities date sorting should be reversed (new at top, old at bottom)

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sat Jul 3 12:54:32 EDT 2010


#1660: Home list view activities date sorting should be reversed (new at top, old
at bottom)
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  tomeu            
        Type:  defect                     |         Status:  new              
    Priority:  Unspecified by Maintainer  |      Milestone:  0.88             
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Minor                      |       Keywords:                   
Distribution:  Unspecified                |   Status_field:  New              
------------------------------------------+---------------------------------

Comment(by mikus):

 For os295py (sugar 0.88.1), the following patch solved the problem:
 {{{
   From: Jorge Saldivar <jsaldivar at paraguayeduca.org>
   ---
    src/jarabe/desktop/activitieslist.py |    2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

   diff --git a/src/jarabe/desktop/activitieslist.py
 b/src/jarabe/desktop/activitieslist.py
   index 87f2af0..546ac6f 100644
   --- a/src/jarabe/desktop/activitieslist.py
   +++ b/src/jarabe/desktop/activitieslist.py
   @@ -228,7 +228,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,
   --
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/1660#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list