From c037c417937a5a77a8c8bc168103cb3c5a19a659 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Tue, 4 Aug 2009 15:22:36 +0200 Subject: Filter out IRC and local-xmpp in the wizard --- src/empathy-account-assistant.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index 7a5f176cd..b7c5b28ed 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -21,6 +21,7 @@ /* empathy-account-assistant.c */ #include +#include #include "empathy-account-assistant.h" @@ -194,7 +195,10 @@ account_assistant_chooser_enter_details_filter_func ( TpConnectionManagerProtocol *protocol, gpointer user_data) { - /* TODO */ + if (!tp_strdiff (protocol->name, "local-xmpp") || + !tp_strdiff (protocol->name, "irc")) + return FALSE; + return TRUE; } -- cgit v1.2.3