From 2112513a1e7d294f5b7be67c1a33800f12cb10b0 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Tue, 13 Sep 2016 10:27:26 +0200 Subject: Don't try to remove no longer existing 'stream_blank_separator' --- voctogui/lib/toolbar/streamblank.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/voctogui/lib/toolbar/streamblank.py b/voctogui/lib/toolbar/streamblank.py index ab71b17..717fadd 100644 --- a/voctogui/lib/toolbar/streamblank.py +++ b/voctogui/lib/toolbar/streamblank.py @@ -19,11 +19,9 @@ class StreamblankToolbarController(object): if not Config.getboolean('stream-blanker', 'enabled'): self.log.info('disabling stream-blanker features because the server does not support them: %s', Config.getboolean('stream-blanker', 'enabled')) - stream_blank_separator = uibuilder.find_widget_recursive(drawing_area, 'stream_blank_separator') drawing_area.remove(livebtn) drawing_area.remove(blankbtn) - drawing_area.remove(stream_blank_separator) return blank_sources = Config.getlist('stream-blanker', 'sources') -- cgit v1.2.3