Ticket #1506: sugar-1506.patch

File sugar-1506.patch, 878 bytes (added by alsroot, 13 years ago)
  • src/jarabe/journal/model.py

    From b12fd916bee22fc6a3d371fd9d2155935f96da62 Mon Sep 17 00:00:00 2001
    From: Aleksey Lim <alsroot@member.fsf.org>
    Date: Fri, 16 Oct 2009 20:14:48 +0000
    Subject: Sporadic freezes while scrolling journal #1506
    
    ---
     src/jarabe/journal/model.py |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/src/jarabe/journal/model.py b/src/jarabe/journal/model.py
    index 5deff6a..85b4f46 100644
    a b class BaseResultSet(object): 
    182182            logging.debug('prepending one more page, offset: %r limit: %r',
    183183                self._offset, limit)
    184184            query = self._query.copy()
    185             query['limit'] = self._page_size
     185            query['limit'] = limit
    186186            query['offset'] = self._offset
    187187            entries, self._total_count = self.find(query)
    188188