Mercurial > pidgin.yaz
diff src/protocols/bonjour/bonjour.c @ 11519:0dfda214df89
[gaim-migrate @ 13764]
A few fixes for transitioning to the new status stuff
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 11 Sep 2005 17:46:01 +0000 |
parents | f8a447af7494 |
children | 5a2c38d33eb4 |
line wrap: on
line diff
--- a/src/protocols/bonjour/bonjour.c Sun Sep 11 17:22:28 2005 +0000 +++ b/src/protocols/bonjour/bonjour.c Sun Sep 11 17:46:01 2005 +0000 @@ -269,8 +269,9 @@ status_description = gaim_status_get_name(status); ret = g_string_new(""); - g_string_append_printf(ret, _("<b>Status:</b> %s"), status_description); - g_string_append_printf(ret, _("<b>Message:</b> %s"), message); + g_string_append_printf(ret, _("\n<b>Status:</b> %s"), status_description); + if (message != NULL) + g_string_append_printf(ret, _("\n<b>Message:</b> %s"), message); return g_string_free(ret, FALSE); } @@ -398,11 +399,6 @@ option = gaim_account_option_string_new(_("Email"), "email", ""); prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); - /* - option = gaim_account_option_string_new(_("Status Message"), "message", "Available"); - prpl_info.protocol_options = g_list_append(prpl_info.protocol_options, option); - */ - my_protocol = plugin; }