Working PNG
This commit is contained in:
1 parent
ea9e9a8c90
commit
20032b3a31
2 files changed
+3
-3
No files matched your search
+3
-3
@@ -32,7 +32,7 @@ class TaskBarIcon(wx.TaskBarIcon):
|
|||||||
wx.TaskBarIcon.__init__(self)
|
wx.TaskBarIcon.__init__(self)
|
||||||
self.frame = frame
|
self.frame = frame
|
||||||
|
|
||||||
icon = wx.Icon('icon.ico', wx.BITMAP_TYPE_ANY)
|
icon = wx.Icon('icon.png', wx.BITMAP_TYPE_PNG)
|
||||||
self.SetIcon(icon)
|
self.SetIcon(icon)
|
||||||
|
|
||||||
self.Bind(wx.EVT_TASKBAR_LEFT_DCLICK, self.onTaskBarActivate)
|
self.Bind(wx.EVT_TASKBAR_LEFT_DCLICK, self.onTaskBarActivate)
|
||||||
@@ -141,8 +141,8 @@ class CouchPotatoApp(wx.App, SoftwareUpdate):
|
|||||||
def OnInit(self):
|
def OnInit(self):
|
||||||
|
|
||||||
# Updater
|
# Updater
|
||||||
base_url = 'http://localhost/updates/'
|
base_url = 'http://couchpota.to/updates/'
|
||||||
self.InitUpdates(base_url, base_url + 'changelog.txt',
|
self.InitUpdates(base_url, base_url + 'changelog.html',
|
||||||
icon = wx.Icon('icon.ico'))
|
icon = wx.Icon('icon.ico'))
|
||||||
|
|
||||||
self.frame = MainFrame(self)
|
self.frame = MainFrame(self)
|
||||||
|
|||||||
Reference in new issue
Block a user