aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-account-assistant.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-08-04 21:22:36 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-22 21:19:10 +0800
commitc037c417937a5a77a8c8bc168103cb3c5a19a659 (patch)
tree8ddc24e3bda2a69229b9fce7e7969ad7efcae2bd /src/empathy-account-assistant.c
parent3f21eaf356b78cd1e0a8c7d43818e85c7bc12e4a (diff)
downloadgsoc2013-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.c6
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;
}