diff --git a/system/logger.py b/system/logger.py index 4e12e3c..5f04fb4 100644 --- a/system/logger.py +++ b/system/logger.py @@ -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)