[empathy] import: prevent haze to be used for irc
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] import: prevent haze to be used for irc
- Date: Tue, 6 Sep 2011 16:50:19 +0000 (UTC)
commit 4ed88cebf36575508f7eb7931b9f46b8f661a60e
Author: Alban Browaeys <prahal yahoo com>
Date: Wed Aug 31 15:13:33 2011 +0200
import: prevent haze to be used for irc
Prevent haze to be used for irc even if sole connection
manager to support it.
Reworked by Guillaume Desmottes <gdesmott gnome org> .
https://bugzilla.gnome.org/show_bug.cgi?id=657818
src/empathy-import-utils.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-import-utils.c b/src/empathy-import-utils.c
index 7e69d62..bf7f29e 100644
--- a/src/empathy-import-utils.c
+++ b/src/empathy-import-utils.c
@@ -96,6 +96,10 @@ empathy_import_protocol_is_supported (const gchar *protocol,
if (tp_connection_manager_has_protocol (tp_cm,
(const gchar*) protocol))
{
+ if (!tp_strdiff (protocol, "irc")
+ && !tp_strdiff (tp_cm->name, "haze"))
+ continue;
+
if (!proto_is_supported)
{
*cm = tp_cm;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]