gnome-games r7742 - trunk/glchess/src/lib
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7742 - trunk/glchess/src/lib
- Date: Sun, 29 Jun 2008 09:46:08 +0000 (UTC)
Author: rancell
Date: Sun Jun 29 09:46:08 2008
New Revision: 7742
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7742&view=rev
Log:
Disable network controls when disconnected (Bug #523818)
Modified:
trunk/glchess/src/lib/network.py
Modified: trunk/glchess/src/lib/network.py
==============================================================================
--- trunk/glchess/src/lib/network.py (original)
+++ trunk/glchess/src/lib/network.py Sun Jun 29 09:46:08 2008
@@ -170,6 +170,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'
@@ -207,7 +208,7 @@
self.dialog.controller.addPlayer(player, player.name, self._getPlayerIcon(player))
for table in self.client.tables.itervalues():
self.tableAdded(table)
-
+
self.dialog.controller.enterRoom(room)
def tableAdded(self, table):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]