summaryrefslogtreecommitdiffhomepage
path: root/UI/Zenity.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-17 14:28:33 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-17 14:28:33 -0400
commitf60ac335e4e827fd242ab22539adb49f26e2c319 (patch)
tree255e16e03210b9ccb6faf72b4afd29b7262f42d9 /UI/Zenity.hs
parentb474ab87ae45ed77f42eb41f658a55262bd92217 (diff)
downloadkeysafe-f60ac335e4e827fd242ab22539adb49f26e2c319.tar.gz
add progress bars to restore
also, restore actually works!
Diffstat (limited to 'UI/Zenity.hs')
-rw-r--r--UI/Zenity.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/UI/Zenity.hs b/UI/Zenity.hs
index b74631f..228b11a 100644
--- a/UI/Zenity.hs
+++ b/UI/Zenity.hs
@@ -115,7 +115,7 @@ myPromptKeyId title desc l = do
return $ Just (KeyId (BU8.fromString kid))
else return Nothing
-myWithProgress :: Title -> Desc -> ((Percent -> IO ()) -> IO ()) -> IO ()
+myWithProgress :: Title -> Desc -> ((Percent -> IO ()) -> IO a) -> IO a
myWithProgress title desc a = bracket setup teardown (a . sendpercent)
where
setup = do