aboutsummaryrefslogtreecommitdiff
path: root/src/actions-live.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions-live.cpp')
-rw-r--r--src/actions-live.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/actions-live.cpp b/src/actions-live.cpp
index 068abe7..1f4fc8c 100644
--- a/src/actions-live.cpp
+++ b/src/actions-live.cpp
@@ -84,6 +84,7 @@ bool LiveActions::desktop_has_calendar_app() const
{
inited = true;
+#if 0
auto all = g_app_info_get_all_for_type ("text/calendar");
for(auto l=all; !have_calendar && l!=nullptr; l=l->next)
{
@@ -94,6 +95,13 @@ bool LiveActions::desktop_has_calendar_app() const
}
g_list_free_full(all, (GDestroyNotify)g_object_unref);
+#else
+ /* Work around http://pad.lv/1296233 for Trusty...
+ let's revert this when the GIO bug is fixed. */
+ auto executable = g_find_program_in_path("evolution");
+ have_calendar = executable != nullptr;
+ g_free(executable);
+#endif
}
return have_calendar;