os.path.join(os.path.dirname(__file__), "gonvert.glade"),
os.path.join(os.path.dirname(__file__), "../data/gonvert.glade"),
os.path.join(os.path.dirname(__file__), "../lib/gonvert.glade"),
+ '/usr/share/gonvert/gonvert.glade',
'/usr/lib/gonvert/gonvert.glade',
]
for (oldName, newName) in files
)
for relPath, files in unflatten_files(find_files("data", ".")).iteritems():
- fullPath = "/usr/lib/gonvert"
+ fullPath = "/usr/share/gonvert"
if relPath:
fullPath += os.sep+relPath
p[fullPath] = list(
[Desktop Entry]
-Name=Unit Convertor
-Comment=Convert between various units
-Icon=gonvert.png
-Exec=gonvert
-Terminal=false
+Encoding=UTF-8
+Version=1.0
Type=Application
-StartupNotify=true
-Categories=GNOME;Application;Utility;
+Name=Gonvert
+Exec=/usr/bin/run-standalone.sh /usr/bin/gonvert.py
+Icon=gonvert