Update desktop file so that it runs correctly and fix date display bug
authorJon <jmstaley@gmail.com>
Mon, 17 May 2010 23:04:56 +0000 (00:04 +0100)
committerJon <jmstaley@gmail.com>
Mon, 17 May 2010 23:04:56 +0000 (00:04 +0100)
build/build_gigfinder.py
src/opt/gigfinder/gigfinder.py
src/usr/share/applications/hildon/gigfinder.desktop

index 4b8da10..37c2f57 100644 (file)
@@ -38,9 +38,9 @@ if __name__ == "__main__":
     #  p.preremove="""#!/bin/sh
     #  chmod +x /usr/bin/mclock.py""" #Set here your pre remove script
     version = "0.0.1"           #Version of your software, e.g. "1.2.0" or "0.8.2"
-    build = "3"                 #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.
+    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.
                                 #Text with changelog information to be displayed in the package "Details" tab of the Maemo Application Manager
-    changeloginformation = "Fix UI problems when less than 10 events displayed" 
+    changeloginformation = "Fix bug in desktop file, pointing to the wrong location" 
     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
     #Thanks to DareTheHair from talk.maemo.org for this snippet that recursively builds the file list 
     for root, dirs, files in os.walk(dir_name):
index 7e159ef..d5fe2bd 100755 (executable)
@@ -159,7 +159,7 @@ class GigFinder:
         buffer.insert(end, 'Artists: %s\n' % data['artists'])
         buffer.insert(end, 'Venue: %s\n' % data['venue'])
         buffer.insert(end, '%s\n' % data['address'])
-        buffer.insert(end, 'When: %s\n' % data['date'].strftime('%H:%M %d/%M/%Y'))
+        buffer.insert(end, 'When: %s\n' % data['date'].strftime('%H:%M %d/%m/%Y'))
         buffer.insert(end, '\n')
         scroll.add_with_viewport(view)
 
index 7d1d679..3fd494d 100644 (file)
@@ -3,7 +3,7 @@ Version=1.0.0
 Encoding=UTF-8
 Name=Gig Finder
 Comment=Gig finder
-Exec=/home/jon/applications/gigfinder/gigfinder.py
+Exec=/opt/gigfinder/gigfinder.py
 Icon=gigfinder
 X-Icon-path=/usr/share/icons
 X-Window-Icon=gigfinder