Changeset 0fbeef1


Ignore:
Timestamp:
2008-04-20T20:40:32Z (17 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
d184f30
Parents:
7f1cf70
Message:

skyped: use gobject.timeout_add() to make it more responsive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/skyped.py

    r7f1cf70 r0fbeef1  
    7070        except Skype4Py.SkypeAPIError, s:
    7171                dprint("Warning, pinging Skype failed (%s)." % (s))
    72                 time.sleep(2)
    7372        return True
    7473
     
    244243        except Skype4Py.SkypeAPIError, s:
    245244                sys.exit("%s. Are you sure you have started Skype?" % s)
    246         gobject.idle_add(idle_handler, skype)
     245        gobject.timeout_add(2000, idle_handler, skype)
    247246        gobject.MainLoop().run()
Note: See TracChangeset for help on using the changeset viewer.