[pitivi] Make the infoBar text really center



commit 1e505bf3daaaaa3eb281db326482cf43d6290d87
Author: Thibault Saunier <tsaunier gnome org>
Date:   Sat Aug 14 14:40:06 2010 -0400

    Make the infoBar text really center

 pitivi/ui/clipproperties.py |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/ui/clipproperties.py b/pitivi/ui/clipproperties.py
index 63f0acc..93cd2e9 100644
--- a/pitivi/ui/clipproperties.py
+++ b/pitivi/ui/clipproperties.py
@@ -84,9 +84,9 @@ class ClipProperties(gtk.VBox, Loggable):
         label.set_markup(text)
 
         info_bar.add(label)
+        label.show()
         self.pack_start(info_bar, expand=False, fill=False)
 
-        info_bar.show_all()
         return info_bar
 
     def hideInfoBar(self, text):
@@ -325,8 +325,11 @@ class EffectProperties(gtk.Expander):
             self._info_bar = self.clip_properties.addInfoBar(
                                 _("<span>You must select a clip on the timeline "
                                   "to configure its associated effects</span>"))
-        else:
-            self._info_bar.show_all()
+        self._info_bar.show()
+        children = self._info_bar.get_children()
+        #FIXME: Why does the no-show-all not work?
+        children[0].hide()
+        children[1].hide()
 
         self.treeview.set_sensitive(False)
         self.table.show_all()



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