diff options
author | Jean-Marie Traissard <jim@lapin.org> | 2008-02-13 21:03:29 +0300 |
---|---|---|
committer | Jean-Marie Traissard <jim@lapin.org> | 2008-02-13 21:03:29 +0300 |
commit | 894e752292c17df6dfc2641a7f03afd885fd1b28 (patch) | |
tree | 583aa07c20717b7e2886577cbb4f858bab7414a5 /src/profile_window.py | |
parent | ad3935d9e9c4db7ae62dd1fcd13275fbaadbb4ba (diff) |
Sadly, timeout_add_seconds is only availaible since gtk 2.14. It's quite recent. I have 2.10.
Reverting [9324]. Reopen #3734.
Diffstat (limited to 'src/profile_window.py')
-rw-r--r-- | src/profile_window.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profile_window.py b/src/profile_window.py index 61ffcc19d..8fa581d49 100644 --- a/src/profile_window.py +++ b/src/profile_window.py @@ -248,7 +248,7 @@ class ProfileWindow: self.statusbar.remove(self.context_id, self.message_id) self.message_id = self.statusbar.push(self.context_id, _('Information received')) - self.remove_statusbar_timeout_id = gobject.timeout_add_seconds(3, + self.remove_statusbar_timeout_id = gobject.timeout_add(3000, self.remove_statusbar, self.message_id) gobject.source_remove(self.update_progressbar_timeout_id) self.progressbar.hide() @@ -344,7 +344,7 @@ class ProfileWindow: self.statusbar.remove(self.context_id, self.message_id) self.message_id = self.statusbar.push(self.context_id, _('Information NOT published')) - self.remove_statusbar_timeout_id = gobject.timeout_add_seconds(3, + self.remove_statusbar_timeout_id = gobject.timeout_add(3000, self.remove_statusbar, self.message_id) if self.update_progressbar_timeout_id is not None: gobject.source_remove(self.update_progressbar_timeout_id) |