aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-10 13:21:27 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-11-10 13:21:27 +0100
commit7d12d6eb979fac1207520f949c75ee1035f5c32d (patch)
treec90aa5a5a37ca5b804d4d95585c1690f0e9451e4
parent6b381ed8d4ada2b284fbfbcfd66bc26bf8fe4085 (diff)
parente61cc79af79d6d09cc61a0d987f38831dff8d300 (diff)
downloadayatana-indicator-display-7d12d6eb979fac1207520f949c75ee1035f5c32d.tar.gz
ayatana-indicator-display-7d12d6eb979fac1207520f949c75ee1035f5c32d.tar.bz2
ayatana-indicator-display-7d12d6eb979fac1207520f949c75ee1035f5c32d.zip
Merge branch 'tari01-pr/rename-to-x-lomiri'
Attributes GH PR #38: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/38
-rw-r--r--src/usb-snap.cpp6
-rw-r--r--tests/integration/usb-manager-test.cpp6
-rw-r--r--tests/unit/usb-snap-test.cpp6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/usb-snap.cpp b/src/usb-snap.cpp
index e05062c..21ca38d 100644
--- a/src/usb-snap.cpp
+++ b/src/usb-snap.cpp
@@ -115,9 +115,9 @@ private:
GVariantBuilder hints_builder;
g_variant_builder_init(&hints_builder, G_VARIANT_TYPE_VARDICT);
- g_variant_builder_add(&hints_builder, "{sv}", "x-ayatana-non-shaped-icon", g_variant_new_string("true"));
- g_variant_builder_add(&hints_builder, "{sv}", "x-ayatana-snap-decisions", g_variant_new_string("true"));
- g_variant_builder_add(&hints_builder, "{sv}", "x-ayatana-private-affirmative-tint", g_variant_new_string("true"));
+ g_variant_builder_add(&hints_builder, "{sv}", "x-lomiri-non-shaped-icon", g_variant_new_string("true"));
+ g_variant_builder_add(&hints_builder, "{sv}", "x-lomiri-snap-decisions", g_variant_new_string("true"));
+ g_variant_builder_add(&hints_builder, "{sv}", "x-lomiri-private-affirmative-tint", g_variant_new_string("true"));
auto args = g_variant_new("(susssasa{sv}i)",
"",
diff --git a/tests/integration/usb-manager-test.cpp b/tests/integration/usb-manager-test.cpp
index 2f1c51e..392fe19 100644
--- a/tests/integration/usb-manager-test.cpp
+++ b/tests/integration/usb-manager-test.cpp
@@ -131,9 +131,9 @@ TEST_F(UsbManagerFixture, Allow)
QVariantMap hints;
ASSERT_TRUE(qDBusArgumentToMap(args.at(6), hints));
ASSERT_EQ(3, hints.size());
- ASSERT_TRUE(hints.contains("x-ayatana-private-affirmative-tint"));
- ASSERT_TRUE(hints.contains("x-ayatana-non-shaped-icon"));
- ASSERT_TRUE(hints.contains("x-ayatana-snap-decisions"));
+ ASSERT_TRUE(hints.contains("x-lomiri-private-affirmative-tint"));
+ ASSERT_TRUE(hints.contains("x-lomiri-non-shaped-icon"));
+ ASSERT_TRUE(hints.contains("x-lomiri-snap-decisions"));
}
notificationsSpy.clear();
diff --git a/tests/unit/usb-snap-test.cpp b/tests/unit/usb-snap-test.cpp
index a740265..05c797d 100644
--- a/tests/unit/usb-snap-test.cpp
+++ b/tests/unit/usb-snap-test.cpp
@@ -112,9 +112,9 @@ TEST_F(UsbSnapFixture, TestRoundTrip)
QVariantMap hints;
ASSERT_TRUE(qDBusArgumentToMap(args.at(6), hints));
ASSERT_EQ(3, hints.size());
- ASSERT_TRUE(hints.contains("x-ayatana-private-affirmative-tint"));
- ASSERT_TRUE(hints.contains("x-ayatana-non-shaped-icon"));
- ASSERT_TRUE(hints.contains("x-ayatana-snap-decisions"));
+ ASSERT_TRUE(hints.contains("x-lomiri-private-affirmative-tint"));
+ ASSERT_TRUE(hints.contains("x-lomiri-non-shaped-icon"));
+ ASSERT_TRUE(hints.contains("x-lomiri-snap-decisions"));
}
notificationsSpy.clear();