diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-08-04 21:22:36 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 21:19:10 +0800 |
commit | c037c417937a5a77a8c8bc168103cb3c5a19a659 (patch) | |
tree | 8ddc24e3bda2a69229b9fce7e7969ad7efcae2bd /src/empathy-account-assistant.c | |
parent | 3f21eaf356b78cd1e0a8c7d43818e85c7bc12e4a (diff) | |
download | gsoc2013-empathy-c037c417937a5a77a8c8bc168103cb3c5a19a659.tar gsoc2013-empathy-c037c417937a5a77a8c8bc168103cb3c5a19a659.tar.gz gsoc2013-empathy-c037c417937a5a77a8c8bc168103cb3c5a19a659.tar.bz2 gsoc2013-empathy-c037c417937a5a77a8c8bc168103cb3c5a19a659.tar.lz gsoc2013-empathy-c037c417937a5a77a8c8bc168103cb3c5a19a659.tar.xz gsoc2013-empathy-c037c417937a5a77a8c8bc168103cb3c5a19a659.tar.zst gsoc2013-empathy-c037c417937a5a77a8c8bc168103cb3c5a19a659.zip |
Filter out IRC and local-xmpp in the wizard
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r-- | src/empathy-account-assistant.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <glib/gi18n.h> +#include <telepathy-glib/util.h> #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; } |