[pitivi] timeline: Rename Timeline to TimelineContainer



commit f796b272551097ac670d4c29ee01841d751b566d
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sat Jan 11 22:05:49 2014 +0100

    timeline: Rename Timeline to TimelineContainer

 pitivi/mainwindow.py        |    4 ++--
 pitivi/timeline/timeline.py |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index faebf0f..97be182 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -46,7 +46,7 @@ from pitivi.mediafilespreviewer import PreviewWidget
 from pitivi.medialibrary import MediaLibraryWidget
 from pitivi.settings import GlobalSettings
 from pitivi.tabsmanager import BaseTabs
-from pitivi.timeline.timeline import Timeline
+from pitivi.timeline.timeline import TimelineContainer
 from pitivi.titleeditor import TitleEditor
 from pitivi.transitions import TransitionsListWidget
 from pitivi.utils.loggable import Loggable
@@ -427,7 +427,7 @@ class PitiviMainWindow(Gtk.Window, Loggable):
 
         # Now, the lower part: the timeline
         timeline_area = Gtk.HBox()
-        self.timeline_ui = Timeline(self, instance, self.uimanager)
+        self.timeline_ui = TimelineContainer(self, instance, self.uimanager)
         self.timeline_ui.setProjectManager(self.app.projectManager)
         self.timeline_ui.controls.connect("selection-changed", self._selectedLayerChangedCb)
         ttb = self.uimanager.get_widget("/TimelineToolBar")
diff --git a/pitivi/timeline/timeline.py b/pitivi/timeline/timeline.py
index 3909764..77fb3fb 100644
--- a/pitivi/timeline/timeline.py
+++ b/pitivi/timeline/timeline.py
@@ -692,7 +692,7 @@ def quit2_(*args, **kwargs):
     Gtk.main_quit()
 
 
-class Timeline(Gtk.Grid, Zoomable, Loggable):
+class TimelineContainer(Gtk.Grid, Zoomable, Loggable):
     """
     Container for zoom box, ruler, the actual timeline layers and scrollbars.
     """
@@ -1668,7 +1668,7 @@ def main():
     print "ipython ; %gui gtk3 ; %run timeline.py ; help yourself"
 
     window = Gtk.Window()
-    widget = Timeline(None, None, None)
+    widget = TimelineContainer(None, None, None)
     window.add(widget)
     window.maximize()
     window.show_all()


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]