aboutsummaryrefslogtreecommitdiff
path: root/voctogui
diff options
context:
space:
mode:
authorMaZderMind <git@mazdermind.de>2015-07-01 22:12:14 +0200
committerMaZderMind <git@mazdermind.de>2015-07-01 22:12:14 +0200
commita0f71b884e86d4f07da57263ece50dd711fea641 (patch)
tree01314f7219afea396d90b3b66797deaed4481095 /voctogui
parent7aae42d2848f4f049d32ea38ddd769307470d069 (diff)
Fix composition toggled logging
Diffstat (limited to 'voctogui')
-rw-r--r--voctogui/lib/ui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/voctogui/lib/ui.py b/voctogui/lib/ui.py
index 2f81246..3d7cda7 100644
--- a/voctogui/lib/ui.py
+++ b/voctogui/lib/ui.py
@@ -48,13 +48,13 @@ class Ui(UiBuilder):
# Thanks to http://stackoverflow.com/a/19739855/1659732
btn.get_child().add_accelerator('clicked', accelerators, key, mod, Gtk.AccelFlags.VISIBLE)
- btn.connect('toggled', self.toolbar_btn_toggled)
+ btn.connect('toggled', self.composite_btn_toggled)
- def toolbar_btn_toggled(self, btn):
+ def composite_btn_toggled(self, btn):
if not btn.get_active():
return
- print("btn toggled", btn.get_name())
+ self.log.info("composite_btn_toggled: %s", btn.get_name())
def configure_video_main(self):
self.log.info('Initializing Main Video and Main Audio-Level View')