Commit 24a6c485 authored by Clint Adams's avatar Clint Adams

taffybar: Upgrading from 1.0.0 to 1.0.1

parent 99704ff1
taffybar (1.0.1-1) unstable; urgency=medium
* New upstream version.
-- Clint Adams <clint@debian.org> Sat, 01 Dec 2018 08:46:30 -0500
taffybar (1.0.0-1) unstable; urgency=medium
[ Ilias Tsitsimpis ]
......
......@@ -36,7 +36,7 @@ Build-Depends:
libghc-enclosed-exceptions-prof,
libghc-glib-dev,
libghc-glib-prof,
libghc-gtk-traymanager-dev (>= 1.0.0),
libghc-gtk-traymanager-dev (>= 1.0.1),
libghc-gtk-traymanager-dev (<< 2.0.0),
libghc-gtk-traymanager-prof,
libghc-gtk3-dev,
......
--- a/src/System/Taffybar/Widgets/Graph.hs
+++ b/src/System/Taffybar/Widgets/Graph.hs
@@ -11,12 +11,12 @@
-- Note: all of the data fed to this widget should be in the range
-- [0,1].
module System.Taffybar.Widgets.Graph
- -- * Types
+ -- Types
( GraphHandle
, GraphConfig(..)
, GraphDirection(..)
, GraphStyle(..)
- -- * Functions
+ -- Functions
, graphNew
, graphAddSample
, defaultGraphConfig
@@ -52,9 +52,9 @@
-- | The configuration options for the graph. The padding is the
-- number of pixels reserved as blank space around the widget in each
-- direction.
-data GraphConfig = GraphConfig
+data GraphConfig = GraphConfig {
-- | Number of pixels of padding on each side of the graph widget
- { graphPadding :: Int
+ graphPadding :: Int
-- | The background color of the graph (default black)
, graphBackgroundColor :: (Double, Double, Double)
-- | The border color drawn around the graph (default gray)
--- a/src/System/Taffybar/Widgets/VerticalBar.hs
+++ b/src/System/Taffybar/Widgets/VerticalBar.hs
@@ -29,8 +29,8 @@
data BarDirection = HORIZONTAL | VERTICAL
data BarConfig
- = BarConfig -- | Color of the border drawn around the widget
- { barBorderColor :: (Double, Double, Double)
+ = BarConfig { -- | Color of the border drawn around the widget
+ barBorderColor :: (Double, Double, Double)
-- | The background color of the widget
, barBackgroundColor :: Double -> (Double, Double, Double)
-- | A function to determine the color of the widget for the current data point
no-network-uri
man-page.patch
fix-haddock
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment