File: test-icon.py

package info (click to toggle)
pyxdg 0.8-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 172 kB
  • ctags: 266
  • sloc: python: 1,754; makefile: 2
file content (8 lines) | stat: -rwxr-xr-x 179 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/usr/bin/env python2
from xdg.IconTheme import *

print getIconPath("opera")

theme = IconTheme()
theme.parse("/usr/kde/3.1/share/icons/hicolor/index.desktop")
theme.validate()