DONE 0.7.1 : correction d'un bug de chemin + changement numerotation
authorJuke <juke@free.fr>
Wed, 10 Feb 2010 01:21:14 +0000 (02:21 +0100)
committerJuke <juke@free.fr>
Wed, 10 Feb 2010 01:21:14 +0000 (02:21 +0100)
TODO
build_myapp.py
src/opt/masstransit/masstransit.py

diff --git a/TODO b/TODO
index 65c8b71..773652c 100644 (file)
--- 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
+    
index 984c058..ec5f827 100644 (file)
@@ -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
index 9a53b26..e516fe6 100755 (executable)
@@ -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)