Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-04-20 16:35:08 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-04-20 16:35:08 (GMT)
commit8bf9023b8519bfa496f59997863ea8edaf36f075 (patch)
treeb9eafb260ab8abf251b7bf808b0256ae77780146
parent0d487eae8d5e5cdf24e73fe8bf753c051bc04d21 (diff)
added quipu
-rwxr-xr-xvisualmatch.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/visualmatch.py b/visualmatch.py
index e32008a..809f556 100755
--- a/visualmatch.py
+++ b/visualmatch.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python
-#Copyright (c) 2009,10 Walter Bender
+#Copyright (c) 2009-12 Walter Bender
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -21,7 +21,7 @@ import os
from game import Game
from constants import PRODUCT, HASH, ROMAN, WORD, CHINESE, MAYAN, DICE, DOTS, \
- STAR, LINES
+ STAR, LINES, INCAN
class VisualMatchMain:
@@ -112,6 +112,10 @@ class VisualMatchMain:
menu3.append(menu_items)
menu_items.connect("activate", self._number_card_O_cb, MAYAN)
menu_items.show()
+ menu_items = gtk.MenuItem(_("Quipu"))
+ menu3.append(menu_items)
+ menu_items.connect("activate", self._number_card_O_cb, INCAN)
+ menu_items.show()
menu_items = gtk.MenuItem(_("Hash"))
menu3.append(menu_items)
menu_items.connect("activate", self._number_card_C_cb, HASH)
@@ -156,7 +160,7 @@ class VisualMatchMain:
self.win.show_all()
# Join the activity
- self.vmw = Game(canvas, os.path.join(os.path.abspath('.'), 'images/'))
+ self.vmw = Game(canvas)
self.vmw.win = self.win
self.vmw.activity = self
self.vmw.card_type = 'pattern'