for fear of repeating myself, removed another dupe from TourneyFilters
This commit is contained in:
parent
31aa76abc9
commit
3f4c5d45e8
|
@ -381,6 +381,7 @@ class Filters(threading.Thread):
|
||||||
#print w.get_active()
|
#print w.get_active()
|
||||||
self.sites[site] = w.get_active()
|
self.sites[site] = w.get_active()
|
||||||
log.debug("self.sites[%s] set to %s" %(site, self.sites[site]))
|
log.debug("self.sites[%s] set to %s" %(site, self.sites[site]))
|
||||||
|
#end def __set_site_select
|
||||||
|
|
||||||
def __set_game_select(self, w, game):
|
def __set_game_select(self, w, game):
|
||||||
#print w.get_active()
|
#print w.get_active()
|
||||||
|
|
|
@ -77,13 +77,7 @@ class TourneyFilters(Filters.Filters):
|
||||||
print "setting numTourneys:", self.numTourneys
|
print "setting numTourneys:", self.numTourneys
|
||||||
#end def __set_num_tourneys
|
#end def __set_num_tourneys
|
||||||
|
|
||||||
def __set_site_select(self, w, site):
|
def __toggle_box(self, widget, entry): #identical with Filters
|
||||||
#print w.get_active()
|
|
||||||
self.sites[site] = w.get_active()
|
|
||||||
log.debug("self.sites[%s] set to %s" %(site, self.sites[site]))
|
|
||||||
#end def __set_site_select
|
|
||||||
|
|
||||||
def __toggle_box(self, widget, entry):
|
|
||||||
if self.boxes[entry].props.visible:
|
if self.boxes[entry].props.visible:
|
||||||
self.boxes[entry].hide()
|
self.boxes[entry].hide()
|
||||||
widget.set_label("show")
|
widget.set_label("show")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user