gnome-games r7743 - branches/gnome-2-22/glchess/src/lib



Author: rancell
Date: Sun Jun 29 09:47:01 2008
New Revision: 7743
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7743&view=rev

Log:
Disable network controls when disconnected (Bug #523818)

Modified:
   branches/gnome-2-22/glchess/src/lib/network.py

Modified: branches/gnome-2-22/glchess/src/lib/network.py
==============================================================================
--- branches/gnome-2-22/glchess/src/lib/network.py	(original)
+++ branches/gnome-2-22/glchess/src/lib/network.py	Sun Jun 29 09:47:01 2008
@@ -168,6 +168,7 @@
 
     def onDisconnected(self):
         self.dialog.controller.setError(_('Disconnected'), _('You have been disconnected from the server'))
+        self.dialog.controller.setSensitive(False)
 
     def openChannel(self, feedback):
         print 'Open Channel'



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]