aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-03-22 15:39:36 -0500
committerCharles Kerr <charles.kerr@canonical.com>2016-03-22 15:39:36 -0500
commita5f330f6b73101d7bbdeadc6a5f53b8da3349999 (patch)
tree4d8587164803466855c05ccbaf3d1652b8f99f1c /src/main.cpp
parent952552b8a92cdec3c03fec81711211d8c82c984f (diff)
downloadayatana-indicator-display-a5f330f6b73101d7bbdeadc6a5f53b8da3349999.tar.gz
ayatana-indicator-display-a5f330f6b73101d7bbdeadc6a5f53b8da3349999.tar.bz2
ayatana-indicator-display-a5f330f6b73101d7bbdeadc6a5f53b8da3349999.zip
don't show the snap decision until we're out of the greeter
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 6c111f1..52cdd58 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -64,7 +64,7 @@ main(int /*argc*/, char** /*argv*/)
static constexpr char const * PUBLIC_KEYS_FILENAME {"/data/misc/adb/adb_keys"};
auto usb_monitor = std::make_shared<GUDevUsbMonitor>();
auto greeter = std::make_shared<UnityGreeter>();
- UsbManager usb_manager {ADB_SOCKET_PATH, PUBLIC_KEYS_FILENAME, usb_monitor};
+ UsbManager usb_manager {ADB_SOCKET_PATH, PUBLIC_KEYS_FILENAME, usb_monitor, greeter};
// let's go!
g_main_loop_run(loop);