Commits

Rodrigo Bistolfi committed 2aadf25

Use absolute path for icon

  • Participants
  • Parent commits 54cb6b7

Comments (0)

Files changed (2)

       url='https://bitbucket.org/VLCore/vinstall/',
       packages=['vinstall', 'vinstall.core', 'vinstall.ui', 'vinstall.backend',
           'vinstall.controller'],
+      data_files=[("/usr/share/pixmaps", "resources/logo.png")],
       entry_points={
           'console_scripts': [
               'vinstall = vinstall.installer:main',]}

vinstall/ui/gtk.py

         """
         icon = gtk.Image()
         #icon.set_from_icon_name("system-software-update", gtk.ICON_SIZE_DIALOG)
-        icon.set_from_file("../resources/logo.png")
+        icon.set_from_file("/usr/share/pixmaps/logo.png")
         s = ('<span foreground="black" size="25000"><b>VectorLinux</b></span>\n'
                 '<span foreground="black" size="large">When choice matters</span>')
         title = gtk.Label(s)