[pitivi] transitions: Fix infobar padding



commit f6cbb96cd8a2df569b51881844236bca5c42f75d
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Sun Mar 30 21:46:15 2014 +0200

    transitions: Fix infobar padding
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727348

 pitivi/transitions.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/pitivi/transitions.py b/pitivi/transitions.py
index 8c7f9d6..358b6de 100644
--- a/pitivi/transitions.py
+++ b/pitivi/transitions.py
@@ -93,13 +93,12 @@ class TransitionsListWidget(Signallable, Gtk.VBox, Loggable):
 
         self.infobar = Gtk.InfoBar()
         txtlabel = Gtk.Label()
-        txtlabel.set_padding(PADDING, PADDING)
         txtlabel.set_line_wrap(True)
         txtlabel.set_text(
             _("Create a transition by overlapping two adjacent clips on the "
                 "same layer. Click the transition on the timeline to change "
                 "the transition type."))
-        self.infobar.add(txtlabel)
+        self.infobar.get_content_area().add(txtlabel)
 
         self.storemodel = Gtk.ListStore(GES.Asset, str, str, GdkPixbuf.Pixbuf)
 


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