debug-viewer: window: add helper to get visible range
authorStefan Sauer <ensonic@users.sf.net>
Mon, 10 Oct 2016 13:59:49 +0000 (15:59 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Mon, 10 Oct 2016 13:59:49 +0000 (15:59 +0200)
commit3b1e2833a32b32c1ccc0323c0f91609a043ea007
treef0e9335bc94408570f75719fd8427b2739dae43a
parent561c6124729dbcdb5a9cba49057ec40c05b04b50
debug-viewer: window: add helper to get visible range

Move this code to the window class, as multiple plugins are going to need it.
debug-viewer/GstDebugViewer/GUI/window.py
debug-viewer/GstDebugViewer/Plugins/Timeline.py