davesteele / gnome-gmail

Integrate GMail into the Linux Desktop
https://davesteele.github.io/gnome-gmail/
GNU General Public License v2.0
50 stars 13 forks source link

Fix glade file lookup #18

Closed scop closed 8 years ago

scop commented 8 years ago

Previously, lookup from a few prefixes was attempted, but the leading slash in "/share/gnome-gmail/..." made it not to work:

>>> import os
>>> os.path.join("/usr", "/share/gnome-gmail/gnomegmail.glade")
'/share/gnome-gmail/gnomegmail.glade'

The whole prefix lookup seems unnecessary. Simply loading from the same dir as gnomegmail.py fixes the above and additionally makes running in-tree easier.

davesteele commented 8 years ago

Thanks for catching this - I have a broken package on the local repository.