Cleaned up the gui some more
This commit is contained in:
parent
704e7209a6
commit
579b9bc199
3
pygo.py
3
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):
|
||||
|
@ -43,6 +44,8 @@ class Pygo():
|
|||
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):
|
||||
print 'stub: Pygo.on_menu_net_direct()'
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<widget class="GtkWindow" id="window">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">window1</property>
|
||||
<property name="title" translatable="yes">Pygo</property>
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
<property name="window_position">GTK_WIN_POS_NONE</property>
|
||||
<property name="modal">False</property>
|
||||
|
@ -20,7 +20,7 @@
|
|||
<property name="urgency_hint">False</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox1">
|
||||
<widget class="GtkVBox" id="main_box">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
|
Loading…
Reference in New Issue
Block a user