Ease importing of modules from the Common package
This commit is contained in:
parent
e3410d3305
commit
5a0fff722b
@ -17,3 +17,4 @@
|
|||||||
|
|
||||||
"""GStreamer development utilities common module"""
|
"""GStreamer development utilities common module"""
|
||||||
|
|
||||||
|
import Data, GUI, Main, utils
|
||||||
|
@ -43,13 +43,7 @@ import gtk.glade
|
|||||||
|
|
||||||
## import gnome # FIXME
|
## import gnome # FIXME
|
||||||
|
|
||||||
import GstDebugViewer.Common.Data
|
from GstDebugViewer import Common, Data, Main
|
||||||
import GstDebugViewer.Common.GUI
|
|
||||||
import GstDebugViewer.Common.Main
|
|
||||||
Common = GstDebugViewer.Common
|
|
||||||
from GstDebugViewer.Common import utils
|
|
||||||
|
|
||||||
from GstDebugViewer import Data, Main
|
|
||||||
|
|
||||||
class ColorTheme (object):
|
class ColorTheme (object):
|
||||||
|
|
||||||
@ -1123,7 +1117,9 @@ class App (object):
|
|||||||
|
|
||||||
def attach (self):
|
def attach (self):
|
||||||
|
|
||||||
state_filename = os.path.join (utils.XDG.CONFIG_HOME, "gst-debug-viewer", "state")
|
config_home = Common.utils.XDG.CONFIG_HOME
|
||||||
|
|
||||||
|
state_filename = os.path.join (config_home, "gst-debug-viewer", "state")
|
||||||
|
|
||||||
self.state = AppState (state_filename)
|
self.state = AppState (state_filename)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user