actions.py 633 B

1234567891011121314151617181920
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import pisitools
  7. def install():
  8. path = "/usr/share/icons"
  9. klasor = ("Faenza", "Faenza-Ambiance", "Faenza-Dark", "Faenza-Darker", "Faenza-Darkest", "Faenza-Radiance")
  10. boyut = ("16", "22", "24", "32", "48", "64", "96", "128", "256")
  11. for dosya in klasor:
  12. pisitools.insinto("/usr/share/icons", dosya)
  13. for size in boyut:
  14. pisitools.dosym("application-exit.png", "%s/%s/actions/%s/cancel.png"% (path, dosya, size))