From 579b9bc199c1bad6fe803c2f78e154be46bab6de Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Mon, 16 Apr 2012 22:07:07 -0400 Subject: [PATCH] Cleaned up the gui some more --- pygo.py | 3 +++ ui/default.glade | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pygo.py b/pygo.py index 37020e5..b4cb093 100755 --- a/pygo.py +++ b/pygo.py @@ -28,6 +28,7 @@ class Pygo(): self.tree=gtk.glade.XML(path_to_skin, "window") self.tree.signal_autoconnect(self) self.window = self.tree.get_widget('window') + self.contents = self.tree.get_widget('main_box') def init_widgets(self): @@ -42,6 +43,8 @@ class Pygo(): self.goban = goban.Goban() self.network_mode = False self.our_color = None + + # fixme: create the go board widget and add it to our box here def on_net_direct(self, widget): diff --git a/ui/default.glade b/ui/default.glade index 8431c53..88d53f7 100644 --- a/ui/default.glade +++ b/ui/default.glade @@ -5,7 +5,7 @@ True - window1 + Pygo GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False @@ -20,7 +20,7 @@ False - + True False 0