From 04d90a4e38692a59a4da0ef0d437fd434bccb602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Thu, 24 Jan 2008 11:49:41 +0200 Subject: [PATCH] Sync show-timeline action state before connecting signal handler --- debug-viewer/GstDebugViewer/Plugins/Timeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug-viewer/GstDebugViewer/Plugins/Timeline.py b/debug-viewer/GstDebugViewer/Plugins/Timeline.py index f0d4b8c3af..25df69b751 100644 --- a/debug-viewer/GstDebugViewer/Plugins/Timeline.py +++ b/debug-viewer/GstDebugViewer/Plugins/Timeline.py @@ -869,8 +869,8 @@ class TimelineFeature (FeatureBase): handler = self.handle_show_action_toggled action = self.action_group.get_action ("show-timeline") - action.connect ("toggled", handler) action.props.active = self.state.shown + action.connect ("toggled", handler) def handle_show_action_toggled (self, action):