awful.widget: add progressbar set_max_value property
commit21d3d2aae56129f1450966babb3b8e5ccd2fa1c4
authorAdrian C. (anrxc) <anrxc@sysphere.org>
Fri, 26 Feb 2010 20:25:35 +0000 (26 21:25 +0100)
committerJulien Danjou <julien@danjou.info>
Tue, 2 Mar 2010 10:59:52 +0000 (2 11:59 +0100)
treeda3c523d3beb742049f9639289c37ad68f7ccbae
parentf41d7e270fb776990362acf8c265d6dd017b4f84
awful.widget: add progressbar set_max_value property

The awful.widget.graph allows to change the maximum value a graph can
handle, thus allows users to use widgets and scripts that don't scale
the values down to 0 - 1 range. The progressbars did not allow this
and worked with a hard-coded value of 1.

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
lib/awful/widget/progressbar.lua.in