aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-08-22 12:15:06 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-08-22 12:15:06 +0200
commit0fdd09d6acfe79db7c37b749c350f5bd85eb0663 (patch)
treeca7d99fa829a86bb4eb9f81c82200bd9f6ec5e48
parent01181a508dd51d2177d8a519a10774a8b7c52bb2 (diff)
parent9a324475378eaec6e2c043455124b7b033ea1d47 (diff)
downloadayatana-indicator-display-0fdd09d6acfe79db7c37b749c350f5bd85eb0663.tar.gz
ayatana-indicator-display-0fdd09d6acfe79db7c37b749c350f5bd85eb0663.tar.bz2
ayatana-indicator-display-0fdd09d6acfe79db7c37b749c350f5bd85eb0663.zip
Merge branch 'tari01-pr/duplicate-code'
Attributes GH PR #103: https://github.com/AyatanaIndicators/ayatana-indicator-display/pull/103
-rw-r--r--src/service.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/service.cpp b/src/service.cpp
index 43bf9d6..48fa39f 100644
--- a/src/service.cpp
+++ b/src/service.cpp
@@ -1138,7 +1138,6 @@ private:
pIconMaxSerialised = g_icon_serialize (pIconMax);
menu_item = g_menu_item_new (_("Color temperature"), "indicator.color-temp");
g_menu_item_set_attribute (menu_item, "x-ayatana-type", "s", "org.ayatana.indicator.slider");
- g_menu_item_set_attribute (menu_item, "x-ayatana-type", "s", "org.ayatana.indicator.slider");
g_menu_item_set_attribute_value (menu_item, "min-icon", pIconMinSerialised);
g_menu_item_set_attribute_value (menu_item, "max-icon", pIconMaxSerialised);
g_menu_item_set_attribute (menu_item, "min-value", "d", 3000.0);