Check-in [6c30f68652]
Overview
| Comment: | initalize module path before loading custom (mygtk) modules |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | 2.0.9.5-dev |
| Files: | files | file ages | folders |
| SHA1: |
6c30f68652801c768a11b459cd7d76f2 |
| User & Date: | mario on 2014-04-06 00:31:40 |
| Other Links: | manifest | tags |
Context
|
2014-04-06
| ||
| 00:32 | Prevent failed channel modules to attach as notebook tabs in main window check-in: 2ae06bba02 user: mario tags: trunk | |
| 00:31 | initalize module path before loading custom (mygtk) modules check-in: 6c30f68652 user: mario tags: trunk, 2.0.9.5-dev | |
|
2014-04-05
| ||
| 23:35 | undo disabling of ---url and ---format fields check-in: 893fb7e5ce user: mario tags: trunk | |
Changes
Modified st2.py from [3646b64fc8] to [4696fba60c].
| ︙ | ︙ | |||
86 87 88 89 90 91 92 93 94 95 |
# threading or processing module
try:
from processing import Process as Thread
except:
from threading import Thread
Thread.stop = lambda self: None
# gtk modules
from mygtk import pygtk, gtk, gobject, ui_file, mygtk
| > > > > < < < | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# threading or processing module
try:
from processing import Process as Thread
except:
from threading import Thread
Thread.stop = lambda self: None
# add library path
sys.path.insert(0, "/usr/share/streamtuner2") # pre-defined directory for modules
sys.path.insert(0, ".") # pre-defined directory for modules
# gtk modules
from mygtk import pygtk, gtk, gobject, ui_file, mygtk
# custom modules
from config import conf # initializes itself, so all conf.vars are available right away
import http
import action # needs workaround... (action.main=main)
from channels import *
from channels import __print__
import favicon
#from pq import pq
|
| ︙ | ︙ |