Browse Source

Removed references to _grids (which doesn't exist anymore) from the

updates.
master
Julio Biason 15 years ago
parent
commit
af9f151c3a
  1. 18
      mitterlib/ui/ui_pygtk.py

18
mitterlib/ui/ui_pygtk.py

@ -683,13 +683,8 @@ class Interface(object):
retrieved."""
_log.debug('%d new tweets', len(results))
(grid, counter) = self._grids[0]
store = grid.get_model()
self._fill_store(store, results)
grid.queue_draw()
self._new_message_count += len(results)
self._message_count_updated()
grid = self._main_tabs.get_nth_page(0)
grid.update(results)
# now get replies
self._update_statusbar(_('Retrieving replies...'))
@ -720,13 +715,8 @@ class Interface(object):
"""Called after we retrieve the replies."""
_log.debug("%d new replies", len(results))
(grid, counter) = self._grids[1]
store = grid.get_model()
self._fill_store(store, results)
grid.queue_draw()
self._new_replies_count += len(results)
self._message_count_updated()
grid = self._main_tabs.get_nth_page(1)
grid.update(results)
# once our update went fine, we can queue the next one. This avoids
# any problems if case there is an exception.

Loading…
Cancel
Save