diff --git a/README.md b/README.md index 3fd301c..46ed53c 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ Dangerzone can convert these types of document into safe PDFs: - GIF (`.gif`) - PNG (`.png`) - SVG (`.svg`) -- other image formats (`.bmp`, `.pnm`, `pbm`, `ppm`) +- other image formats (`.bmp`, `.pnm`, `.pbm`, `.ppm`) Dangerzone was inspired by [Qubes trusted PDF](https://blog.invisiblethings.org/2013/02/21/converting-untrusted-pdfs-into-trusted.html), but it works in non-Qubes operating systems. It uses containers as sandboxes instead of virtual machines (using Docker for macOS and Windows, and [podman](https://podman.io/) on Linux). diff --git a/dangerzone/gui/main_window.py b/dangerzone/gui/main_window.py index 6b23f6a..b27a145 100644 --- a/dangerzone/gui/main_window.py +++ b/dangerzone/gui/main_window.py @@ -562,7 +562,9 @@ class DocSelectionWidget(QtWidgets.QWidget): hwp_filters = "" self.file_dialog.setNameFilters( [ - f"Documents (*.pdf *.docx *.doc *.docm *.xlsx *.xls *.pptx *.ppt *.odt *.odg *.odp *.ods {hwp_filters} *.epub *.jpg *.jpeg *.gif *.png *.tif *.tiff *.bpm *.pnm *.pbm *.ppm)" + "Documents (*.pdf *.docx *.doc *.docm *.xlsx *.xls *.pptx *.ppt *.odt" + f" *.odg *.odp *.ods {hwp_filters} *.epub *.jpg *.jpeg *.gif *.png" + " *.tif *.tiff *.bmp *.pnm *.pbm *.ppm *.svg)" ] )