diff options
Diffstat (limited to 'bin/sugar-session')
-rwxr-xr-x | bin/sugar-session | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/sugar-session b/bin/sugar-session index fca94f6..1519a20 100755 --- a/bin/sugar-session +++ b/bin/sugar-session @@ -28,12 +28,14 @@ if os.environ.get('SUGAR_LOGGER_LEVEL', '') == 'debug': import gettext import logging +import sys from gi.repository import GConf from gi.repository import Gtk from gi.repository import Gdk from gi.repository import GdkX11 from gi.repository import GObject +from gi.repository import Gst import dbus.glib from gi.repository import Wnck @@ -47,6 +49,8 @@ except ImportError: Gdk.threads_init() dbus.glib.threads_init() +Gst.init(sys.argv) + def cleanup_logs(logs_dir): """Clean up the log directory, moving old logs into a numbered backup directory. We only keep `_MAX_BACKUP_DIRS` of these backup directories |