From c4b34800dac5869f81116ff7454b9cfb8364b886 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 9 Aug 2007 10:41:59 +0000 Subject: [PATCH] call process_connection faster under win. it processes incoming stanza under windows only. --- src/gajim.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index c21f43669..6e8de7e07 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -2484,7 +2484,10 @@ class Interface: self.last_ftwindow_update = 0 gobject.timeout_add(100, self.autoconnect) - gobject.timeout_add(2000, self.process_connections) + if os.name == 'nt': + gobject.timeout_add(200, self.process_connections) + else: + gobject.timeout_add(2000, self.process_connections) gobject.timeout_add(10000, self.read_sleepy) if __name__ == '__main__':