GNOME Bugzilla – Bug 657818
Prevent haze to be used for irc
Last modified: 2011-09-06 16:50:42 UTC
Created attachment 195293 [details] [review] prevent haze to get used to handle irc accounts on import. When using import from pidgin and telepathy-idle is not installed, haze might end up behing used to handle irc accounts. This patches makes the import process ignore irc accounts if haze is the only irc connection manager available.
Review of attachment 195293 [details] [review]: Thanks a lot for your patch. It looks good but I think the following will make the code clearer: if (tp_connection_manager_has_protocol (tp_cm, (const gchar*) protocol)) { /* We don't want to use Haze for irc */ if (!tp_strdiff (protocol, "irc") && !tp_strdiff (tp_cm->name, "haze")) continue; What do you think? Would you mind testing it and cook a new patch? :)
Created attachment 195779 [details] [review] rework avoid haze irc I also found the previous patch to lack obviousness . THank you for the quick fix.
Forgot to tell . I tested it with and without telepathy-idle. Works well.
Awesome, thanks ! I'm going to merge it.