diff options
author | Martin Perner <martin@perner.cc> | 2011-10-27 20:51:19 +0200 |
---|---|---|
committer | Martin Perner <martin@perner.cc> | 2011-10-27 22:46:28 +0200 |
commit | f6bb8eb4c4350522367f4ab2dacbfeb0a99cd06d (patch) | |
tree | 304e4ca8230f78cb659dff9a4aeadd1f65242e85 /src/Config.hs | |
parent | 9718dabe6c6d5979e3f6837ef04a39d3ad8c786c (diff) | |
download | xmobar-f6bb8eb4c4350522367f4ab2dacbfeb0a99cd06d.tar.gz xmobar-f6bb8eb4c4350522367f4ab2dacbfeb0a99cd06d.tar.bz2 |
DateZone, Date*L Plugin merges; DateZone API-Change!
To support multiple locales, an lock was introduced.
Although through this, supporting DateL and DateZoneL would be
cumbersome.
To simplify the usage, DateZone was replaced with DateZoneL.
Additionally the position of the Alias parameter was changed.
Using "" as Zone parameter for DateZoneL simulates DateL.
Providing also "" for locale simulates Date.
Diffstat (limited to 'src/Config.hs')
-rw-r--r-- | src/Config.hs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Config.hs b/src/Config.hs index cc1692e..4405314 100644 --- a/src/Config.hs +++ b/src/Config.hs @@ -27,7 +27,6 @@ import Commands import {-# SOURCE #-} Runnable import Plugins.Monitors import Plugins.Date -import Plugins.DateL import Plugins.PipeReader import Plugins.CommandReader import Plugins.StdinReader @@ -42,7 +41,6 @@ import Plugins.MBox #ifdef DATEZONE import Plugins.DateZone -import Plugins.DateZoneL #endif -- $config @@ -115,12 +113,12 @@ infixr :*: -- the 'Runnable.Runnable' Read instance. To install a plugin just add -- the plugin's type to the list of types (separated by ':*:') appearing in -- this function's type signature. -runnableTypes :: Command :*: Monitors :*: Date :*: DateL :*: PipeReader :*: CommandReader :*: StdinReader :*: XMonadLog :*: EWMH :*: Kbd :*: +runnableTypes :: Command :*: Monitors :*: Date :*: PipeReader :*: CommandReader :*: StdinReader :*: XMonadLog :*: EWMH :*: Kbd :*: #ifdef INOTIFY Mail :*: MBox :*: #endif #ifdef DATEZONE - DateZone :*: DateZoneL :*: + DateZone :*: #endif () runnableTypes = undefined |