changeset 6100:5823ed7e2583

[gaim-migrate @ 6559] Andrew Steets (asteets) writes: "event_conversation_switch wont show as event_unknown, and you can catch it from perl. " committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 12 Jul 2003 17:38:06 +0000
parents 55f421732727
children e4a5085fb870
files plugins/perl/perl.c src/event.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/perl/perl.c	Sat Jul 12 14:04:05 2003 +0000
+++ b/plugins/perl/perl.c	Sat Jul 12 17:38:06 2003 +0000
@@ -1045,6 +1045,7 @@
 		break;
 	case event_new_conversation:
 	case event_del_conversation:
+	case event_conversation_switch:
 		buf[0] = arg1;
 		break;
 	case event_im_displayed_sent:
--- a/src/event.c	Sat Jul 12 14:04:05 2003 +0000
+++ b/src/event.c	Sat Jul 12 17:38:06 2003 +0000
@@ -408,6 +408,9 @@
 		case event_connecting:
 			snprintf(buf, sizeof(buf), "event_connecting");
 			break;
+		case event_conversation_switch:
+			snprintf(buf, sizeof(buf), "event_conversation_switch");
+			break;				
 		default:
 			snprintf(buf, sizeof(buf), "event_unknown");
 			break;