1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2025-12-19 12:28:10 +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():
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):