[pitivi: 19/36] Ellipsize the tags label to prevent unwanted resizing



commit 8d497208948283041cc3df32aeda7bb6b4fb1f45
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date:   Thu May 19 12:10:57 2011 -0400

    Ellipsize the tags label to prevent unwanted resizing

 pitivi/ui/filechooserpreview.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pitivi/ui/filechooserpreview.py b/pitivi/ui/filechooserpreview.py
index 39d70a5..09319dd 100644
--- a/pitivi/ui/filechooserpreview.py
+++ b/pitivi/ui/filechooserpreview.py
@@ -145,6 +145,7 @@ class PreviewWidget(gtk.VBox, Loggable):
         #another label for tag
         self.l_tags = gtk.Label('')
         self.l_tags.set_justify(gtk.JUSTIFY_LEFT)
+        self.l_tags.set_ellipsize(pango.ELLIPSIZE_END)
         self.l_tags.show()
         self.pack_start(self.l_tags, expand=False)
         



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