[empathy/mc5] Filter out IRC and local-xmpp in the wizard
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5] Filter out IRC and local-xmpp in the wizard
- Date: Sat, 22 Aug 2009 18:51:43 +0000 (UTC)
commit c037c417937a5a77a8c8bc168103cb3c5a19a659
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Aug 4 15:22:36 2009 +0200
Filter out IRC and local-xmpp in the wizard
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 7a5f176..b7c5b28 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]