comparison frontends/src/wix/main_window.py @ 628:42ee0b0b0a15

wix: fixed application quitting (fix bug 25)
author Goffi <goffi@goffi.org>
date Sun, 23 Jun 2013 01:42:12 +0200
parents 84a6e83157c2
children ca2cae6b2c6d
comparison
equal deleted inserted replaced
627:d207c2186519 628:42ee0b0b0a15
475 def onClose(self, e): 475 def onClose(self, e):
476 QuickApp.onExit(self) 476 QuickApp.onExit(self)
477 info(_("Exiting...")) 477 info(_("Exiting..."))
478 for win in self.chat_wins: 478 for win in self.chat_wins:
479 self.chat_wins[win].Destroy() 479 self.chat_wins[win].Destroy()
480 self.tray_icon.Destroy()
480 e.Skip() 481 e.Skip()
481 482
482 def onTrayClick(self, e): 483 def onTrayClick(self, e):
483 debug(_("Tray Click")) 484 debug(_("Tray Click"))
484 if self.IsShown(): 485 if self.IsShown():