[pitivi] Minor nitpick fixes



commit bdf6659ab4fb05f28917a9a2301f3da884b34699
Author: Thibault Saunier <thibault saunier collabora com>
Date:   Fri Dec 28 11:36:24 2012 -0300

    Minor nitpick fixes

 pitivi/dialogs/clipmediaprops.py |    2 +-
 pitivi/mainwindow.py             |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/dialogs/clipmediaprops.py b/pitivi/dialogs/clipmediaprops.py
index 86253bb..6f0b10e 100644
--- a/pitivi/dialogs/clipmediaprops.py
+++ b/pitivi/dialogs/clipmediaprops.py
@@ -109,7 +109,7 @@ class clipmediapropsDialog():
         self.checkbutton6 = builder.get_object("checkbutton6")
 
     def _applyButtonCb(self, unused_button):
-        project = self.projet
+        project = self.project
         if self.has_video:
             # This also handles the case where the video is a still image
             video = self.video_streams[0]
diff --git a/pitivi/mainwindow.py b/pitivi/mainwindow.py
index c449083..82623d6 100644
--- a/pitivi/mainwindow.py
+++ b/pitivi/mainwindow.py
@@ -775,7 +775,7 @@ class PitiviMainWindow(Gtk.Window, Loggable):
         Once a new project has been loaded, wait for media library's
         "ready" signal to populate the timeline.
         """
-        self.log("A new project is loaded, wait for clips")
+        self.log("A new project is loaded")
         self._connectToProject(self.app.current)
         self.app.current.timeline.connect("notify::duration",
                 self._timelineDurationChangedCb)
@@ -982,7 +982,6 @@ class PitiviMainWindow(Gtk.Window, Loggable):
         # FIXME GES port, help user identify files with more information
         # need work to be done in GES directly
         # TODO: display the filesize to help the user identify the file
-        print "DURATION ", asset.get_duration()
         if asset.get_duration() == Gst.CLOCK_TIME_NONE:
             ## The file is probably an image, not video or audio.
             text = _('The following file has moved: "<b>%s</b>"'



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