From 2932f7ebbebf09afd0ae426b3de7e4d35c1563f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Stadler?= Date: Tue, 20 Nov 2007 13:31:58 +0200 Subject: [PATCH] Remove commented code, resolve FIXME --- debug-viewer/GstDebugViewer/Plugins/Timeline.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/debug-viewer/GstDebugViewer/Plugins/Timeline.py b/debug-viewer/GstDebugViewer/Plugins/Timeline.py index 180efea621..36b5e79887 100644 --- a/debug-viewer/GstDebugViewer/Plugins/Timeline.py +++ b/debug-viewer/GstDebugViewer/Plugins/Timeline.py @@ -71,18 +71,6 @@ class LineFrequencySentinel (object): old_found = found first_index = found target_ts += step - - ## count = 0 - ## limit = step - ## for row in self.model: - ## ts = row[model.COL_TIME] - ## if ts is None: - ## continue - ## if ts > limit: - ## limit += step - ## result.append (count) - ## count = 0 - ## count += 1 self.step = step self.data = result @@ -284,7 +272,6 @@ class TimelineWidget (gtk.DrawingArea): ctx.move_to (0, h) for i in range (len (heights)): ctx.line_to (i - .5, h - heights[i] + .5) - #ctx.rectangle (i - .5, h - heights[i] + .5, i + 1, h) ctx.line_to (i, h) ctx.close_path () @@ -375,7 +362,7 @@ class TimelineFeature (FeatureBase): window.ui_manager.remove_ui (self.merge_id) self.merge_id = None - # FIXME: Remove action group from ui manager! + window.ui_manager.remove_action_group (self.action_group) self.timeline.destroy () self.timeline = None