Show
Ignore:
Timestamp:
02/13/08 08:14:06 (9 months ago)
Author:
asterix
Message:

[Goedson] use timeout_add_seconds instead of timeout_add, more efficient. fixes #3734

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/profile_window.py

    r8953 r9324  
    249249                        self.message_id = self.statusbar.push(self.context_id, 
    250250                                _('Information received')) 
    251                         self.remove_statusbar_timeout_id = gobject.timeout_add(3000, 
     251                        self.remove_statusbar_timeout_id = gobject.timeout_add_seconds(3, 
    252252                                self.remove_statusbar, self.message_id) 
    253253                        gobject.source_remove(self.update_progressbar_timeout_id) 
     
    345345                self.message_id = self.statusbar.push(self.context_id, 
    346346                        _('Information NOT published')) 
    347                 self.remove_statusbar_timeout_id = gobject.timeout_add(3000, 
     347                self.remove_statusbar_timeout_id = gobject.timeout_add_seconds(3, 
    348348                        self.remove_statusbar, self.message_id) 
    349349                if self.update_progressbar_timeout_id is not None: