284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
|
log.INFO("Oooops, parser returned nothing for category " + category)
# Update treeview/model (if category is still selected)
log.UI("load columns datamap streams")
if self.current == category:
uikit.do(uikit.columns, self.gtk_list, self.datamap, self.prepare(self.streams[category]))
if y:
uikit.do(self.gtk_list.scroll_to_point, 0, y) # scroll to previous position
# set pointer
self.status("")
self.status(1.0)
# store current streams data
|
|
>
|
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
|
log.INFO("Oooops, parser returned nothing for category " + category)
# Update treeview/model (if category is still selected)
log.UI("load columns datamap streams")
if self.current == category:
uikit.do(uikit.columns, self.gtk_list, self.datamap, self.prepare(self.streams[category]))
if y:
uikit.do(self.gtk_list.scroll_to_point, 0, y + 1) # scroll to previous position, +1 px, because
# somehow Gtk.TreeView else stumbles over itself when scrolling to the same position the 2nd time
# set pointer
self.status("")
self.status(1.0)
# store current streams data
|