|
|
@ -1198,8 +1198,8 @@ class Interface(object): |
|
|
|
|
|
|
|
|
|
|
|
interval = self._options[self.NAMESPACE]['refresh_interval'] |
|
|
|
interval = self._options[self.NAMESPACE]['refresh_interval'] |
|
|
|
_log.debug('Queueing next refresh in %d minutes', interval) |
|
|
|
_log.debug('Queueing next refresh in %d minutes', interval) |
|
|
|
self._update_statusbar('%d new messages retrieved. Next update in ' \ |
|
|
|
self._update_statusbar('New messages retrieved. Next update in ' \ |
|
|
|
'%d minutes.' % (len(results), interval)) |
|
|
|
'%d minutes.' % (interval)) |
|
|
|
self._refresh_id = gobject.timeout_add( |
|
|
|
self._refresh_id = gobject.timeout_add( |
|
|
|
interval * 60 * 1000, |
|
|
|
interval * 60 * 1000, |
|
|
|
self._refresh, None) |
|
|
|
self._refresh, None) |
|
|
|