Issue 3960, warn button disappears too soon on long GEDCOM import with errors.

svn: r15859
This commit is contained in:
Peter Landgren 2010-09-06 15:19:44 +00:00
parent 4eec493f66
commit 9f9af706a4

View File

@ -311,8 +311,8 @@ class WarnHandler(RotateHandler):
def emit(self, record): def emit(self, record):
if self.timer is None: if self.timer is None:
#check every 5 minutes if warn button can disappear #check every 3 minutes if warn button can disappear
self.timer = gobject.timeout_add(300*1000, self._check_clear) self.timer = gobject.timeout_add(3*60*1000, self._check_clear)
RotateHandler.emit(self, record) RotateHandler.emit(self, record)
self.button.show() self.button.show()