[pitivi] Try to make it usable on small screens



commit 832aa6187ba92bafcffa7f5e8a2503f02af4770d
Author: Thibault Saunier <tsaunier gnome org>
Date:   Sun Jul 4 19:12:19 2010 -0400

    Try to make it usable on small screens

 pitivi/ui/clipproperties.py |    2 +-
 pitivi/ui/sourcelist.py     |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/ui/clipproperties.py b/pitivi/ui/clipproperties.py
index 9ccd3b5..94b250f 100644
--- a/pitivi/ui/clipproperties.py
+++ b/pitivi/ui/clipproperties.py
@@ -162,7 +162,7 @@ class EffectProperties(gtk.Expander):
         self.explain_label.set_line_wrap_mode(pango.WRAP_WORD)
         self.explain_label.set_justify(gtk.JUSTIFY_CENTER)
         self.explain_label.set_markup(
-            _("<span size='x-large'>You must select a clip on the timeline "
+            _("<span size='large'>You must select a clip on the timeline "
               "to configure its associated effects</span>"))
         self.explain_box.add(self.explain_label)
 
diff --git a/pitivi/ui/sourcelist.py b/pitivi/ui/sourcelist.py
index 24b3552..700f933 100644
--- a/pitivi/ui/sourcelist.py
+++ b/pitivi/ui/sourcelist.py
@@ -40,7 +40,7 @@ from pitivi.stream import VideoStream, AudioStream, TextStream, \
 from pitivi.settings import GlobalSettings
 from pitivi.utils import beautify_length
 from pitivi.ui.common import beautify_factory, factory_name, \
-    beautify_stream
+    beautify_stream, PADDING
 from pitivi.log.loggable import Loggable
 from pitivi.sourcelist import SourceListError
 
@@ -177,7 +177,7 @@ class SourceList(gtk.VBox, Loggable):
         namecol.set_expand(True)
         namecol.set_spacing(5)
         namecol.set_sizing(gtk.TREE_VIEW_COLUMN_GROW_ONLY)
-        namecol.set_min_width(150)
+        namecol.set_min_width(120)
         txtcell = gtk.CellRendererText()
         txtcell.set_property("ellipsize", pango.ELLIPSIZE_END)
         namecol.pack_start(txtcell)
@@ -206,7 +206,7 @@ class SourceList(gtk.VBox, Loggable):
         infobar = gtk.InfoBar()
 
         txtlabel = gtk.Label()
-        txtlabel.set_padding(10, 10)
+        txtlabel.set_padding(PADDING, PADDING)
         txtlabel.set_line_wrap(True)
         txtlabel.set_line_wrap_mode(pango.WRAP_WORD)
         txtlabel.set_justify(gtk.JUSTIFY_CENTER)



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