From a1f4cfe8217b1f0ef1afd8b9d041fcba9fe33ed1 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Mon, 12 Jan 2009 21:56:22 +0000 Subject: [PATCH] Now uses the opacity settings from the config file as part of the Cairo rendering. --- cb-openbox-logout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cb-openbox-logout.py b/cb-openbox-logout.py index 5b60e23..fb45c14 100755 --- a/cb-openbox-logout.py +++ b/cb-openbox-logout.py @@ -145,7 +145,7 @@ class OpenboxLogout(): cr.paint() (width, height) = widget.get_size() - cr.set_source_rgba(0, 0, 0, .5) + cr.set_source_rgba(0, 0, 0, float(self.opacity)/100) cr.rectangle(0, 0, width, height) cr.fill()