diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-10-10 12:21:49 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-10-10 12:21:49 +0200 |
commit | a6635f03b72a81151f55c2fb9f6dbb0c8bb806aa (patch) | |
tree | 9216706d6b4233e0f72414aaaefd85c8b9da4bba /src/main.cpp | |
parent | 0713c69189ead3be8b1946a004fcd99275834c47 (diff) | |
parent | 15d318fe93fb8419b1f03052f62c8feceb45356b (diff) | |
download | ayatana-indicator-display-a6635f03b72a81151f55c2fb9f6dbb0c8bb806aa.tar.gz ayatana-indicator-display-a6635f03b72a81151f55c2fb9f6dbb0c8bb806aa.tar.bz2 ayatana-indicator-display-a6635f03b72a81151f55c2fb9f6dbb0c8bb806aa.zip |
Merge branch 'tari01-pr/rename-to-display'
Attributes GH PR #78: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/78
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 03c72c6..49832c6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,6 @@ /* * Copyright 2014 Canonical Ltd. - * Copyright 2022 Robert Tari + * Copyright 2022-2023 Robert Tari * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License version 3, as published @@ -20,7 +20,7 @@ */ #include <src/exporter.h> -#include <src/rotation-lock.h> +#include <src/service.h> #ifdef LOMIRI_FEATURES_ENABLED #include <src/greeter.h> @@ -57,11 +57,9 @@ main(int /*argc*/, char** /*argv*/) g_main_loop_quit(loop); }; - // build all our indicators. - // Right now we've only got one -- rotation lock -- but hey, we can dream. std::vector<std::shared_ptr<Indicator>> indicators; std::vector<std::shared_ptr<Exporter>> exporters; - indicators.push_back(std::make_shared<RotationLockIndicator>()); + indicators.push_back(std::make_shared<DisplayIndicator>()); for (auto& indicator : indicators) { auto exporter = std::make_shared<Exporter>(indicator); exporter->name_lost().connect(on_name_lost); |