[gnome-shell] network: don't ask for always-ask secrets when interaction isn't allowed



commit 2b2a235a49a5b34b9fe51128275d024eb272cbbe
Author: Dan Williams <dcbw redhat com>
Date:   Thu Jun 28 17:07:42 2012 -0500

    network: don't ask for always-ask secrets when interaction isn't allowed
    
    Clearly a typo...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679091

 src/shell-network-agent.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-network-agent.c b/src/shell-network-agent.c
index ca60539..c8d3a98 100644
--- a/src/shell-network-agent.c
+++ b/src/shell-network-agent.c
@@ -406,7 +406,7 @@ shell_network_agent_get_secrets (NMSecretAgent                 *agent,
   g_hash_table_replace (self->priv->requests, request->request_id, request);
 
   if ((flags & NM_SECRET_AGENT_GET_SECRETS_FLAG_REQUEST_NEW) ||
-      (flags && NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION
+      ((flags & NM_SECRET_AGENT_GET_SECRETS_FLAG_ALLOW_INTERACTION)
        && is_connection_always_ask (request->connection)))
     {
       request_secrets_from_ui (request);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]