mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
Ease importing of modules from the Common package
This commit is contained in:
parent
e3410d3305
commit
5a0fff722b
2 changed files with 5 additions and 8 deletions
|
@ -17,3 +17,4 @@
|
|||
|
||||
"""GStreamer development utilities common module"""
|
||||
|
||||
import Data, GUI, Main, utils
|
||||
|
|
|
@ -43,13 +43,7 @@ import gtk.glade
|
|||
|
||||
## import gnome # FIXME
|
||||
|
||||
import GstDebugViewer.Common.Data
|
||||
import GstDebugViewer.Common.GUI
|
||||
import GstDebugViewer.Common.Main
|
||||
Common = GstDebugViewer.Common
|
||||
from GstDebugViewer.Common import utils
|
||||
|
||||
from GstDebugViewer import Data, Main
|
||||
from GstDebugViewer import Common, Data, Main
|
||||
|
||||
class ColorTheme (object):
|
||||
|
||||
|
@ -1123,7 +1117,9 @@ class App (object):
|
|||
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue