# HG changeset patch # User Richard Laager # Date 1137654587 0 # Node ID 6af3ac33eeea5bf286c526e754f90f5d17c957f7 # Parent 07eaae27e674c8fcee43145a8fe582167e3ed728 [gaim-migrate @ 15298] This seems like a better way of dealing with the Presence: None issue. committer: Tailor Script diff -r 07eaae27e674 -r 6af3ac33eeea src/protocols/yahoo/yahoo.c --- a/src/protocols/yahoo/yahoo.c Thu Jan 19 07:06:19 2006 +0000 +++ b/src/protocols/yahoo/yahoo.c Thu Jan 19 07:09:47 2006 +0000 @@ -2809,8 +2809,9 @@ presence = _("Appear Permanently Offline"); break; case YAHOO_PRESENCE_DEFAULT: + break; default: - presence = _("None"); + gaim_debug_error("yahoo", "Unknown presence in yahoo_tooltip_text\n"); break; } } @@ -2822,7 +2823,7 @@ g_free(escaped); } - if (presence != NULL && f->presence != YAHOO_PRESENCE_DEFAULT) + if (presence != NULL) g_string_append_printf(s, _("\n%s: %s"), _("Presence"), presence);