]> git.0d.be Git - empathy.git/commitdiff
Utils: provide a human-readable message for CM crashes
authorWill Thompson <will.thompson@collabora.co.uk>
Tue, 13 Sep 2011 11:55:26 +0000 (12:55 +0100)
committerDanielle Madeley <danielle.madeley@collabora.co.uk>
Thu, 26 Jan 2012 03:03:45 +0000 (14:03 +1100)
https://bugzilla.gnome.org/show_bug.cgi?id=658908

Rebased-By: Danielle Madeley <danielle.madeley@collabora.co.uk>
libempathy/empathy-utils.c

index 4b5738b7a2dd45d8faaf4cf8403d90dc585e0ea3..4210c8ec8959c11c3147fc086329146975ffed9d 100644 (file)
@@ -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;
 }