TourneyFilters: Add into ScrollWondow.

This commit is contained in:
Worros 2011-02-18 13:23:03 +08:00
parent 99b9cb1574
commit a5bcc977f3

View File

@ -56,8 +56,15 @@ class TourneyFilters(Filters.Filters):
if 'day_start' in gen:
self.day_start = float(gen['day_start'])
self.sw = gtk.ScrolledWindow()
self.sw.set_border_width(0)
self.sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
self.sw.set_size_request(370, 300)
# Outer Packing box
self.mainVBox = gtk.VBox(False, 0)
self.sw.add_with_viewport(self.mainVBox)
self.sw.show()
self.label = {}
self.callback = {}