Merge lp:~charlesk/indicator-datetime/lp-1296233-workaround-gio-wakeups into lp:indicator-datetime/14.04

Proposed by Charles Kerr
Status: Merged
Approved by: Ted Gould
Approved revision: 334
Merged at revision: 334
Proposed branch: lp:~charlesk/indicator-datetime/lp-1296233-workaround-gio-wakeups
Merge into: lp:indicator-datetime/14.04
Diff against target: 25 lines (+8/-0)
1 file modified
src/actions-live.cpp (+8/-0)
To merge this branch: bzr merge lp:~charlesk/indicator-datetime/lp-1296233-workaround-gio-wakeups
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+212728@code.launchpad.net

Commit message

Short-term workaround for the GIO GAppInfo wakeup bug discussed in bug 1296233

Description of the change

Short-term workaround for the GIO GAppInfo wakeup bug described at <https://bugs.launchpad.net/indicator-datetime/+bug/1296233/comments/4> since Ryan says there's not time to fix that for Trusty.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/actions-live.cpp'
--- src/actions-live.cpp 2014-03-22 07:25:50 +0000
+++ src/actions-live.cpp 2014-03-25 21:34:40 +0000
@@ -84,6 +84,7 @@
84 {84 {
85 inited = true;85 inited = true;
8686
87#if 0
87 auto all = g_app_info_get_all_for_type ("text/calendar");88 auto all = g_app_info_get_all_for_type ("text/calendar");
88 for(auto l=all; !have_calendar && l!=nullptr; l=l->next)89 for(auto l=all; !have_calendar && l!=nullptr; l=l->next)
89 {90 {
@@ -94,6 +95,13 @@
94 }95 }
9596
96 g_list_free_full(all, (GDestroyNotify)g_object_unref);97 g_list_free_full(all, (GDestroyNotify)g_object_unref);
98#else
99 /* Work around http://pad.lv/1296233 for Trusty...
100 let's revert this when the GIO bug is fixed. */
101 auto executable = g_find_program_in_path("evolution");
102 have_calendar = executable != nullptr;
103 g_free(executable);
104#endif
97 }105 }
98106
99 return have_calendar;107 return have_calendar;

Subscribers

People subscribed via source and target branches