Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable thonny to open and save files with zenity 3.91+ #2786

Merged
merged 1 commit into from May 25, 2023

Conversation

befeleme
Copy link
Contributor

Based on the man pages of zenity and my own testing with zenity 3.91 and 3.92 on Fedora Linux 38, this is the minimum required to open and save files in the Gnome environment. Disclaimer: this was crafted using the trial & error method and I can't really tell whether this is a proper way to fix the issue long-term. Any guidance here will be much appreciated.

  • Removed --attach, --name and --class options which are no longer recognized.

  • Removed the deprecated option --confirm-overwrite (man zenity 3.92.0): --confirm-overwrite DEPRECATED; does nothing

Fixes: #2750

- Removed `--attach`, `--name` and `--class` options which are no longer
  recognized.

- Removed the deprecated option `--confirm-overwrite` (man zenity 3.92.0):
    --confirm-overwrite
        DEPRECATED; does nothing
@aivarannamaa aivarannamaa merged commit e8fc34f into thonny:master May 25, 2023
@aivarannamaa
Copy link
Member

Thanks!

In the long run I have plans to implement a custom file picker for Linux, so your solution is good for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

thonny 4.0.2: dialogs for opening/saving files don't work with zenity 3.91
2 participants