summaryrefslogtreecommitdiff
path: root/voctogui
diff options
context:
space:
mode:
authorMaZderMind <github@mazdermind.de>2015-06-17 18:04:13 +0200
committerMaZderMind <github@mazdermind.de>2015-06-17 18:04:13 +0200
commitaa82ba8cc7f8dadb5e2e3610dc33316a9d084068 (patch)
tree9be95629b74cc2cb134b756e12b3ab930014eb8d /voctogui
parent0f1a7fa78984c2feaf24c1eb74ecd82ed0438af5 (diff)
use find_widget_recursive where applicable
Diffstat (limited to 'voctogui')
-rw-r--r--voctogui/lib/ui.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/voctogui/lib/ui.py b/voctogui/lib/ui.py
index 5bac103..54a56a1 100644
--- a/voctogui/lib/ui.py
+++ b/voctogui/lib/ui.py
@@ -31,7 +31,7 @@ class Ui(UiBuilder):
def configure_video_previews(self):
sources = ['cam1', 'cam2', 'grabber']
- box = self.get_check_widget('box_left')
+ box = self.find_widget_recursive(self.win, 'box_left')
for idx, source in enumerate(sources):
preview = self.get_check_widget('widget_preview', clone=True)
@@ -47,9 +47,10 @@ class Ui(UiBuilder):
self.previews[source] = preview
def configure_audio_selector(self):
- combo = self.get_check_widget('combo_audio')
+ combo = self.find_widget_recursive(self.win, 'combo_audio')
combo.set_sensitive(True)
+ # FIXME access via combo_audio?
liststore = self.get_check_widget('liststore_audio')
liststore.clear()