Commit 70e4a769 authored by Bruno Coudoin's avatar Bruno Coudoin

Added missing files in the makefiles.

connect4 can work installed now.

svn path=/branches/gcomprixo/; revision=2859
parent 808ffe3d
......@@ -128,7 +128,7 @@ class Gcompris_connect4:
def end(self):
if self.timerAnim:
gtk.timeout_remove(self.timerAnim)
gobject.source_remove(self.timerAnim)
del self.timericon
......@@ -210,7 +210,7 @@ class Gcompris_connect4:
def newGame(self):
if self.timerAnim:
gtk.timeout_remove(self.timerAnim)
gobject.source_remove(self.timerAnim)
self.timerAnim = None
if self.boardItem:
self.boardItem.destroy()
......@@ -307,7 +307,7 @@ class Gcompris_connect4:
)
self.stone.connect("event", self.columnItemEvent, 0)
self.countAnim = self.nbLines-y
self.timerAnim = gtk.timeout_add(200, self.animTimer)
self.timerAnim = gobject.timeout_add(200, self.animTimer)
self.timericon.gnomecanvas.show()
def animTimer(self):
......@@ -315,7 +315,7 @@ class Gcompris_connect4:
if self.countAnim > 0:
y= self.stone.get_property('y')
self.stone.set_property('y', y + (self.boardSize/self.nbColumns))
self.timerAnim = gtk.timeout_add(200, self.animTimer)
self.timerAnim = gobject.timeout_add(200, self.animTimer)
else:
self.timerAnim = None
self.timericon.gnomecanvas.hide()
......
......@@ -3,6 +3,8 @@ img_DATA = \
back.png \
stone_1.png \
stone_2.png \
tux-teacher.png
tux-teacher.png \
sablier.txt \
sablier.gif
EXTRA_DIST = $(img_DATA)
......@@ -22,6 +22,8 @@ img_DATA = \
sun.png \
vapor.png \
watercleaning.png \
waterpump.png
waterpump.png \
tuxboat.txt \
fishingboat.gif
EXTRA_DIST = $(img_DATA)
......@@ -6,6 +6,8 @@ img_DATA = \
tablet_active.png \
tablet_inactive.png \
wood_oak.png \
wood_pine.png
wood_pine.png \
anim_pen.txt \
anim_pen.gif
EXTRA_DIST = $(img_DATA)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment