From 9006a7f45bff4b62c19a490f0ba7106f32238075 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Tue, 27 Jul 2010 18:24:07 +0200 Subject: [PATCH] remove another dupe method from TourneyFilters --- pyfpdb/Filters.py | 1 + pyfpdb/TourneyFilters.py | 25 ------------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/pyfpdb/Filters.py b/pyfpdb/Filters.py index d6a78949..fa0a504b 100644 --- a/pyfpdb/Filters.py +++ b/pyfpdb/Filters.py @@ -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) diff --git a/pyfpdb/TourneyFilters.py b/pyfpdb/TourneyFilters.py index 4ff57897..6c103dc8 100644 --- a/pyfpdb/TourneyFilters.py +++ b/pyfpdb/TourneyFilters.py @@ -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)