From 7a3401888615d5550bb7e6f8da6bf2b5816f49df Mon Sep 17 00:00:00 2001 From: mfrasca <> Date: Fri, 13 Oct 2006 13:54:21 +0000 Subject: [PATCH] updated the example with the latest library. - removed char_width/height. --- examples/pywmsysmon.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/pywmsysmon.py b/examples/pywmsysmon.py index 4093836..71d720a 100755 --- a/examples/pywmsysmon.py +++ b/examples/pywmsysmon.py @@ -367,10 +367,7 @@ background = \ ] def main(): - global char_width, char_height - char_width, char_height = wmdocklib.initPixmap(background, - font_name='6x8', - palette=palette) + wmdocklib.initPixmap(background, palette=palette) config = parseCommandLine(sys.argv) procStat = config.get('procstat', defaultProcStat) if not os.access(procStat, os.R_OK):