Issue 366 in xmonad: XMonad.Layout.NoFrillsDecoration depends on SimpleDecoration

Status: New Owner: ---- New issue 366 by j...@kitenet.net: XMonad.Layout.NoFrillsDecoration depends on SimpleDecoration http://code.google.com/p/xmonad/issues/detail?id=366 What steps will reproduce the problem? 1.import XMonad.Layout.NoFrillsDecoration 2.do not import XMonad.Layout.SimpleDecoration 3. What is the expected output? What do you see instead? xmonad.hs:41:10: Not in scope: `defaultTheme' xmonad.hs:42:4: Not in scope: `activeColor' xmonad.hs:43:4: Not in scope: `inactiveColor' xmonad.hs:44:4: Not in scope: `activeBorderColor' xmonad.hs:45:4: Not in scope: `inactiveBorderColor' Etc. This goes away if SimpleDecoration is also imported. What version of the product are you using? On what operating system? 0.9 Are you using an xmonad.hs? Please attach it and the output of "xmonad --recompile". Please provide any additional information below. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Updates: Status: Started Owner: wirtwolff Labels: Component-Contrib Usability Comment #1 on issue 366 by wirtwo...@gmail.com: XMonad.Layout.NoFrillsDecoration depends on SimpleDecoration http://code.google.com/p/xmonad/issues/detail?id=366 Indeed, other decoration extensions like Tabbed, DwmStyle, Decoration, etc. re-export Theme, defaultTheme.... I'll put together a patch bundle for the newer decoration modules that are missing such additions, i.e. ones that leave it to the user to bring into scope entities used in haddock examples or otherwise required to use the extension. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Comment #2 on issue 366 by vogt.adam: XMonad.Layout.NoFrillsDecoration depends on SimpleDecoration http://code.google.com/p/xmonad/issues/detail?id=366 Probably the easiest way is to re-export the whole SimpleDecoration module, as in:
module XMonad.Layout.NoFrillsDecoration ( ..... ..... module XMonad.Layout.SimpleDecoration )
import XMonad.Layout.SimpleDecoration (thing1,thing2)
But the required imports from SimpleDecoration could also be explicitly listed, though I don't think it matters so much here. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings

Updates:
Status: Fixed
Comment #3 on issue 366 by vogt.adam: XMonad.Layout.NoFrillsDecoration
depends on SimpleDecoration
http://code.google.com/p/xmonad/issues/detail?id=366
Pushed this patch:
Wed Sep 29 20:20:46 EDT 2010 Adam Vogt
participants (1)
-
codesite-noreply@google.com