aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-09-13 19:55:26 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2012-01-26 11:03:45 +0800
commit756dbf5a7a658ba472fc63ef6034d2c4d90e3260 (patch)
tree437d084eaaebe8c0cd1e098bc5d9cb1ddf6ff442
parentddd8a9a000833d87260f81c4459063b32e2e14e7 (diff)
downloadgsoc2013-empathy-756dbf5a7a658ba472fc63ef6034d2c4d90e3260.tar
gsoc2013-empathy-756dbf5a7a658ba472fc63ef6034d2c4d90e3260.tar.gz
gsoc2013-empathy-756dbf5a7a658ba472fc63ef6034d2c4d90e3260.tar.bz2
gsoc2013-empathy-756dbf5a7a658ba472fc63ef6034d2c4d90e3260.tar.lz
gsoc2013-empathy-756dbf5a7a658ba472fc63ef6034d2c4d90e3260.tar.xz
gsoc2013-empathy-756dbf5a7a658ba472fc63ef6034d2c4d90e3260.tar.zst
gsoc2013-empathy-756dbf5a7a658ba472fc63ef6034d2c4d90e3260.zip
Utils: provide a human-readable message for CM crashes
https://bugzilla.gnome.org/show_bug.cgi?id=658908 Rebased-By: Danielle Madeley <danielle.madeley@collabora.co.uk>
-rw-r--r--libempathy/empathy-utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 4b5738b7a..4210c8ec8 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -40,6 +40,8 @@
#include <folks/folks.h>
#include <folks/folks-telepathy.h>
+#include <dbus/dbus-protocol.h>
+
#include <telepathy-glib/account-manager.h>
#include <telepathy-glib/connection.h>
#include <telepathy-glib/channel.h>
@@ -369,6 +371,8 @@ create_errors_to_message_hash (void)
"cryptography library"));
g_hash_table_insert (errors, TP_ERROR_STR_SOFTWARE_UPGRADE_REQUIRED,
_("Your software is too old"));
+ g_hash_table_insert (errors, DBUS_ERROR_NO_REPLY,
+ _("Internal error"));
return errors;
}