From fc240b66c24b8d257299c9ccc8e51f30129e774c Mon Sep 17 00:00:00 2001 From: Marcin Mikołajczyk Date: Tue, 18 Feb 2014 21:21:39 +0100 Subject: Add support for multiple actions per item, activated depending on mouse button clicked --- src/Bitmap.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Bitmap.hs') diff --git a/src/Bitmap.hs b/src/Bitmap.hs index 2045e1a..3673b7a 100644 --- a/src/Bitmap.hs +++ b/src/Bitmap.hs @@ -30,7 +30,7 @@ data Bitmap = Bitmap { width :: Dimension } updateCache :: Display -> Window -> Map FilePath Bitmap -> - [[(Widget, String, Maybe Action)]] -> IO (Map FilePath Bitmap) + [[(Widget, String, Maybe [Action])]] -> IO (Map FilePath Bitmap) updateCache dpy win cache ps = do let paths = map (\(Icon p, _, _) -> p) . concatMap (filter icons) $ ps icons (Icon _, _, _) = True -- cgit v1.2.3