diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-05-11 10:38:57 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-05-11 10:38:57 +0000 |
commit | a14611dbde118b1ffa6f66eb7237ddc0c3c61508 (patch) | |
tree | 72323783087bc71098bbbe810adeda4b5243c07d /src/connection.py | |
parent | f7ae12fc8362a5df7a82ccb8900fa8141121d3ab (diff) | |
download | poezio-a14611dbde118b1ffa6f66eb7237ddc0c3c61508.tar.gz poezio-a14611dbde118b1ffa6f66eb7237ddc0c3c61508.tar.bz2 poezio-a14611dbde118b1ffa6f66eb7237ddc0c3c61508.tar.xz poezio-a14611dbde118b1ffa6f66eb7237ddc0c3c61508.zip |
Fix the resize bug and avoid some blinking on resize \o/ fixed #1153
Diffstat (limited to 'src/connection.py')
-rw-r--r-- | src/connection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connection.py b/src/connection.py index bc4928e7..a95191ba 100644 --- a/src/connection.py +++ b/src/connection.py @@ -45,7 +45,7 @@ class Connection(threading.Thread): def __init__(self, server, resource): threading.Thread.__init__(self) self.handler = Handler() - self.daemon = True # exit the program when this exits + self.daemon = True # exit the program when this thread exits self.server = server self.resource = resource self.online = 0 # 1:connected, 2:auth confirmed @@ -66,7 +66,7 @@ class Connection(threading.Thread): self.handler.emit('error', msg='Could not authenticate to server') sys.exit(-1) self.client.sendInitPresence(requestRoster=0) - self.online = 1 # 2 when confirmation of auth is received + self.online = 1 # 2 when confirmation of our auth is received self.register_handlers() while 1: self.process() |