From 1ae43db579088bd60dc3088e9f1e1fd2e83f5d17 Mon Sep 17 00:00:00 2001 From: Jaimos Skriletz Date: Tue, 7 Nov 2023 08:45:17 -0700 Subject: [PATCH] Fix issue with fvwm-menu-desktop MiniIcon style. 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. --- bin/fvwm-menu-desktop.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/fvwm-menu-desktop.in b/bin/fvwm-menu-desktop.in index 2170d8ae3..3fd664e09 100644 --- a/bin/fvwm-menu-desktop.in +++ b/bin/fvwm-menu-desktop.in @@ -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")