[pitivi: 3/5] mainwindow: don't show gstreamer errors in the timeline infostub.



commit 29a12b8189ef906df6205e6c2669d5d997a56a11
Author: Alessandro Decina <alessandro d gmail com>
Date:   Wed Sep 8 17:22:10 2010 +0200

    mainwindow: don't show gstreamer errors in the timeline infostub.
    
    We hit quite a few non critical errors at the moment and so the infobar quickly
    becomes too annoying.

 pitivi/ui/mainwindow.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index 71f944f..a39240b 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -987,10 +987,7 @@ class PitiviMainWindow(gtk.Window, Loggable):
 
     @handler(project_pipeline, "error")
     def _pipelineErrorCb(self, unused_pipeline, error, detail):
-        if detail:
-            self.timeline.infostub.addErrors(error, detail)
-        else:
-            self.timeline.infostub.addErrors(error)
+        pass
 
     @handler(project_pipeline, "position")
     def _timelinePipelinePositionChangedCb(self, pipeline, position):



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