DEBUG ("Activate event");
empathy_event_activate (event);
- /* We don't want the default handler of this signal */
+ /* We don't want the default handler of this signal
+ * (e.g. open a chat) */
g_signal_stop_emission_by_name (view, "row-activated");
break;
}
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;