summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Šimerda <psimerda@redhat.com>2014-12-27 20:01:28 +0100
committerPavel Šimerda <psimerda@redhat.com>2015-02-07 20:37:38 +0100
commit813e0a4286af4118f4c9dfd5a467fcfa2a246f9d (patch)
tree379e017be4d229d105fc79473d75632fdc530fdc
parente4dad300675c92379396825a60a3dd3c91c59d30 (diff)
downloadNetworkManager-pavlix/session.tar.gz
settings: don't enforce user sessionpavlix/session
Connection visibility should not be affected by the absence of a user session tracked by logind or consolekit. Note: I haven't noticed any impact of the user session check on nm-applet.
-rw-r--r--src/settings/nm-settings-connection.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/settings/nm-settings-connection.c b/src/settings/nm-settings-connection.c
index ef993c39c4..a088ae04d5 100644
--- a/src/settings/nm-settings-connection.c
+++ b/src/settings/nm-settings-connection.c
@@ -273,8 +273,6 @@ nm_settings_connection_recheck_visibility (NMSettingsConnection *self)
continue;
if (!nm_session_monitor_user_to_uid (user, &uid))
continue;
- if (!nm_session_monitor_session_exists (uid, FALSE))
- continue;
set_visible (self, TRUE);
return;