From ac60bbd14734f3ac01562455d8034686fb3401bd Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Thu, 27 Aug 2009 08:58:37 +0200 Subject: [PATCH] progressbar: set_value() should update() set_value() didn't call update() and thus had no visible effect on the progressbar. Signed-off-by: Uli Schlachter Signed-off-by: Julien Danjou --- lib/awful/widget/progressbar.lua.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful/widget/progressbar.lua.in b/lib/awful/widget/progressbar.lua.in index 931924e51..0d2a2ef33 100644 --- a/lib/awful/widget/progressbar.lua.in +++ b/lib/awful/widget/progressbar.lua.in @@ -116,6 +116,7 @@ end function set_value(pbar, value) local value = value or 0 data[pbar].value = math.min(1, math.max(0, value)) + update(pbar) return pbar end