Skip to content

Commit

Permalink
Allow 'ScaledDirectories' key in icon theme file
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Feb 2, 2018
1 parent 056dbc1 commit 6970744
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xdg/IconTheme.py
Expand Up @@ -37,6 +37,8 @@ def getInherits(self):
return self.get('Inherits', list=True)
def getDirectories(self):
return self.get('Directories', list=True)
def getScaledDirectories(self):
return self.get('ScaledDirectories', list=True)
def getHidden(self):
return self.get('Hidden', type="boolean")
def getExample(self):
Expand Down Expand Up @@ -143,6 +145,8 @@ def checkKey(self, key, value, group):
self.checkValue(key, value, list=True)
elif key == "Directories":
self.checkValue(key, value, list=True)
elif key == "ScaledDirectories":
self.checkValue(key, value, list=True)
elif key == "Hidden":
self.checkValue(key, value, type="boolean")
elif key == "Example":
Expand Down

0 comments on commit 6970744

Please sign in to comment.