Skip to content

Commit 16b5f6b

Browse files
committed
networkAgent.js: Fix plugin property lookup
The section in nm-openvpn-service.name, provided by network-manager-openvpn, is specifically called GNOME. [GNOME] auth-dialog=/usr/libexec/nm-openvpn-auth-dialog properties=libnm-openvpn-properties supports-external-ui-mode=true supports-hints=true This commit is necessary for the Clutter agent to show up. Note also that the GTK agent won't show up if nm-applet is blacklisted (by cinnamon-session).
1 parent 16cf990 commit 16b5f6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/ui/networkAgent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ var NetworkAgent = class {
764764
return null;
765765
}
766766

767-
const prop = plugin.lookup_property('CINNAMON', 'supports-external-ui-mode');
767+
const prop = plugin.lookup_property('GNOME', 'supports-external-ui-mode');
768768
const trimmedProp = prop ? prop.trim().toLowerCase() : '';
769769

770770
return {

0 commit comments

Comments
 (0)