=== modified file 'applets/maintained/yama/yama.py' --- applets/maintained/yama/yama.py 2011-04-21 21:20:15 +0000 +++ applets/maintained/yama/yama.py 2011-05-29 11:02:48 +0000 @@ -41,8 +41,11 @@ import glib import gmenu -xdg_data_dirs = [os.path.expanduser("~/.local/share")] + os.environ["XDG_DATA_DIRS"].split(":") - +if "XDG_DATA_DIRS" in os.environ: + xdg_data_dirs = [os.path.expanduser("~/.local/share")] + os.environ["XDG_DATA_DIRS"].split(":") +else: + xdg_data_dirs = [os.path.expanduser("~/.local/share")] + applet_name = _("YAMA") applet_description = _("Main menu with places and recent documents")