Skip to content

Commit

Permalink
Fix issue with fvwm-menu-desktop MiniIcon style.
Browse files Browse the repository at this point in the history
  Applications with spaces caused a bad style option because
  of missing quotes. This adds quotes around the application name
  to deal with applications with spaces.
  • Loading branch information
somiaj authored and ThomasAdam committed Nov 7, 2023
1 parent 273f405 commit 1ae43db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fvwm-menu-desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ Standard output is a series Fvwm commands."""
if not style_id:
style_id = ent.getIcon()
if style_id and ent.getIcon():
sys.stdout.write('Style {} MiniIcon "{}"\n'.format(style_id, geticonfile(ent.getIcon())))
sys.stdout.write('Style "{}" MiniIcon "{}"\n'.format(style_id, geticonfile(ent.getIcon())))

sys.stdout.flush()
vprint("\nProcess took " + str(time.time()-timestamp) + " seconds")
Expand Down

0 comments on commit 1ae43db

Please sign in to comment.