Bjørn Lie
7f7ec496ea
- Add gnome-control-center-reload-vpn-plugins.patch: network/connection-editor: always load all available VPN plugins (glgo#GNOME/gnome-control-center!1263). OBS-URL: https://build.opensuse.org/request/show/962297 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=473
20 lines
643 B
Diff
20 lines
643 B
Diff
Index: gnome-control-center-41.4/panels/network/connection-editor/vpn-helpers.c
|
|
===================================================================
|
|
--- gnome-control-center-41.4.orig/panels/network/connection-editor/vpn-helpers.c
|
|
+++ gnome-control-center-41.4/panels/network/connection-editor/vpn-helpers.c
|
|
@@ -53,14 +53,9 @@ _sort_vpn_plugins (NMVpnPluginInfo *aa,
|
|
GSList *
|
|
vpn_get_plugins (void)
|
|
{
|
|
- static gboolean plugins_loaded = FALSE;
|
|
static GSList *plugins = NULL;
|
|
GSList *p;
|
|
|
|
- if (G_LIKELY (plugins_loaded))
|
|
- return plugins;
|
|
- plugins_loaded = TRUE;
|
|
-
|
|
p = nm_vpn_plugin_info_list_load ();
|
|
plugins = NULL;
|
|
while (p) {
|