Skip to content

Commit

Permalink
remove unsupported options for Zenity (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
brentpicasso authored Oct 26, 2024
1 parent c9e73f3 commit f52b36b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions plyer/platforms/linux/filechooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ class ZenityFileChooser(SubprocessFileChooser):
def _gen_cmdline(self):
cmdline = [
which(self.executable),
"--file-selection",
"--confirm-overwrite"
"--file-selection"
]
if self.multiple:
cmdline += ["--multiple"]
Expand All @@ -117,10 +116,6 @@ def _gen_cmdline(self):
cmdline += ["--directory"]
if self.path:
cmdline += ["--filename", self.path]
if self.title:
cmdline += ["--name", self.title]
if self.icon:
cmdline += ["--window-icon", self.icon]
for f in self.filters:
if isinstance(f, str):
cmdline += ["--file-filter", f]
Expand Down

0 comments on commit f52b36b

Please sign in to comment.