Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-11-02 19:29:49 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-11-02 19:29:49 (GMT)
commitb11ba7ec7e2f4e68ce6a3704aacd71c61373255c (patch)
tree847786ac0ef68e3f066591fc1314b56d536ba0d8 /TamTam.py
parent9b637aa06f9e67f6c624f696a16cd7d17b855fcf (diff)
Remove a double add. s/tamtam/self.tamtam where appropriate.
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/TamTam.py b/TamTam.py
index 9268644..cd26d0e 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -72,15 +72,8 @@ class TamTam(Activity):
self.tamtam.show()
self.set_title('TamTam')
self.set_resizable(False)
- self.connect('destroy', do_quit, pid)
- self.connect('destroy' , tamtam.destroy )
- self.connect( "key-press-event", tamtam.keyboardStandAlone.onKeyPress )
- self.connect( "key-release-event", tamtam.keyboardStandAlone.onKeyRelease )
- self.add(self.tamtam)
- self.tamtam.show()
- self.show()
+ self.connect( "key-press-event", self.tamtam.keyboardStandAlone.onKeyPress )
+ self.connect( "key-release-event", self.tamtam.keyboardStandAlone.onKeyRelease )
def do_quit(self):
del self.tamtam
-
-