summaryrefslogtreecommitdiff
path: root/tools/resolver-visualize
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2009-03-21 10:36:49 -0700
committerDaniel Burrows <dburrows@debian.org>2009-03-21 10:36:49 -0700
commit946e6dad019e2c1d148391ddeeaff4b18a3154b8 (patch)
treedafed1f5a4c19bd513e120d058bfb341830de001 /tools/resolver-visualize
parent6972b9c9b4e90ad5d80ffc4cc6a21808ed633849 (diff)
downloadaptitude-946e6dad019e2c1d148391ddeeaff4b18a3154b8.tar.gz
Destroy the progress bar window after the file is loaded.
Diffstat (limited to 'tools/resolver-visualize')
-rwxr-xr-xtools/resolver-visualize/Main.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/resolver-visualize/Main.hs b/tools/resolver-visualize/Main.hs
index 650b6905..4b882496 100755
--- a/tools/resolver-visualize/Main.hs
+++ b/tools/resolver-visualize/Main.hs
@@ -298,6 +298,7 @@ load fn = do loadedFile <- liftIO $ do (xml, win) <- loadLoadingProgressXML
h <- openFile fn ReadMode
lastTime <- newIORef Nothing
log <- loadLogFile h fn (showProgress progressBar lastTime)
+ widgetDestroy win
return log
(xml, ctx) <- newMainWindow
liftIO $ runVis (setLog loadedFile) ctx