From f2a38204d73bdc710095387211767359d1e9b0e1 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Wed, 27 Jun 2007 20:02:17 +0000 Subject: [PATCH] Call update() prior to setting the timer --- src/interface.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/interface.py b/src/interface.py index e686f03ee..2640cc943 100644 --- a/src/interface.py +++ b/src/interface.py @@ -809,6 +809,9 @@ class DelugeGTK: # self.torrent_model.append([0, 1, "Hello, World", 2048, 50.0, "Hi", 1, 2, 1, 2, 2048, 2048, 120, 1.0]) for uid in self.manager.get_unique_IDs(): self.torrent_model.append(self.get_list_from_unique_id(uid)) + # Call update now so everything is up-to-date when the window gains focus on startup + self.update() + gobject.timeout_add(1000, self.update) try: self.is_running = True