GTK: readd copy mode dialog
This commit is contained in:
parent
aa1401d874
commit
9288be7ff7
@ -146,8 +146,9 @@ copyFinal mygui myview = withErrorDialog $ do
|
|||||||
dest <- goUp mcdir
|
dest <- goUp mcdir
|
||||||
let cmsg = "Really copy \"" ++ fullPath s
|
let cmsg = "Really copy \"" ++ fullPath s
|
||||||
++ "\"" ++ " to \"" ++ fullPath dest ++ "\"?"
|
++ "\"" ++ " to \"" ++ fullPath dest ++ "\"?"
|
||||||
|
cm <- showCopyModeChooserDialog
|
||||||
withConfirmationDialog cmsg
|
withConfirmationDialog cmsg
|
||||||
(runFileOp (FCopy . CC s dest $ Strict)
|
(runFileOp (FCopy . CC s dest $ cm)
|
||||||
>> refreshTreeView mygui myview Nothing)
|
>> refreshTreeView mygui myview Nothing)
|
||||||
return ()
|
return ()
|
||||||
_ -> return ()
|
_ -> return ()
|
||||||
|
Loading…
Reference in New Issue
Block a user