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