Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:D
NetworkManager-applet
NetworkManager-gnome-bsc1003069-default-agent-o...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File NetworkManager-gnome-bsc1003069-default-agent-owned-secrets.patch of Package NetworkManager-applet
Index: network-manager-applet-1.8.22/src/libnm-gtk/nm-ui-utils.c =================================================================== --- network-manager-applet-1.8.22.orig/src/libnm-gtk/nm-ui-utils.c 2019-03-29 15:00:12.000000000 +0100 +++ network-manager-applet-1.8.22/src/libnm-gtk/nm-ui-utils.c 2019-05-29 23:05:47.795471475 +0200 @@ -868,8 +868,10 @@ nma_utils_setup_password_storage (GtkWid gtk_menu_attach_to_widget (GTK_MENU (popup_menu), passwd_entry, NULL); /* Initialize active item for password-storage popup menu */ - if (setting && password_flags_name) - nm_setting_get_secret_flags (setting, password_flags_name, &secret_flags, NULL); + if (setting && password_flags_name) { + if (!nm_setting_get_secret_flags (setting, password_flags_name, &secret_flags, NULL)) + secret_flags = initial_flags; + } else secret_flags = initial_flags; Index: network-manager-applet-1.8.22/src/wireless-security/eap-method-leap.c =================================================================== --- network-manager-applet-1.8.22.orig/src/wireless-security/eap-method-leap.c 2019-03-29 15:00:12.000000000 +0100 +++ network-manager-applet-1.8.22/src/wireless-security/eap-method-leap.c 2019-05-29 23:05:47.795471475 +0200 @@ -241,7 +241,7 @@ eap_method_leap_new (WirelessSecurity *w /* Create password-storage popup menu for password entry under entry's secondary icon */ if (connection) s_8021x = nm_connection_get_setting_802_1x (connection); - nma_utils_setup_password_storage (widget, 0, (NMSetting *) s_8021x, method->password_flags_name, + nma_utils_setup_password_storage (widget, NM_SETTING_SECRET_FLAG_AGENT_OWNED, (NMSetting *) s_8021x, method->password_flags_name, FALSE, secrets_only); widget = GTK_WIDGET (gtk_builder_get_object (parent->builder, "show_checkbutton_eapleap")); Index: network-manager-applet-1.8.22/src/wireless-security/eap-method-simple.c =================================================================== --- network-manager-applet-1.8.22.orig/src/wireless-security/eap-method-simple.c 2019-05-24 11:49:21.000000000 +0200 +++ network-manager-applet-1.8.22/src/wireless-security/eap-method-simple.c 2019-05-29 23:05:47.795471475 +0200 @@ -431,7 +431,7 @@ eap_method_simple_new (WirelessSecurity /* Create password-storage popup menu for password entry under entry's secondary icon */ if (connection) s_8021x = nm_connection_get_setting_802_1x (connection); - nma_utils_setup_password_storage (widget, 0, (NMSetting *) s_8021x, method->password_flags_name, + nma_utils_setup_password_storage (widget, NM_SETTING_SECRET_FLAG_AGENT_OWNED, (NMSetting *) s_8021x, method->password_flags_name, FALSE, flags & EAP_METHOD_SIMPLE_FLAG_SECRETS_ONLY); g_signal_connect (method->password_entry, "notify::secondary-icon-name", Index: network-manager-applet-1.8.22/src/wireless-security/ws-leap.c =================================================================== --- network-manager-applet-1.8.22.orig/src/wireless-security/ws-leap.c 2019-05-24 11:49:21.000000000 +0200 +++ network-manager-applet-1.8.22/src/wireless-security/ws-leap.c 2019-05-29 23:05:47.795471475 +0200 @@ -192,7 +192,7 @@ ws_leap_new (NMConnection *connection, g sec); /* Create password-storage popup menu for password entry under entry's secondary icon */ - nma_utils_setup_password_storage (widget, 0, (NMSetting *) wsec, sec->password_flags_name, + nma_utils_setup_password_storage (widget, NM_SETTING_SECRET_FLAG_AGENT_OWNED, (NMSetting *) wsec, sec->password_flags_name, FALSE, secrets_only); if (wsec) Index: network-manager-applet-1.8.22/src/wireless-security/ws-wep-key.c =================================================================== --- network-manager-applet-1.8.22.orig/src/wireless-security/ws-wep-key.c 2019-05-24 11:49:21.000000000 +0200 +++ network-manager-applet-1.8.22/src/wireless-security/ws-wep-key.c 2019-05-29 23:05:47.795471475 +0200 @@ -286,7 +286,7 @@ ws_wep_key_new (NMConnection *connection /* Create password-storage popup menu for password entry under entry's secondary icon */ if (connection) setting = (NMSetting *) nm_connection_get_setting_wireless_security (connection); - nma_utils_setup_password_storage (widget, 0, setting, sec->password_flags_name, + nma_utils_setup_password_storage (widget, NM_SETTING_SECRET_FLAG_AGENT_OWNED, setting, sec->password_flags_name, FALSE, secrets_only); if (connection) { Index: network-manager-applet-1.8.22/src/wireless-security/ws-wpa-psk.c =================================================================== --- network-manager-applet-1.8.22.orig/src/wireless-security/ws-wpa-psk.c 2019-05-24 11:49:21.000000000 +0200 +++ network-manager-applet-1.8.22/src/wireless-security/ws-wpa-psk.c 2019-05-29 23:05:47.795471475 +0200 @@ -207,7 +207,7 @@ ws_wpa_psk_new (NMConnection *connection /* Create password-storage popup menu for password entry under entry's secondary icon */ if (connection) setting = (NMSetting *) nm_connection_get_setting_wireless_security (connection); - nma_utils_setup_password_storage (widget, 0, setting, sec->password_flags_name, + nma_utils_setup_password_storage (widget, NM_SETTING_SECRET_FLAG_AGENT_OWNED, setting, sec->password_flags_name, FALSE, secrets_only); /* Fill secrets, if any */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor