mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-02-22 00:23:09 -06:00
Now, TWBlue does not block the system when any session is closed or turned off
This commit is contained in:
parent
403784b77a
commit
a7ef572d05
@ -219,8 +219,8 @@ class mainFrame(wx.Frame):
|
|||||||
log.debug("Getting Twitter's Rest API...")
|
log.debug("Getting Twitter's Rest API...")
|
||||||
self.twitter = twitter.twitter.twitter()
|
self.twitter = twitter.twitter.twitter()
|
||||||
super(mainFrame, self).__init__(None, -1, "TW Blue", size=(1600, 1600))
|
super(mainFrame, self).__init__(None, -1, "TW Blue", size=(1600, 1600))
|
||||||
self.Bind(wx.EVT_QUERY_END_SESSION, self.exit)
|
wx.GetApp().Bind(wx.EVT_QUERY_END_SESSION, self.exit)
|
||||||
self.Bind(wx.EVT_END_SESSION, self.exit)
|
wx.GetApp().Bind(wx.EVT_END_SESSION, self.exit)
|
||||||
log.debug(u"Creating the system tray icon... ")
|
log.debug(u"Creating the system tray icon... ")
|
||||||
self.sysTray=sysTrayIcon.SysTrayIcon(self)
|
self.sysTray=sysTrayIcon.SysTrayIcon(self)
|
||||||
panel = wx.Panel(self)
|
panel = wx.Panel(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user