From 4ed88cebf36575508f7eb7931b9f46b8f661a60e Mon Sep 17 00:00:00 2001 From: Alban Browaeys Date: Wed, 31 Aug 2011 15:13:33 +0200 Subject: import: prevent haze to be used for irc Prevent haze to be used for irc even if sole connection manager to support it. Reworked by Guillaume Desmottes . https://bugzilla.gnome.org/show_bug.cgi?id=657818 --- src/empathy-import-utils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/empathy-import-utils.c b/src/empathy-import-utils.c index 7e69d6235..bf7f29e3b 100644 --- a/src/empathy-import-utils.c +++ b/src/empathy-import-utils.c @@ -96,6 +96,10 @@ empathy_import_protocol_is_supported (const gchar *protocol, if (tp_connection_manager_has_protocol (tp_cm, (const gchar*) protocol)) { + if (!tp_strdiff (protocol, "irc") + && !tp_strdiff (tp_cm->name, "haze")) + continue; + if (!proto_is_supported) { *cm = tp_cm; -- cgit v1.2.3