diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-07-20 00:59:21 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-07-20 00:59:21 +0800 |
commit | e8c3fd04f8be77b982ba5b7311a002df895fb2a5 (patch) | |
tree | a0e54c2fe386e591e886aed16fc5f34b46374990 /src | |
parent | 1340d533f6bf4e7340761040e385c3054fdb6e15 (diff) | |
download | gsoc2013-empathy-e8c3fd04f8be77b982ba5b7311a002df895fb2a5.tar gsoc2013-empathy-e8c3fd04f8be77b982ba5b7311a002df895fb2a5.tar.gz gsoc2013-empathy-e8c3fd04f8be77b982ba5b7311a002df895fb2a5.tar.bz2 gsoc2013-empathy-e8c3fd04f8be77b982ba5b7311a002df895fb2a5.tar.lz gsoc2013-empathy-e8c3fd04f8be77b982ba5b7311a002df895fb2a5.tar.xz gsoc2013-empathy-e8c3fd04f8be77b982ba5b7311a002df895fb2a5.tar.zst gsoc2013-empathy-e8c3fd04f8be77b982ba5b7311a002df895fb2a5.zip |
Display an error message if reason is != _REQUESTED instead of >
svn path=/trunk/; revision=1265
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-main-window.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index f00139be2..dbba3b46b 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -1110,10 +1110,13 @@ main_window_status_changed_cb (MissionControl *mc, 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; |