diff options
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/activity.py b/activity.py index 1038fa6..c02c1e2 100644 --- a/activity.py +++ b/activity.py @@ -141,7 +141,6 @@ class MemorizeActivity(Activity): self.connect('key-press-event', self.table.key_press_event) self.table.connect('card-flipped', self.game.card_flipped) self.table.connect('card-highlighted', self.game.card_highlighted) - self.table.connect('resize-table', self.__resize_table_cb) self.game.connect('set-border', self.table.set_border) self.game.connect('flop-card', self.table.flop_card) @@ -239,11 +238,6 @@ class MemorizeActivity(Activity): self.table.resize(width, height - style.GRID_CELL_SIZE) self.show_all() - def __resize_table_cb(self, widget): - # need reset the game - # because we reload the cards in the table - self.game.last_flipped = -1 - def _change_mode_bt(self, button): if button.get_active(): self._change_mode(_MODE_CREATE) |