Skip to content

Conversation

@sezero
Copy link
Contributor

@sezero sezero commented Oct 5, 2025

Reference issue: #14140

This doesn't detect pressed button id, limited to the 'OK' button,
and potentially does not use (correct) user-provided button label.

However, current distros all provide new-enough zenity versions,
so the issues mentioned above are actually non-issues.

@eafton
Copy link
Contributor

eafton commented Oct 5, 2025

I think we should just fallback to the toolkit if the user has a very old version of Zenity.

@sezero sezero changed the title SDL_zenitymessagebox.c, SDL_zenitydialog.c: support old zenity versions zenity dialog: make sure that --modal --attach switches are supported. Oct 5, 2025
@sezero
Copy link
Contributor Author

sezero commented Oct 5, 2025

OK, dropped old zenity support from zenity messagebox. Only making sure that --modal --attach switches are supported in zenitydialog now. What do you think?

@eafton
Copy link
Contributor

eafton commented Oct 5, 2025

OK, dropped old zenity support from zenity messagebox. Only making sure that --modal --attach switches are supported in zenitydialog now. What do you think?

Looks good.

@sezero sezero merged commit 6c3cc35 into libsdl-org:main Oct 5, 2025
43 checks passed
@sezero sezero deleted the zenity-2 branch October 5, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants