Skip to content

Comments

Fix for loading NmaCertChooser or NMACertChooser based VPN plugins#376

Open
dkosovic wants to merge 1 commit intolinuxmint:masterfrom
dkosovic:libnma-nmacertchooser
Open

Fix for loading NmaCertChooser or NMACertChooser based VPN plugins#376
dkosovic wants to merge 1 commit intolinuxmint:masterfrom
dkosovic:libnma-nmacertchooser

Conversation

@dkosovic
Copy link
Contributor

@dkosovic dkosovic commented Feb 22, 2026

Link cinnamon-control-center against libnma.

Calls g_type_ensure(NMA_TYPE_CERT_CHOOSER) before load_panel_plugins(), ensuring both "NMACertChooser" and "NmaCertChooser" are registered in the global GType table before any VPN plugin is ever opened.

Fixes #319

…MACertChooser

Link cinamon-control-center against libnma.

Calls g_type_ensure(NMA_TYPE_CERT_CHOOSER) before load_panel_plugins(), ensuring
both "NMACertChooser" and "NmaCertChooser" are registered in the global GType table
before any VPN plugin is ever opened.

Fixes linuxmint#319
@dkosovic
Copy link
Contributor Author

With the g_type_ensure(NMA_TYPE_CERT_CHOOSER) call in shell/cinnamon-control-center.c‎, both "NMACertChooser" and "NmaCertChooser" based VPN clients are able to loaded.

If the g_type_ensure(NMA_TYPE_CERT_CHOOSER) call is placed much later in another file, then only the VPN clients that use "NMACertChooser" in their ui files are able to be loaded, not those that use "NmaCertChooser".

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.

Error: unable to load VPN connection editor

1 participant