Check-in [53bfeeff06]
Overview
Comment: | Also scroll to last category after .select_current (didn't automatically happen for current notebook.) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
53bfeeff06fd8d8d08d576bd3531cd40 |
User & Date: | mario on 2015-04-29 05:37:51 |
Other Links: | manifest | tags |
Context
2015-04-29
| ||
05:38 | Support "TV" channel for UbuntuUsers. (Albeit few are still working.) check-in: 8939760832 user: mario tags: trunk | |
05:37 | Also scroll to last category after .select_current (didn't automatically happen for current notebook.) check-in: 53bfeeff06 user: mario tags: trunk | |
2015-04-28
| ||
20:55 | Removed export_format config option for exportcat plugin (as that's selectable now in the file dialog anyway). Recategorized dnd plugin to appear earlier in the [features] config tab. check-in: 276ae3ef5f user: mario tags: trunk | |
Changes
Modified channels/__init__.py from [cafb75235c] to [162b9d0f3b].
︙ | ︙ | |||
185 186 187 188 189 190 191 192 193 194 195 196 197 198 | def iter_cats(self, name, model, iter): while iter: val = model.get_value(iter, 0) if val == name: #log.UI("FOUND CATEGORY", name, "βselect") self.gtk_cat.get_selection().select_iter(iter) self.gtk_cat.set_cursor(model.get_path(iter)) return True if model.iter_has_child(iter): found = self.iter_cats(name, model, model.iter_children(iter)) if found: self.gtk_cat.expand_row(model.get_path(iter), 0) return True iter = model.iter_next(iter) | > | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 | def iter_cats(self, name, model, iter): while iter: val = model.get_value(iter, 0) if val == name: #log.UI("FOUND CATEGORY", name, "βselect") self.gtk_cat.get_selection().select_iter(iter) self.gtk_cat.set_cursor(model.get_path(iter)) self.gtk_cat.scroll_to_cell(model.get_path(iter), None) return True if model.iter_has_child(iter): found = self.iter_cats(name, model, model.iter_children(iter)) if found: self.gtk_cat.expand_row(model.get_path(iter), 0) return True iter = model.iter_next(iter) |
︙ | ︙ |