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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user