[empathy] Utils: provide a human-readable message for CM crashes



commit 756dbf5a7a658ba472fc63ef6034d2c4d90e3260
Author: Will Thompson <will thompson collabora co uk>
Date:   Tue Sep 13 12:55:26 2011 +0100

    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>

 libempathy/empathy-utils.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index 4b5738b..4210c8e 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;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]