Skip to content

network: Remove stale wireguard connections#13847

Open
leigh123linux wants to merge 1 commit into
linuxmint:masterfrom
leigh123linux:network-wireguard
Open

network: Remove stale wireguard connections#13847
leigh123linux wants to merge 1 commit into
linuxmint:masterfrom
leigh123linux:network-wireguard

Conversation

@leigh123linux

@leigh123linux leigh123linux commented Jul 4, 2026

Copy link
Copy Markdown
Member

Fixes WireGuard connections lingering in the Cinnamon Network Manager applet by ensuring WireGuard entries are removed and the WireGuard section is hidden when it becomes empty.

Changes:

Handle NMConnectionCategory.WIREGUARD in _connectionRemoved() by removing the connection from the WireGuard device list.
Hide the WireGuard menu section when no WireGuard connections remain.

Fixes #12581

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes WireGuard connections lingering in the Cinnamon Network Manager applet by ensuring WireGuard entries are removed and the WireGuard section is hidden when it becomes empty.

Changes:

  • Handle NMConnectionCategory.WIREGUARD in _connectionRemoved() by removing the connection from the WireGuard device list.
  • Hide the WireGuard menu section when no WireGuard connections remain.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread files/usr/share/cinnamon/applets/network@cinnamon.org/applet.js Outdated
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.

Network Manager Applet does not clear closed Wireguard connections

2 participants