Exemple #1
0
def imagepath(path):
    """
	Translates a path relative to the image directory into an absolute
	path.
	
	@param path: Relative path to file.
	@type path: str
	@return: Absolute path to file.
	@rtype: str
	"""
    from pathconfig import path_cfg
    return path_cfg.get_path('pixmaps', path)
def imagepath(path):
	"""
	Translates a path relative to the image directory into an absolute
	path.
	
	@param path: Relative path to file.
	@type path: str
	@return: Absolute path to file.
	@rtype: str
	"""
	from pathconfig import path_cfg
	return path_cfg.get_path('pixmaps', path)
Exemple #3
0
def localepath():
    """
    Returns the path to the locale directory.
    """
    from pathconfig import path_cfg
    return path_cfg.get_path('locale')
def localepath():
    """
    Returns the path to the locale directory.
    """
    from pathconfig import path_cfg
    return path_cfg.get_path('locale')