Edit file File name : IconTheme.cpython-36.pyc Content :3 ѢUPC= � @ s d Z ddlZddlZddlZddlmZmZ ddlmZ ddl m Z mZ ddlZ G dd� de�ZG dd � d e�Zg Zx4eD ],Zejejjed �� ejejjed�� qzW ejejjd�� g ai Zi Zi Zddd ddgfdd�Zdd� Zdd� Zdd� Zdd� Zdd� ZdS )zl Complete implementation of the XDG Icon Spec Version 0.8 http://standards.freedesktop.org/icon-theme-spec/ � N)�IniFile�is_ascii)� xdg_data_dirs)�NoThemeError�debugc @ s� e Zd ZdZdd� Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(S ))� IconThemez&Class to parse and validate IconThemesc C s t j| � d S )N)r �__init__)�self� r �/usr/lib/python3.6/IconTheme.pyr s zIconTheme.__init__c C s | j S )N)�name)r r r r �__repr__ s zIconTheme.__repr__c C s8 t j| |ddg� tjj|�| _tjj| j�\}| _d S )Nz Icon ThemezKDE Icon Theme)r �parse�os�path�dirname�dir�splitr )r �fileZnilr r r r s zIconTheme.parsec C s | j S )N)r )r r r r �getDir s zIconTheme.getDirc C s | j ddd�S )N�NameT)�locale)�get)r r r r �getName s zIconTheme.getNamec C s | j ddd�S )N�CommentT)r )r )r r r r � getComment"