1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2025-12-19 20:38:03 +01:00

updated the example with the latest library. - removed char_width/height.

This commit is contained in:
mfrasca
2006-10-13 13:54:21 +00:00
parent 84f7b15e81
commit 7a34018886

View File

@@ -367,10 +367,7 @@ background = \
] ]
def main(): def main():
global char_width, char_height wmdocklib.initPixmap(background, palette=palette)
char_width, char_height = wmdocklib.initPixmap(background,
font_name='6x8',
palette=palette)
config = parseCommandLine(sys.argv) config = parseCommandLine(sys.argv)
procStat = config.get('procstat', defaultProcStat) procStat = config.get('procstat', defaultProcStat)
if not os.access(procStat, os.R_OK): if not os.access(procStat, os.R_OK):