aboutsummaryrefslogtreecommitdiff
path: root/src/menu.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 13:41:39 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 13:41:39 +0100
commitb7950517a055b6aee4d0806e32dbd466a6ae59d0 (patch)
treed10281b8d1c2221e25d1e0c159884df0ffda520a /src/menu.cpp
parentdabd7c8c65ef0132dbf75360ae83e9505cbe614d (diff)
downloadayatana-indicator-datetime-b7950517a055b6aee4d0806e32dbd466a6ae59d0.tar.gz
ayatana-indicator-datetime-b7950517a055b6aee4d0806e32dbd466a6ae59d0.tar.bz2
ayatana-indicator-datetime-b7950517a055b6aee4d0806e32dbd466a6ae59d0.zip
README.md: Add some manual line breaks.
Diffstat (limited to 'src/menu.cpp')
-rw-r--r--src/menu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/menu.cpp b/src/menu.cpp
index 9d229c6..c778963 100644
--- a/src/menu.cpp
+++ b/src/menu.cpp
@@ -160,7 +160,7 @@ protected:
for(const auto& a : m_state->calendar_upcoming->appointments().get())
if (begin <= a.begin)
upcoming.push_back(a);
-
+
if (m_upcoming != upcoming)
{
m_upcoming.swap(upcoming);
@@ -324,7 +324,7 @@ private:
if (appt.is_ubuntu_alarm())
{
- g_menu_item_set_attribute (menu_item, "x-canonical-type", "s", "com.canonical.indicator.alarm");
+ g_menu_item_set_attribute (menu_item, "x-canonical-type", "s", "org.ayatana.indicator.alarm");
g_menu_item_set_attribute_value(menu_item, G_MENU_ATTRIBUTE_ICON, get_serialized_alarm_icon());
}
else
@@ -605,7 +605,7 @@ MenuFactory::buildMenu(Menu::Profile profile)
g_warn_if_reached();
break;
}
-
+
return menu;
}