diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-04-27 10:43:08 +0200 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2016-04-27 10:43:08 +0200 |
commit | 020e49163abd558ae095ab9a00b6b69b4fdaef2a (patch) | |
tree | 6cf263fd8dace48849d4c6815308e1f8e6b8925a /src/usb-manager.cpp | |
parent | ccfe9ef48c6e072f5d0ec9918de90213a2f4a7ee (diff) | |
download | ayatana-indicator-display-020e49163abd558ae095ab9a00b6b69b4fdaef2a.tar.gz ayatana-indicator-display-020e49163abd558ae095ab9a00b6b69b4fdaef2a.tar.bz2 ayatana-indicator-display-020e49163abd558ae095ab9a00b6b69b4fdaef2a.zip |
remove the temporary tracers
Diffstat (limited to 'src/usb-manager.cpp')
-rw-r--r-- | src/usb-manager.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/usb-manager.cpp b/src/usb-manager.cpp index ce546fe..cf3330d 100644 --- a/src/usb-manager.cpp +++ b/src/usb-manager.cpp @@ -50,9 +50,7 @@ public: }); m_greeter->state().changed().connect([this](Greeter::State /*state*/) { -g_message("%s clearing old snap, if any", G_STRLOC); clear_snap(); -g_message("%s greeter state changed; calling maybe_snap()", G_STRLOC); maybe_snap(); }); @@ -91,7 +89,7 @@ private: m_adbd_client.reset(new GAdbdClient{m_socket_path}); m_adbd_client->on_pk_request().connect( [this](const AdbdClient::PKRequest& req) { - g_message("%s got pk request: %s, calling maybe_snap()", G_STRLOC, req.fingerprint.c_str()); + g_debug("%s got pk request: %s, calling maybe_snap()", G_STRLOC, req.fingerprint.c_str()); m_req = req; maybe_snap(); } @@ -100,17 +98,14 @@ private: void maybe_snap() { -g_message("%s m_req.public_key [%s]", G_STRLOC, m_req.public_key.c_str()); // only prompt if there's something to prompt about if (m_req.public_key.empty()) return; -g_message("%s m_greeter->state() %s", G_STRLOC, Greeter::state_str(m_greeter->state().get())); // only prompt in an unlocked session if (m_greeter->state().get() != Greeter::State::INACTIVE) return; -g_message("%s calling snap!", G_STRLOC); snap(); } |