From: <ev...@us...> - 2006-12-10 03:44:42
|
Revision: 17934 http://svn.sourceforge.net/gaim/?rev=17934&view=rev Author: evands Date: 2006-12-09 19:44:35 -0800 (Sat, 09 Dec 2006) Log Message: ----------- I forgot to add section breaks in the appropriate places in oscar in [17929] Modified Paths: -------------- trunk/libgaim/protocols/oscar/oscar.c Modified: trunk/libgaim/protocols/oscar/oscar.c =================================================================== --- trunk/libgaim/protocols/oscar/oscar.c 2006-12-10 03:01:42 UTC (rev 17933) +++ trunk/libgaim/protocols/oscar/oscar.c 2006-12-10 03:44:35 UTC (rev 17934) @@ -2613,6 +2613,7 @@ gaim_notify_user_info_add_pair(user_info, _("UIN"), who); gaim_notify_user_info_add_pair(user_info, _("Status"), statusmsg); + gaim_notify_user_info_add_section_break(user_info); gaim_notify_user_info_add_pair(user_info, NULL, g_strjoinv("<BR>", splitmsg)); g_free(statusmsg); @@ -2848,6 +2849,7 @@ g_free(tmp); if (away_utf8 != NULL) { tmp = gaim_str_sub_away_formatters(away_utf8, gaim_account_get_username(account)); + gaim_notify_user_info_add_section_break(user_info); oscar_user_info_add_pair(user_info, NULL, tmp); g_free(tmp); g_free(away_utf8); @@ -2861,6 +2863,7 @@ g_free(tmp); if (info_utf8 != NULL) { tmp = gaim_str_sub_away_formatters(info_utf8, gaim_account_get_username(account)); + gaim_notify_user_info_add_section_break(user_info); oscar_user_info_add_pair(user_info, _("Profile"), tmp); g_free(tmp); g_free(info_utf8); @@ -3703,9 +3706,8 @@ } oscar_user_info_convert_and_add(account, user_info, _("Additional Information"), info->info); + gaim_notify_user_info_add_section_break(user_info); -/* g_string_append_printf(str, "<hr>"); */ - if ((info->homeaddr && (info->homeaddr[0])) || (info->homecity && info->homecity[0]) || (info->homestate && info->homestate[0]) || (info->homezip && info->homezip[0])) { tmp = g_string_sized_new(100); oscar_string_convert_and_append(account, tmp, "\n<br>", _("Address"), info->homeaddr); @@ -3714,7 +3716,8 @@ oscar_string_convert_and_append(account, tmp, "\n<br>", _("Zip Code"), info->homezip); gaim_notify_user_info_add_pair(user_info, _("Home Address"), tmp->str); - + gaim_notify_user_info_add_section_break(user_info); + g_string_free(tmp, TRUE); } if ((info->workaddr && info->workaddr[0]) || (info->workcity && info->workcity[0]) || (info->workstate && info->workstate[0]) || (info->workzip && info->workzip[0])) { @@ -3726,7 +3729,8 @@ oscar_string_convert_and_append(account, tmp, "\n<br>", _("Zip Code"), info->workzip); gaim_notify_user_info_add_pair(user_info, _("Work Address"), tmp->str); - + gaim_notify_user_info_add_section_break(user_info); + g_string_free(tmp, TRUE); } if ((info->workcompany && info->workcompany[0]) || (info->workdivision && info->workdivision[0]) || (info->workposition && info->workposition[0]) || (info->workwebpage && info->workwebpage[0])) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |