Changeset 8495 for branches/jingle

Show
Ignore:
Timestamp:
08/15/07 11:28:32 (16 months ago)
Author:
liori
Message:

Jingle: removing hacks, rising the priority for io_add_watch callbacks.

Location:
branches/jingle/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/jingle/src/common/xmpp/transports_nb.py

    r8492 r8495  
    587587                If supplied data is unicode string, encode it to utf-8. 
    588588                ''' 
    589                 now = True 
    590589                if self.state <= 0: 
    591590                        return 
  • branches/jingle/src/gajim.py

    r8494 r8495  
    368368                Start listening for events from fd 
    369369                ''' 
    370                 res = gobject.io_add_watch(fd, flags, self.process_events,  
    371                         priority=gobject.PRIORITY_LOW) 
     370                res = gobject.io_add_watch(fd, flags, self.process_events) 
    372371                # store the id of the watch, so that we can remove it on unplug 
    373372                self.events[fd] = res 
     
    23702369                # pygtk2.8+ on win, breaks io_add_watch. 
    23712370                # We use good old select.select() 
    2372                 if True or os.name == 'nt': 
     2371                if os.name == 'nt': 
    23732372                        gajim.idlequeue = idlequeue.SelectIdleQueue() 
    23742373                else: