Commit 8b9cdfc
committed
nemo-mime-actions.c: Only add entire view file list to an image
viewer launch if its commandline supports multiple files.
As a result of #2705, when
a single image file is selected and launched, the full file list
for the current directory is appended for certain viewers.
This is a problem if the viewer's desktop file Exec line doesn't
support multiple files, as it can cause multiple instances of
a program to launch when that was not the intent.
Only apply this new behavior if the Exec line accepts multiple
files (%U and %F).
ref: #27711 parent 5f10ff1 commit 8b9cdfc
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1491 | 1491 | | |
1492 | 1492 | | |
1493 | 1493 | | |
| 1494 | + | |
1494 | 1495 | | |
1495 | | - | |
| 1496 | + | |
| 1497 | + | |
1496 | 1498 | | |
| 1499 | + | |
1497 | 1500 | | |
1498 | 1501 | | |
1499 | 1502 | | |
| |||
0 commit comments