mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Rename "open_find_viewer" to "open_pdf_viewer"
This commit is contained in:
parent
f3cc500886
commit
d01f2eedea
2 changed files with 2 additions and 2 deletions
|
@ -269,7 +269,7 @@ class Common(object):
|
||||||
path = self.get_resource_path("logo.png")
|
path = self.get_resource_path("logo.png")
|
||||||
return QtGui.QIcon(path)
|
return QtGui.QIcon(path)
|
||||||
|
|
||||||
def open_find_viewer(self, filename):
|
def open_pdf_viewer(self, filename):
|
||||||
if self.settings.get("open_app") in self.pdf_viewers:
|
if self.settings.get("open_app") in self.pdf_viewers:
|
||||||
if platform.system() == "Darwin":
|
if platform.system() == "Darwin":
|
||||||
# Get the PDF reader bundle command
|
# Get the PDF reader bundle command
|
||||||
|
|
|
@ -99,7 +99,7 @@ class TasksWidget(QtWidgets.QWidget):
|
||||||
|
|
||||||
# Open
|
# Open
|
||||||
if self.common.settings.get("open"):
|
if self.common.settings.get("open"):
|
||||||
self.common.open_find_viewer(dest_filename)
|
self.common.open_pdf_viewer(dest_filename)
|
||||||
|
|
||||||
# Clean up
|
# Clean up
|
||||||
self.common.pixel_dir.cleanup()
|
self.common.pixel_dir.cleanup()
|
||||||
|
|
Loading…
Reference in a new issue