Commit d8af50b
committed
FileChooser (Linux): Better sanitize file extension patterns for Zenity
With Zenity 4.2.2, I was seeing that file extension patterns with a
trailing space (example below) were causing the file chooser process to
start, but the window never became visible.
zenity --file-selection --file-filter="*.a *.b "1 parent 96224db commit d8af50b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
0 commit comments