Check-in [98f8aea21d]
Overview
Comment: | Fix bookmarks tab swtich on search completion. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
98f8aea21d3fb1e7f31d87d9630a1f43 |
User & Date: | mario on 2015-04-11 16:08:46 |
Other Links: | manifest | tags |
Context
2015-04-11
| ||
16:09 | Give up. Just use embedded PNG for transparent empty_pixbif. check-in: c4adfede4a user: mario tags: trunk | |
16:08 | Fix bookmarks tab swtich on search completion. check-in: 98f8aea21d user: mario tags: trunk | |
14:12 | Shorten first_show(). Plugins don't initialize on startup anymore, but again on first channel tab selection. Use first entry from categories as current, if none is set. Remove some obsolete code. Display now matches on fresh installations as well as with existing cache/state. check-in: e663445700 user: mario tags: trunk | |
Changes
Modified channels/search.py from [8e5b1ccd0f] to [5268caae4b].
︙ | ︙ | |||
77 78 79 80 81 82 83 | entries.append(row) self.show_results(entries) # display "search" in "bookmarks" def show_results(self, entries): self.main.status(1.0) self.main.status("") | | | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | entries.append(row) self.show_results(entries) # display "search" in "bookmarks" def show_results(self, entries): self.main.status(1.0) self.main.status("") self.main.channel_switch_by_name("bookmarks") self.main.bookmarks.set_category("search") # insert data and show self.main.channels["bookmarks"].streams["search"] = entries # we have to set it here, else .currentcat() might reset it self.main.bookmarks.load("search") # live search on directory server homepages |
︙ | ︙ |