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.
Previously, lookup from a few prefixes was attempted, but the leading slash in "/share/gnome-gmail/..." made it not to work:
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.