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

Make ui_handler publicly available again #1827

Merged
merged 2 commits into from
Jan 24, 2025
Merged

Make ui_handler publicly available again #1827

merged 2 commits into from
Jan 24, 2025

Conversation

mdickinson
Copy link
Member

In #1792 we made traits.trait_notifiers.ui_handler private, renaming it to _ui_handler. However, it turns out that Pyface wants to access the value of ui_handler directly, so this change breaks current Pyface.

This PR reverts that change.

Pyface code links:

@mdickinson mdickinson merged commit 347e58b into main Jan 24, 2025
29 checks passed
@mdickinson mdickinson deleted the fix/ui_handler branch January 24, 2025 20:35
mdickinson added a commit that referenced this pull request Jan 24, 2025
In #1792 we made `traits.trait_notifiers.ui_handler` private, renaming
it to `_ui_handler`. However, it turns out that Pyface wants to access
the value of `ui_handler` directly, so this change breaks current
Pyface.

This PR reverts that change.

Pyface code links:
-
https://github.com/enthought/pyface/blob/46f700999284c8104fb2a5468f549677dfadf063/pyface/ui/qt/init.py#L15
-
https://github.com/enthought/pyface/blob/46f700999284c8104fb2a5468f549677dfadf063/pyface/ui/wx/init.py#L14

(cherry picked from commit 347e58b)
mdickinson added a commit that referenced this pull request Jan 24, 2025
This PR prepares for a Traits 7.0.2 release:

* Backport PR #1827 and PR #1826
* Bump the version number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant