Fixed name

This commit is contained in:
Jonatan Pålsson 2011-05-16 17:12:37 +02:00
parent ba471084da
commit 8ee0fe53e6
2 changed files with 4 additions and 3 deletions

View file

@ -18,8 +18,9 @@
<widget class="GtkLabel" id="label1"> <widget class="GtkLabel" id="label1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0.41999998688697815</property>
<property name="ypad">7</property> <property name="ypad">7</property>
<property name="label" translatable="yes">&lt;span size="x-large"&gt;GGS-Pong&lt;/span&gt;</property> <property name="label" translatable="yes">&lt;span size="x-large"&gt;GGS Tic Tac Toe&lt;/span&gt;</property>
<property name="use_markup">True</property> <property name="use_markup">True</property>
</widget> </widget>
<packing> <packing>

View file

@ -145,7 +145,7 @@ class GGSTTT:
message.destroy() message.destroy()
elif resp == gtk.RESPONSE_OK: elif resp == gtk.RESPONSE_OK:
print "new game" print "new game"
self.s.send("Game-Command: new\n" + self.s.send("Game-Command: new\n" +
"Content-Type: text\n" + "Content-Type: text\n" +
"Content-Length: 0\n"+ "Content-Length: 0\n"+
"\n") "\n")
@ -160,7 +160,7 @@ class GGSTTT:
message.destroy() message.destroy()
elif resp == gtk.RESPONSE_OK: elif resp == gtk.RESPONSE_OK:
print "new game" print "new game"
self.s.send("Game-Command: new\n" + self.s.send("Game-Command: new\n" +
"Content-Type: text\n" + "Content-Type: text\n" +
"Content-Length: 0\n"+ "Content-Length: 0\n"+
"\n") "\n")