diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-11 22:26:36 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-12 00:01:38 +0800 |
commit | 438199f57bc03b42aae12a18888c73597b04c1ec (patch) | |
tree | b1e60b2b781b40daf149eeff0245761b325eb733 /src | |
parent | 0110d107dcb0539355ca634498bd133b0161d4f6 (diff) | |
download | gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.gz gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.bz2 gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.lz gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.xz gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.tar.zst gsoc2013-empathy-438199f57bc03b42aae12a18888c73597b04c1ec.zip |
assistant: filter out facebook from the new account page
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-account-assistant.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c index 99c505b36..f3cfc1f2a 100644 --- a/src/empathy-account-assistant.c +++ b/src/empathy-account-assistant.c @@ -459,6 +459,7 @@ account_assistant_chooser_enter_details_filter_func ( TpConnectionManager *cm, TpConnectionManagerProtocol *protocol, gboolean is_gtalk, + gboolean is_facebook, gpointer user_data) { if (!tp_strdiff (protocol->name, "local-xmpp") || @@ -473,9 +474,10 @@ account_assistant_chooser_create_account_filter_func ( TpConnectionManager *cm, TpConnectionManagerProtocol *protocol, gboolean is_gtalk, + gboolean is_facebook, gpointer user_data) { - if (is_gtalk) + if (is_gtalk || is_facebook) return FALSE; return tp_connection_manager_protocol_can_register (protocol); |