Commit 654b8a5
committed
Switch file open/save dialog provider to
This commit replaces the hand-written file dialog code in common.cpp
with the library https://github.com/btzy/nativefiledialog-extended.
The main consequence of this change is that the Linux implementation of
these operations switches from zenity to xdg-desktop-portal, causing the
file dialogs to also work in containers (e.g., flatpak) and non-GTK
based distributions like KDE. The library also has explicit support for
Wayland.nativefiledialog-extended
1 parent 1a3b5ce commit 654b8a5
File tree
9 files changed
+197
-275
lines changed- ext
- include/nanogui
- src
- python
9 files changed
+197
-275
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | 358 | | |
364 | 359 | | |
365 | 360 | | |
| |||
413 | 408 | | |
414 | 409 | | |
415 | 410 | | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
626 | 631 | | |
Submodule nativefiledialog-extended added at 6db343a
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | 261 | | |
278 | 262 | | |
279 | 263 | | |
| |||
289 | 273 | | |
290 | 274 | | |
291 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
292 | 294 | | |
293 | | - | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
294 | 302 | | |
295 | | - | |
296 | | - | |
297 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
298 | 307 | | |
299 | | - | |
300 | | - | |
301 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
302 | 311 | | |
303 | | - | |
304 | | - | |
305 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
306 | 315 | | |
307 | 316 | | |
308 | | - | |
309 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
310 | 321 | | |
311 | 322 | | |
312 | 323 | | |
| |||
0 commit comments