[meld] Fix regression from 2d9c99 (closes bgo#693986)



commit b538a40132f4beca0fad917598cf8b7bfe566470
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Feb 17 08:13:44 2013 +1000

    Fix regression from 2d9c99 (closes bgo#693986)

 meld/ui/statusbar.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meld/ui/statusbar.py b/meld/ui/statusbar.py
index 001c1b1..9e98bca 100644
--- a/meld/ui/statusbar.py
+++ b/meld/ui/statusbar.py
@@ -45,6 +45,7 @@ class MeldStatusBar(gtk.Statusbar):
         if hasattr(self, "get_message_area"):
             # FIXME: added in 2.20, but not in the corresponding pygtk. Use this if available
             hbox = self.get_message_area()
+            label = hbox.get_children()[0]
         else:
             frame = self.get_children()[0]
             self.set_child_packing(frame, False, False, 0, gtk.PACK_START)


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