Diff
Differences From Artifact [90a3b1d53c]:
- Executable file
st2.py
— part of check-in
[8a68105eeb]
at
2015-05-18 22:19:42
on branch trunk
— Delay window title updating logic and ui_cht callback via uikit.do() wrapper.
Seems to fix both: - Gdk:ERROR:/build/buildd/gtk+2.0-2.24.23/gdk/gdkregion-generic.c:1114:miUnionNonO: assertion failed: (r->x1 < r->x2) - Error in `python': double free or corruption (fasttop): 0x0..... (user: mario, size: 21732) [annotate] [blame] [check-ins using]
To Artifact [eca59ce447]:
- Executable file st2.py — part of check-in [069f6308de] at 2015-05-21 02:25:09 on branch trunk — Make quicksearch icon activatable again (property "secondary-icon-activatable" was required). (user: mario, size: 21782) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 | #!/usr/bin/env python # encoding: UTF-8 # api: python # type: application # title: streamtuner2 # description: Directory browser for internet radio, audio and video streams | | | 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
# version: 2.1.9-beta1
# state: beta
# author: Mario Salzer <mario@include-once.org>
# license: Public Domain
# url: http://freshcode.club/projects/streamtuner2
# config:
# { type: env, name: http_proxy, description: proxy for HTTP access }
# { type: env, name: XDG_CONFIG_HOME, description: relocates user .config subdirectory }
|
| ︙ | ︙ | |||
432 433 434 435 436 437 438 |
log.INIT("load_plugin_channels: error initializing:", name, ", exception:")
traceback.print_exc()
# Redraw logo
def logo_scale(self, r=1.0, map=None):
pix = uikit.pixbuf(logo.png, decode=1, fmt="png")
| | | 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 |
log.INIT("load_plugin_channels: error initializing:", name, ", exception:")
traceback.print_exc()
# Redraw logo
def logo_scale(self, r=1.0, map=None):
pix = uikit.pixbuf(logo.png, decode=1, fmt="png")
if map and map in (2,5,0): # gtk.ICON_SIZE_SMALL_TOOLBAR / _DND / _DIALOG
r = { 2: 0.45, 5: 0.75, 0: 1.0 }[map]
if r != 1.0:
pix = pix.scale_simple(int(321*r), int(115*r), gtk.gdk.INTERP_BILINEAR)
self.img_logo.set_from_pixbuf(pix)
# load application state (widget sizes, selections, etc.)
|
| ︙ | ︙ |