-
[clean-tests.git] / tabbar / test.icl
diff --git a/tabbar/test.icl b/tabbar/test.icl
deleted file mode 100644 (file)
index 0837b06..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-module test
-import qualified Data.Map as DM
-import iTasks
-
-Start w = doTasks
-       (parallel
-               [(Embedded, tab "tab1")
-               ,(Embedded, tab "tab2")
-               ]
-               [ OnAction (Action "New") (always (Embedded, tab "New tab"))
-               , OnAction (Action " ") (always (Embedded, tab "New tab"))
-               , OnAction (Action "Close") (never (Embedded, \_->treturn ()))
-               , OnAction (Action "Dis no icon") (never (Embedded, \_->treturn ()))
-               , OnAction (Action "+") (always (Embedded, \_->treturn ()))
-               ]
-       <<@ ArrangeWithTabs True
-       <<@ ApplyLayout (setActionIcon ('DM'.put " " "new" 'DM'.newMap))
-       ) w
-
-tab title _ = viewInformation [] () <<@ Title title
-       >>* [OnAction (Action "Close") (always (treturn ()))]