[pychess commit] r567 - in branches/0.6/lib/pychess: . widgets

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 8, 2007, 6:23:37 PM9/8/07
to pychess...@googlegroups.com
Author: lobais
Date: Sat Sep 8 15:22:48 2007
New Revision: 567

Modified:
branches/0.6/lib/pychess/Main.py
branches/0.6/lib/pychess/widgets/BoardPreview.py

Log:
Fixed the 2.20 gnome bug

Modified: branches/0.6/lib/pychess/Main.py
==============================================================================
--- branches/0.6/lib/pychess/Main.py (original)
+++ branches/0.6/lib/pychess/Main.py Sat Sep 8 15:22:48 2007
@@ -5,6 +5,7 @@

from pychess.System import myconf
from pychess.Utils.const import *
+from pychess.Utils import book # Kills pychess if no sqlite available
from pychess.Players.Human import Human
from pychess.System.Log import log
from pychess.widgets import tipOfTheDay

Modified: branches/0.6/lib/pychess/widgets/BoardPreview.py
==============================================================================
--- branches/0.6/lib/pychess/widgets/BoardPreview.py (original)
+++ branches/0.6/lib/pychess/widgets/BoardPreview.py Sat Sep 8 15:22:48 2007
@@ -61,8 +61,9 @@

# Adding glade widget to self

- self.widgets["mainvbox"].unparent()
- self.add(self.widgets["mainvbox"])
+ mainvbox = self.widgets["mainvbox"]
+ mainvbox.get_parent().remove(mainvbox)
+ self.add(mainvbox)
self.show_all()

def widgetHandler (self, glade, functionName, widgetName, s1, s2, i1, i2):

Reply all
Reply to author
Forward
0 new messages