Commits

thijsdezoete committed 3b60642

blah

Comments (0)

Files changed (1)

 #     import test
 
 
+class Favicon(object):
+    def __init__(self):
+        self.storage_cache = os.path.abspath(os.path.dirname(__file__))
+
+        pass
+
+    def get(self, name):
+        return name
+
+    def put(self, name):
+        pass
+
+
 class SetupTrayWindow(QtGui.QDialog):
     def __init__(self, parent=None):
         super(SetupTrayWindow, self).__init__()
 
     def read_icon_into_qicon(self, icon_file):
         dataBuffer = QtCore.QByteArray(icon_file)
-        new_icon = QtGui.QImage(dataBuffer)
+        #new_icon = QtGui.QImage(dataBuffer)
         pm = QtGui.QPixmap(32, 32)
         pm.loadFromData(dataBuffer)
         self._icon_pixmap = pm