Check-in [b9a667bbe7]
Overview
| Comment: | Disable window tilte updating per default again. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
b9a667bbe7d0a7d209f927030ed56fea |
| User & Date: | mario on 2015-05-26 00:43:24 |
| Other Links: | manifest | tags |
Context
|
2015-05-26
| ||
| 00:43 | Allow api: to be "python" or "streamtuner2" check-in: 294a2672d2 user: mario tags: trunk | |
| 00:43 | Disable window tilte updating per default again. check-in: b9a667bbe7 user: mario tags: trunk | |
| 00:42 | Fix row[`url`] reference. check-in: 388ef679b7 user: mario tags: trunk | |
Changes
Modified config.py from [6f5292e90f] to [2962c58373].
| ︙ | |||
139 140 141 142 143 144 145 | 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | - + |
self.load_favicon = 1
self.heuristic_bookmark_update = 0
self.retain_deleted = 0
self.auto_save_appstate = 1
self.auto_save_stations = 0
self.reuse_m3u = 1
self.playlist_asis = 0
|
| ︙ |
Modified st2.py from [f494cf4f99] to [9a3f8e2477].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - + | #!/usr/bin/env python # encoding: UTF-8 # api: python # type: application # title: streamtuner2 # description: Directory browser for internet radio, audio and video streams |
| ︙ | |||
188 189 190 191 192 193 194 | 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | + - + |
"streamedit_open": self.streamedit.open,
"streamedit_save": self.streamedit.save,
"streamedit_new": self.streamedit.new,
"streamedit_cancel": self.streamedit.cancel,
})
# actually display main window
if conf.window_title:
|
| ︙ | |||
241 242 243 244 245 246 247 | 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | + - + - - + |
# 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)
# update window title, call plugin (e.g. channel link in toolbar)
if conf.window_title:
|
| ︙ |