Let log windows always follow changes/new entries.
This commit is contained in:
parent
23914b2d1e
commit
e151e66898
|
@ -57,6 +57,9 @@ class LogView(gtk.TreeView):
|
|||
self.connect('button_press_event', self.mouse_popup_menu)
|
||||
#self.connect('button_release_event', None)
|
||||
|
||||
# Make sure tree view displays bottom entry when entered
|
||||
self.model.connect('row-changed', lambda model, path, iter : self.scroll_to_cell(path))
|
||||
|
||||
def set_level(self, level):
|
||||
self.level = level
|
||||
self.level_no = self.logger.levels.index(level)
|
||||
|
|
Reference in New Issue