mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Merge pull request #49 from erAck/fix-odf-extensions
Fix ODF extensions .ods .odt
This commit is contained in:
commit
99dcaf7deb
2 changed files with 3 additions and 3 deletions
|
@ -35,7 +35,7 @@ class DocSelectionWidget(QtWidgets.QWidget):
|
|||
filename = QtWidgets.QFileDialog.getOpenFileName(
|
||||
self,
|
||||
"Open document",
|
||||
filter="Documents (*.pdf *.docx *.doc *.docm *.xlsx *.xls *.pptx *.ppt *.odt *.odg *.odp *.ops *.jpg *.jpeg *.gif *.png *.tif *.tiff)",
|
||||
filter="Documents (*.pdf *.docx *.doc *.docm *.xlsx *.xls *.pptx *.ppt *.odt *.odg *.odp *.ods *.jpg *.jpeg *.gif *.png *.tif *.tiff)",
|
||||
)
|
||||
if filename[0] != "":
|
||||
filename = filename[0]
|
||||
|
|
|
@ -110,7 +110,7 @@ if p == "Darwin":
|
|||
"CFBundleTypeRole": "Viewer",
|
||||
},
|
||||
{
|
||||
"CFBundleTypeExtensions": ["odg"],
|
||||
"CFBundleTypeExtensions": ["odt"],
|
||||
"CFBundleTypeIconFile": "../macos/document.icns",
|
||||
"CFBundleTypeMIMETypes": [
|
||||
"application/vnd.oasis.opendocument.text"
|
||||
|
@ -119,7 +119,7 @@ if p == "Darwin":
|
|||
"CFBundleTypeRole": "Viewer",
|
||||
},
|
||||
{
|
||||
"CFBundleTypeExtensions": ["ops"],
|
||||
"CFBundleTypeExtensions": ["ods"],
|
||||
"CFBundleTypeIconFile": "../macos/document.icns",
|
||||
"CFBundleTypeMIMETypes": [
|
||||
"application/vnd.oasis.opendocument.spreadsheet"
|
||||
|
|
Loading…
Reference in a new issue