summaryrefslogtreecommitdiff
path: root/voctogui
diff options
context:
space:
mode:
Diffstat (limited to 'voctogui')
-rw-r--r--voctogui/lib/audioselector.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/voctogui/lib/audioselector.py b/voctogui/lib/audioselector.py
index 8ad84e3..141ecc4 100644
--- a/voctogui/lib/audioselector.py
+++ b/voctogui/lib/audioselector.py
@@ -1,6 +1,8 @@
import logging
from gi.repository import Gst, Gdk, GLib
+from lib.config import Config
+
class AudioSelectorController(object):
""" Displays a Level-Meter of another VideoDisplay into a GtkWidget """
@@ -21,10 +23,10 @@ class AudioSelectorController(object):
self.eventbox = eventbox
combo.remove_all()
- combo.append('moobar', 'Moo Bar')
- combo.append('moofar', 'Moo Far')
+ for name in Config.getlist('mix', 'sources'):
+ combo.append(name, name)
- combo.set_active_id('moobar')
+ #combo.set_active_id(name)
self.timer_iteration = 0