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

installed-page: Save extension's toggle focus on state changes #773

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oscfdezdz
Copy link
Collaborator

The items-changed signal is now emitted without adding or removing items to the model from ExmManager and is connected after binding the manager in ExmInstalledPage from where the callback saves, emits items-changed adding and removing as done before in ExmManager, and restores focus.

This approach allows us to keep binding GtkListBox to the extensions model and not having to manage the changes manually.

Fix #220

The items-changed signal is now emitted without adding or removing items
to the model from ExmManager and is connected after binding the manager
in ExmInstalledPage from where the callback saves, emits items-changed
adding and removing as done before in ExmManager, and restores focus.

This approach allows us to keep binding GtkListBox to the extensions
model and not having to manage the changes manually.

Fix #220
@oscfdezdz oscfdezdz marked this pull request as ready for review February 3, 2025 15:06
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.

It will go to top on taht page when you click togle switch when it is open detail
1 participant