|
|
@ -903,6 +903,11 @@ class Interface(object): |
|
|
|
_log.debug('Data: %s', str(message)) |
|
|
|
_log.debug('Data: %s', str(message)) |
|
|
|
store.prepend([message]) |
|
|
|
store.prepend([message]) |
|
|
|
store.sort_column_changed() |
|
|
|
store.sort_column_changed() |
|
|
|
|
|
|
|
if len(results) > 0: |
|
|
|
|
|
|
|
# scroll to the first cell, to "show" that there are new items. |
|
|
|
|
|
|
|
iter = self._grid.get_model().get_iter_first() |
|
|
|
|
|
|
|
path = self._grid.get_model().get_path(iter) |
|
|
|
|
|
|
|
self._grid.scroll_to_cell(path) |
|
|
|
self._grid.queue_draw() |
|
|
|
self._grid.queue_draw() |
|
|
|
|
|
|
|
|
|
|
|
# once our update went fine, we can queue the next one. This avoids |
|
|
|
# once our update went fine, we can queue the next one. This avoids |
|
|
|