GTK: use new History module

This commit is contained in:
2016-06-04 17:28:15 +02:00
parent d904b74629
commit 05a62cb382
5 changed files with 53 additions and 54 deletions

View File

@@ -30,13 +30,9 @@ import Control.Concurrent.STM
TVar
)
import Graphics.UI.Gtk hiding (MenuBar)
import HPath
(
Abs
, Path
)
import HSFM.FileSystem.FileType
import HSFM.FileSystem.UtilTypes
import HSFM.History
import System.INotify
(
INotify
@@ -83,7 +79,7 @@ data MyView = MkMyView {
-- the first part of the tuple represents the "go back"
-- the second part the "go forth" in the history
, history :: !(TVar ([Path Abs], [Path Abs]))
, history :: !(MVar BrowsingHistory)
-- sub-widgets
, scroll :: !ScrolledWindow