Skip to content

ManagerDeviceList: Expand connect/disconnect to more input methods - #3378

Open
ricmatsui wants to merge 2 commits into
blueman-project:mainfrom
ricmatsui:manager-device-list-row-activated
Open

ManagerDeviceList: Expand connect/disconnect to more input methods#3378
ricmatsui wants to merge 2 commits into
blueman-project:mainfrom
ricmatsui:manager-device-list-row-activated

Conversation

@ricmatsui

Copy link
Copy Markdown

Handle row-activated instead of two button press to support touchscreen double tap and Enter/Space in addition to double click.

https://docs.gtk.org/gtk3/signal.TreeView.row-activated.html

Handle row-activated instead of two button press to support touchscreen
double tap and Enter/Space in addition to double click.
@infirit

infirit commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

You can ignore the mypy errors, they are unrelated to your changes. I'll have to do a quick test but this looks ok to me, just a small nit on variable naming.

We have several path types, ObjectPath (str newtype for the dbus object path) and Gtk.TreePath and they can be easily confused. So please use tree_path when we're dealing with Gtk.TreePath.

Rename the tree path variables introduced in the previous commit from
"path" to "tree_path" for clarity, and the helper to _row_at_tree_path
to match.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T3w3t2L3XJWRziaAYLgdd9
@ricmatsui

Copy link
Copy Markdown
Author

Thanks for reviewing, I have made the change.

@sonarqubecloud

Copy link
Copy Markdown

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