Index: channels/__init__.py ================================================================== --- channels/__init__.py +++ channels/__init__.py @@ -179,10 +179,12 @@ # traverse category TreeModel to set current, expand parent nodes def select_current(self, name): log.UI("reselect .current category in treelist:", name) model = self.gtk_cat.get_model() + # [Gtk3] Warning: g_object_ref_sink: assertion 'object->ref_count >= 1' failed + # ERROR:../../gi/pygobject.c:688:pygobject_register_wrapper: assertion failed: (gself->obj->ref_count >= 1) iter = model.get_iter_first() self.iter_cats(name, model, iter) # iterate over children to find current category def iter_cats(self, name, model, iter): @@ -442,11 +444,10 @@ self.current = self.str_from_struct(self.categories) or None # put selection/cursor on last position if True: uikit.do(self.select_current, self.current) - #uikit.do(lambda:self.gtk_list.get_selection().select_path(self.shown)) # Show current category in any case log.UI(self.module, "→ first_show(); station list → load(", self.current, ")") self.load(self.current) @@ -489,11 +490,11 @@ if len(self.categories) < 20: self.gtk_cat.expand_all() # Select last .current or any first element if self.current: - self.select_current(self.current) + uikit.do(self.select_current, self.current) #self.currentcat() #else: self.gtk_cat.get_selection().select_path("0") #set_cursor