gtk.main_quit()
def on_refreshButton_clicked(self, widget):
- gare_source = LongNameGare(self.combo_source.get_current_text()).get_gare(ConfFile('example.cfg'))
- gare_dest = LongNameGare(self.combo_dest.get_current_text()).get_gare(ConfFile('example.cfg'))
+ conf = ConfFile('/opt/masstransit/example.cfg')
+ gare_source = LongNameGare(self.combo_source.get_current_text()).get_gare(conf)
+ gare_dest = LongNameGare(self.combo_dest.get_current_text()).get_gare(conf)
trajet = Trajet(gare_source , gare_dest)
print trajet
print self.treestore