예제 #1
0
 def previous_games_file_chooser_handler(self):
     selected_file = self.previous_games_chooser.get_filename()
     if not (selected_file == None):
         print 'Seleccionado ' + selected_file
         guada_board.run_from_file(selected_file)
         return True
     else:
         self.games_chooser_warning.show()
         return False
예제 #2
0
    def previous_games_file_chooser_handler(self):
        
        

        selected_file = self.previous_games_chooser.get_filename()
        if not (selected_file == None):
            
            controlPartida.restaurarCampeonato()
            guada_board.run_from_file(selected_file)
            return True
        else:
            self.games_chooser_warning.show()
            return False