Check-in [0698d339c3]
Overview
| Comment: | Set `no-show-all` for statusbar_img to remain hidden on window init. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
0698d339c3801a6b8611461819d77631 |
| User & Date: | mario on 2017-01-05 21:20:12 |
| Other Links: | manifest | tags |
Context
|
2017-01-05
| ||
| 21:20 | Default background color for channel.warn() calls. check-in: 197656d143 user: mario tags: trunk | |
| 21:20 | Set `no-show-all` for statusbar_img to remain hidden on window init. check-in: 0698d339c3 user: mario tags: trunk | |
|
2017-01-03
| ||
| 20:11 | Introduce statusbar_img and GenericChannel.warn() function; albeit it allows any stock icon to be used. (May introduce a generalized background/foreground color wrapping.) check-in: 8b13ba0189 user: mario tags: trunk | |
Changes
Modified gtk3.xml.gz from [306a27ebf6] to [3ce1546d8d].
cannot compute difference between binary files
Modified st2.py from [ffaad9d3ab] to [0e842350c3].
| ︙ | |||
384 385 386 387 388 389 390 391 392 393 394 395 396 397 | 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 | + + |
uikit.do(self.progress.show, immediate=1)
uikit.do(self.progress.set_fraction, text, immediate=1)
# add text
elif isinstance(text, (str, unicode)):
uikit.do(self.statusbar.set_markup if markup else self.statusbar.set_text, text)
if icon:
uikit.do(lambda icon=icon, *x: self.statusbar_img.show() or self.statusbar_img.set_from_stock(icon, 2))
else:
uikit.do(self.statusbar_img.hide)
# clean up
else:
self.status_clear(anyway=True)
# Clean up after 3 seconds
def status_clear(self, anyway=False):
if anyway or time.time() >= self.status_last:
|
| ︙ | |||
522 523 524 525 526 527 528 | 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 | - + - + |
gobject.threads_init()
# prepare main window
main = StreamTunerTwo()
# first invocation
if (conf.get("firstrun")):
|
| ︙ |