From c26dacaa7329cb2d52654c198c606bca2cd5e84f Mon Sep 17 00:00:00 2001 From: Aleksey Lim Date: Fri, 10 Jul 2009 22:03:20 +0000 Subject: Initiate variables before usage --- (limited to 'createcardpanel.py') diff --git a/createcardpanel.py b/createcardpanel.py index 0b34ff2..56f6558 100644 --- a/createcardpanel.py +++ b/createcardpanel.py @@ -48,6 +48,8 @@ class CreateCardPanel(gtk.EventBox): self.equal_pairs = False self._updatebutton_sensitive = False + self._card1_has_sound = False + self._card2_has_sound = False # Set the add new pair buttom add_icon = join(dirname(__file__), 'images', 'pair-add.svg') -- cgit v0.9.1