Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/deck.py
diff options
context:
space:
mode:
authorIgnacio Rodríguez <ignaciorodriguez@sugarlabs.org>2012-10-18 12:21:45 (GMT)
committer Ignacio Rodríguez <ignaciorodriguez@sugarlabs.org>2012-10-18 12:21:45 (GMT)
commit1b040b05e433d846ffa8765b09661590e66c293a (patch)
tree84d1211eef69d19d902fae7a9afa075ec4821557 /deck.py
parent0146c6fbf683a8a247720e002fec6a9bc82d8fae (diff)
Port finish!
Diffstat (limited to 'deck.py')
-rw-r--r--deck.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/deck.py b/deck.py
index 77822dd..04adfc6 100644
--- a/deck.py
+++ b/deck.py
@@ -1,4 +1,6 @@
#Copyright (c) 2011 Walter Bender
+# Port To GTK3:
+# Ignacio Rodriguez <ignaciorodriguez@sugarlabs.org>
# 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
@@ -9,8 +11,7 @@
# along with this library; if not, write to the Free Software
# Foundation, 51 Franklin Street, Suite 500 Boston, MA 02110-1335 USA
-
-import gtk
+from gi.repository import Gtk, Gdk
from random import randrange
from tile import Tile, board_card