Commits

Ronny Pfannschmidt committed 34851fa

add a paned to the per file fail view

Comments (0)

Files changed (1)

pytest_gui/gtkui/filefails.py

         self.collection = ObjectList([
             Column('nodeid', data_func=lambda x:x.split('::', 1)[-1]),
         ])
+        self.collection.set_headers_visible(False)
         self.collection.show()
-        #XXX: a paned
-        self.widget.add(self.collection)
-        
+
+        self.paned = gtk.VPaned()
+        self.paned.add(self.collection)
+        self.paned.show()
+
+        self.widget.add(self.paned)
+
         self.widget.connect('delete_event', gtk.Widget.hide_on_delete)
 
     def set_entry(self, fileentry):
         if fileentry:
             fileentry.view = self
             self.collection.extend(fileentry.reports)
-