]> git.0d.be Git - empathy.git/commitdiff
Filter out IRC and local-xmpp in the wizard
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 4 Aug 2009 13:22:36 +0000 (15:22 +0200)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Sat, 22 Aug 2009 13:19:10 +0000 (14:19 +0100)
src/empathy-account-assistant.c

index 7a5f176cd3b36eaa39241ece6bfb22b9f12f96aa..b7c5b28ed2a6eb4ef7766377c384fa5c6e8a3c45 100644 (file)
@@ -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;
 }