Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -82,7 +82,7 @@ $(INST) help/str*2.1 -t /usr/share/man/man1/ # start locally st2: run run: - python -B ./st2.py -D + MALLOC_CHECK_=2 PYTHONVERBOSE=2 python -B ./st2.py -D Index: st2.py ================================================================== --- st2.py +++ st2.py @@ -242,16 +242,15 @@ # Notebook tab has been clicked (receives numeric page_num), but *NOT* yet changed (visually). def channel_switch(self, notebook, page, page_num=0, *args): self.current_channel = notebook.get_menu_label_text(notebook.get_nth_page(page_num)) log.UI("main.channel_switch() :=", self.current_channel) - self.update_title() + # update window title, call plugin (e.g. channel link in toolbar) + uikit.do(self.update_title) # if first selected, load current category # (run in thread, to make it look speedy on first startup) - self.thread( - self.channel().first_show - ) + self.thread(self.channel().first_show) # Invoked from the menu instead, uses module name instead of numeric tab id def channel_switch_by_name(self, name): self.notebook_channels.set_current_page(self.channel_names.index(name))