changeset 27147:ef9e68020265

Correctly show status in tooltips for GG contacts with status messages. Patch from Krzysztof "kkszysiu" Klinikowski. Closes #9461. committer: Will Thompson <will.thompson@collabora.co.uk>
author grommasher@gmail.com
date Mon, 22 Jun 2009 21:31:54 +0000
parents 3cd831d4915f
children 0405276c6698 8b17877d3294 3882d419e628
files COPYRIGHT libpurple/protocols/gg/gg.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Mon Jun 22 16:39:58 2009 +0000
+++ b/COPYRIGHT	Mon Jun 22 21:31:54 2009 +0000
@@ -224,6 +224,7 @@
 Jochen Kemnade
 Yann Kerherve
 Gordian Klein
+Krzysztof Klinikowski
 Akuke Kok
 Kir Kolyshkin
 F.W. Kong
--- a/libpurple/protocols/gg/gg.c	Mon Jun 22 16:39:58 2009 +0000
+++ b/libpurple/protocols/gg/gg.c	Mon Jun 22 21:31:54 2009 +0000
@@ -931,12 +931,15 @@
 	purple_debug_info("gg", "ggp_status_by_id: %d\n", id);
 	switch (id) {
 		case GG_STATUS_NOT_AVAIL:
+		case GG_STATUS_NOT_AVAIL_DESCR:
 			st = _("Offline");
 			break;
 		case GG_STATUS_AVAIL:
+		case GG_STATUS_AVAIL_DESCR:
 			st = _("Available");
 			break;
 		case GG_STATUS_BUSY:
+		case GG_STATUS_BUSY_DESCR:
 			st = _("Away");
 			break;
 		default: