[Pykafe-commits] SF.net SVN: pykafe: [108] trunk/pykafe/client/clientmain.py
Status: Pre-Alpha
Brought to you by:
jnmbk
|
From: <jn...@us...> - 2007-06-10 06:08:41
|
Revision: 108
http://pykafe.svn.sourceforge.net/pykafe/?rev=108&view=rev
Author: jnmbk
Date: 2007-06-09 23:07:36 -0700 (Sat, 09 Jun 2007)
Log Message:
-----------
done
Modified Paths:
--------------
trunk/pykafe/client/clientmain.py
Modified: trunk/pykafe/client/clientmain.py
===================================================================
--- trunk/pykafe/client/clientmain.py 2007-06-10 05:33:31 UTC (rev 107)
+++ trunk/pykafe/client/clientmain.py 2007-06-10 06:07:36 UTC (rev 108)
@@ -52,12 +52,11 @@
text = data[3:]
text1, text2 = text.split('|',1)
self.emit(QtCore.SIGNAL("updateLabels"), str(text1), str(text2))
- #TODO: Show a baloon when we're close to the end time
if data[:3] == "021":
wallpaper = os.popen("dcop kdesktop KBackgroundIface currentWallpaper 1").read().strip()
self.sendMessage("022" + wallpaper)
if data[:3] == "024":
- self.emit(QtCore.SIGNAL("showMessage"), _("Warning"), _("You have %s seconds remaining!") % data[3:], QtGui.QSystemTrayIcon.Warning, 60000)
+ self.emit(QtCore.SIGNAL("showMessage"), _("Warning"), _("You have %s seconds remaining!") % data[3:], QtGui.QSystemTrayIcon.Warning, 30000)
self.tcpSocket.disconnectFromHost()
class PykafeClientMain(QtNetwork.QTcpServer):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|