remove another dupe method from TourneyFilters

This commit is contained in:
steffen123 2010-07-27 18:24:07 +02:00
parent 84df9ad567
commit 9006a7f45b
2 changed files with 1 additions and 25 deletions

View File

@ -587,6 +587,7 @@ class Filters(threading.Thread):
# self.siteid[site] = result[0][0]
#else:
# print "Either 0 or more than one site matched - EEK"
#end def fillSitesFrame
def fillGamesFrame(self, vbox):
top_hbox = gtk.HBox(False, 0)

View File

@ -188,31 +188,6 @@ class TourneyFilters(Filters.Filters):
top_hbox.pack_start(showb, expand=False, padding=1)
#end def fillPlayerFrame
def fillSitesFrame(self, vbox):
top_hbox = gtk.HBox(False, 0)
top_hbox.show()
vbox.pack_start(top_hbox, False, False, 0)
lbl_title = gtk.Label(self.filterText['sitestitle'])
lbl_title.set_alignment(xalign=0.0, yalign=0.5)
top_hbox.pack_start(lbl_title, expand=True, padding=3)
showb = gtk.Button(label="hide", stock=None, use_underline=True)
showb.set_alignment(xalign=1.0, yalign=0.5)
showb.connect('clicked', self.__toggle_box, 'sites')
showb.show()
top_hbox.pack_start(showb, expand=False, padding=1)
vbox1 = gtk.VBox(False, 0)
self.boxes['sites'] = vbox1
vbox.pack_start(vbox1, False, False, 0)
for site in self.conf.get_supported_sites():
hbox = gtk.HBox(False, 0)
vbox1.pack_start(hbox, False, True, 0)
self.createSiteLine(hbox, site)
#end def fillSitesFrame
def fillTourneyTypesFrame(self, vbox):
top_hbox = gtk.HBox(False, 0)
vbox.pack_start(top_hbox, False, False, 0)