aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-06 23:42:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 23:57:57 +0800
commit682328cded9d509f121fcd0fc550919e9532ffb9 (patch)
treefb98bfd0227a82ea4790073347f39c45859d442c /doc
parent427d93b3dfab0e7fcf3ac820dbce2d2f182a9b19 (diff)
downloadgsoc2013-evolution-682328cded9d509f121fcd0fc550919e9532ffb9.tar
gsoc2013-evolution-682328cded9d509f121fcd0fc550919e9532ffb9.tar.gz
gsoc2013-evolution-682328cded9d509f121fcd0fc550919e9532ffb9.tar.bz2
gsoc2013-evolution-682328cded9d509f121fcd0fc550919e9532ffb9.tar.lz
gsoc2013-evolution-682328cded9d509f121fcd0fc550919e9532ffb9.tar.xz
gsoc2013-evolution-682328cded9d509f121fcd0fc550919e9532ffb9.tar.zst
gsoc2013-evolution-682328cded9d509f121fcd0fc550919e9532ffb9.zip
Add e_activity_get_last_known_text().
Evolution is still occasionally getting stuck on shutdown, and although the evolution-shell log domain shows debug messages for activities that are preventing shutdown, they frequently look like this: (evolution:13534): evolution-shell-DEBUG: 5 active 'mail' activities: (evolution:13534): evolution-shell-DEBUG: * (no description) (evolution:13534): evolution-shell-DEBUG: * (no description) (evolution:13534): evolution-shell-DEBUG: * (no description) (evolution:13534): evolution-shell-DEBUG: * (no description) (evolution:13534): evolution-shell-DEBUG: * (no description) I think the lack of descriptions is from CamelOperations popping all their pushed messages, which is correct behavior but doesn't help us debug the problem. e_activity_get_last_known_text() returns the most recent _non-empty_ text value set on the EActivity. So our debug message can fall back to that if the EActivity has no description at shutdown: (evolution:13534): evolution-shell-DEBUG: * (was "blah, blah, blah")
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index 7ea056988f..8e0c917638 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -43,6 +43,7 @@ e_activity_get_state
e_activity_set_state
e_activity_get_text
e_activity_set_text
+e_activity_get_last_known_text
e_activity_handle_cancellation
<SUBSECTION Standard>
E_ACTIVITY