[Projeler-commits] r254 - PyWireless
projeler-uludag at uludag.org.tr
projeler-uludag at uludag.org.tr
25 Kas 2006 Cmt 21:19:20 EET
Author: caglar
Date: Sat Nov 25 21:19:20 2006
New Revision: 254
Modified:
PyWireless/_PyWireless.py
Log:
fw port
Modified: PyWireless/_PyWireless.py
=================================================================
--- PyWireless/_PyWireless.py (original)
+++ PyWireless/_PyWireless.py Sat Nov 25 21:19:20 2006
@@ -61,6 +61,8 @@
self.connect(self.time, SIGNAL('timeout()'), self.timeoutSlot)
self.time.start(3000)
+ self.connect(app, SIGNAL("shutDown()", self.slotQuit))
+
''' Popup Menu '''
connectionsMenu = KPopupMenu(self.contextMenu())
@@ -91,6 +93,10 @@
self.comarInterface.activateConnection(connection)
self.contextMenu().changeItem(int, QIconSet(self.icons.loadIcon('wireless-online', KIcon.Desktop, 16)), self.contextMenu().text(int))
+ def slotQuit(self):
+ self.deleteLater()
+ app.quit()
+
def timeoutSlot(self):
interfaceName = self.wirelessInterface.returnInterfaceName()
interfaceESSID = self.wirelessInterface.returnESSID()
Projeler-commits mesaj listesiyle ilgili
daha fazla bilgi