projects
/
empathy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1340d53
)
Display an error message if reason is != _REQUESTED instead of >
author
Xavier Claessens
<xclaesse@src.gnome.org>
Sat, 19 Jul 2008 16:59:21 +0000
(16:59 +0000)
committer
Xavier Claessens
<xclaesse@src.gnome.org>
Sat, 19 Jul 2008 16:59:21 +0000
(16:59 +0000)
svn path=/trunk/; revision=1265
src/empathy-main-window.c
patch
|
blob
|
history
diff --git
a/src/empathy-main-window.c
b/src/empathy-main-window.c
index
f00139b
..
dbba3b4
100644
(file)
--- 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;