[empathy/gnome-3-4] empathy: use tp_account_manager_enable_restart()
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-3-4] empathy: use tp_account_manager_enable_restart()
- Date: Tue, 17 Jul 2012 15:17:35 +0000 (UTC)
commit 2f76207f3dd76b12a0273e906279024eb4c04199
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Tue Jul 17 16:14:47 2012 +0200
empathy: use tp_account_manager_enable_restart()
If for some reason MC crashes we should restart it right away. Ideally this
should be done by the Shell (#680099) but it's good to have in Empathy as
well.
src/empathy.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy.c b/src/empathy.c
index b06b595..266e83f 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -779,6 +779,8 @@ empathy_app_constructed (GObject *object)
tp_proxy_prepare_async (self->account_manager, NULL,
account_manager_ready_cb, self);
+ tp_account_manager_enable_restart (self->account_manager);
+
migrate_config_to_xdg_dir ();
/* Logging */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]