From a3c7f1f988f731b54829f52b301556996c4cde03 Mon Sep 17 00:00:00 2001 From: Juke Date: Wed, 10 Feb 2010 02:21:14 +0100 Subject: [PATCH] DONE 0.7.1 : correction d'un bug de chemin + changement numerotation --- TODO | 2 ++ build_myapp.py | 4 ++-- src/opt/masstransit/masstransit.py | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index 65c8b71..773652c 100644 --- a/TODO +++ b/TODO @@ -39,3 +39,5 @@ DONE 0.1.4 : Faire un .deb DONE 0.1.5 : transformer example.cfg en masstransit.cfg DONE 0.1.6 : mettre les chemin par rapport à /opt/masstransit/ + DONE 0.7.1 : correction d'un bug de chemin + changement numerotation + diff --git a/build_myapp.py b/build_myapp.py index 984c058..ec5f827 100644 --- a/build_myapp.py +++ b/build_myapp.py @@ -37,8 +37,8 @@ if __name__ == "__main__": # chmod +x /usr/bin/mclock.py""" #Set here your pre install script # p.preremove="""#!/bin/sh # chmod +x /usr/bin/mclock.py""" #Set here your pre remove script - version = "0.1.3" #Version of your software, e.g. "1.2.0" or "0.8.2" - build = "4" #Build number, e.g. "1" for the first build of this version of your software. Increment for later re-builds of the same version of your software. + version = "0.7.1" #Version of your software, e.g. "1.2.0" or "0.8.2" + build = "1" #Build number, e.g. "1" for the first build of this version of your software. Increment for later re-builds of the same version of your software. #Text with changelog information to be displayed in the package "Details" tab of the Maemo Application Manager changeloginformation = "Fixed (large) icon." dir_name = "src" #Name of the subfolder containing your package source files (e.g. usr\share\icons\hicolor\scalable\myappicon.svg, usr\lib\myapp\somelib.py). We suggest to leave it named src in all projects and will refer to that in the wiki article on maemo.org diff --git a/src/opt/masstransit/masstransit.py b/src/opt/masstransit/masstransit.py index 9a53b26..e516fe6 100755 --- a/src/opt/masstransit/masstransit.py +++ b/src/opt/masstransit/masstransit.py @@ -152,7 +152,7 @@ class TransilienUI: self.combo_source = hildon.TouchSelectorEntry(text=True) self.combo_dest = hildon.TouchSelectorEntry(text=True) - for i in ConfFile('example.cfg').get_liste_des_gares(): + for i in ConfFile('/opt/masstransit/masstransit.cfg').get_liste_des_gares(): self.combo_source.append_text(i[0]) self.combo_dest.append_text(i[0]) picker_button_source.set_selector(self.combo_source) @@ -178,7 +178,7 @@ class TransilienUI: gtk.main_quit() def on_refreshButton_clicked(self, widget): - conf = ConfFile('/opt/masstransit/example.cfg') + conf = ConfFile('/opt/masstransit/masstransit.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) -- 1.7.9.5