=== modified file '.pc/applied-patches' --- .pc/applied-patches 2010-07-13 21:38:46 +0000 +++ .pc/applied-patches 2010-07-30 09:10:13 +0000 @@ -8,3 +8,4 @@ 34_start_raised_execpt_in_session.patch 36_chat_window_default_size.patch 37_facebook_default.patch +38_lp_569289.patch === modified file 'debian/changelog' --- debian/changelog 2010-07-13 21:38:46 +0000 +++ debian/changelog 2010-07-30 09:10:13 +0000 @@ -1,3 +1,9 @@ +empathy (2.31.5.1-0ubuntu2) maverick; urgency=low + + * Set freenode as default IRC network for new IRC accounts (LP: #569289) + + -- Bilal Akhtar Fri, 30 Jul 2010 14:38:58 +0530 + empathy (2.31.5.1-0ubuntu1) maverick; urgency=low * New upstream version: === added file 'debian/patches/38_lp_569289.patch' --- debian/patches/38_lp_569289.patch 1970-01-01 00:00:00 +0000 +++ debian/patches/38_lp_569289.patch 2010-07-30 09:10:13 +0000 @@ -0,0 +1,22 @@ +Description: Patch to set freenode as default IRC network + This patch fixes ubuntu bug #569289 by setting Freenode as the default + IRC network for new IRC accounts. + +Author: Bilal Akhtar +Bug-Ubuntu: https://launchpad.net/bugs/569289 +--- a/libempathy-gtk/empathy-account-widget-irc.c ++++ b/libempathy-gtk/empathy-account-widget-irc.c +@@ -414,7 +414,12 @@ + } + } + +- ++ if (network == NULL) ++ { ++ const gchar *freenodeserver = (const gchar*)"chat.freenode.net"; ++ network = empathy_irc_network_manager_find_network_by_address ( ++ settings->network_manager, freenodeserver); ++ } + fill_networks_model (settings, network); + } + === modified file 'debian/patches/series' --- debian/patches/series 2010-07-13 21:38:46 +0000 +++ debian/patches/series 2010-07-30 09:10:13 +0000 @@ -9,3 +9,4 @@ 36_chat_window_default_size.patch 37_facebook_default.patch +38_lp_569289.patch === modified file 'libempathy-gtk/empathy-account-widget-irc.c' --- libempathy-gtk/empathy-account-widget-irc.c 2010-06-18 11:50:45 +0000 +++ libempathy-gtk/empathy-account-widget-irc.c 2010-07-30 09:10:13 +0000 @@ -414,7 +414,12 @@ } } - + if (network == NULL) + { + const gchar *freenodeserver = (const gchar*)"chat.freenode.net"; + network = empathy_irc_network_manager_find_network_by_address ( + settings->network_manager, freenodeserver); + } fill_networks_model (settings, network); }