[pitivi: 1/8] Properly show property descriptions (blurbs) for codecs



commit f6a88be57998b1daf5dfe5fd162b8ba4314e7f6c
Author: Jean-FranÃois Fortin Tam <nekohayo gmail com>
Date:   Sun Sep 11 14:34:59 2011 -0400

    Properly show property descriptions (blurbs) for codecs

 pitivi/ui/gstwidget.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/ui/gstwidget.py b/pitivi/ui/gstwidget.py
index e406e4e..f4bc2d1 100644
--- a/pitivi/ui/gstwidget.py
+++ b/pitivi/ui/gstwidget.py
@@ -134,8 +134,8 @@ class GstElementSettingsWidget(gtk.VBox, Loggable):
                 table.attach(label, 0, 1, y, y + 1, xoptions=gtk.FILL, yoptions=gtk.FILL)
                 table.attach(widget, 1, 2, y, y + 1, yoptions=gtk.FILL)
 
-            if hasattr(prop, 'description'):   # TODO: check that
-                widget.set_tooltip_text(prop.description)
+            if hasattr(prop, 'blurb'):
+                widget.set_tooltip_text(prop.blurb)
 
             self.properties[prop] = widget
             if default_btn:



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