empathy r1265 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1265 - trunk/src
- Date: Sat, 19 Jul 2008 16:59:21 +0000 (UTC)
Author: xclaesse
Date: Sat Jul 19 16:59:21 2008
New Revision: 1265
URL: http://svn.gnome.org/viewvc/empathy?rev=1265&view=rev
Log:
Display an error message if reason is != _REQUESTED instead of >
Modified:
trunk/src/empathy-main-window.c
Modified: trunk/src/empathy-main-window.c
==============================================================================
--- trunk/src/empathy-main-window.c (original)
+++ trunk/src/empathy-main-window.c Sat Jul 19 16:59:21 2008
@@ -1110,10 +1110,13 @@
account = mc_account_lookup (unique_name);
if (status == TP_CONNECTION_STATUS_DISCONNECTED &&
- reason > TP_CONNECTION_STATUS_REASON_REQUESTED) {
+ reason != TP_CONNECTION_STATUS_REASON_REQUESTED) {
const gchar *message;
switch (reason) {
+ case TP_CONNECTION_STATUS_REASON_NONE_SPECIFIED:
+ message = _("No error specified");
+ break;
case TP_CONNECTION_STATUS_REASON_NETWORK_ERROR:
message = _("Network error");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]