im.pidgin.pidgin: 62329672fc026cbd20bc696555b1d85746d45559

markdoliner at pidgin.im markdoliner at pidgin.im
Mon Jan 14 01:25:53 EST 2008


-----------------------------------------------------------------
Revision: 62329672fc026cbd20bc696555b1d85746d45559
Ancestor: 67cfbcaf9035cf659ff07c5ffbefeb6cf5ddea71
Author: markdoliner at pidgin.im
Date: 2008-01-14T06:20:53
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

I'm gonna try adding in an easter egg here, see what people thing.
See http://en.wikipedia.org/wiki/Xyzzy for a little background on
xyzzy

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	eee45d09164454c03c6af47cd169f3abd5746ff0
+++ pidgin/gtkconv.c	c1e3b547ddb76e55fdd99001bc5fb6a7a26c8aad
@@ -441,6 +441,13 @@ check_for_and_do_command(PurpleConversat
 
 		cmdline = cmd + strlen(prefix);
 
+		if (strcmp(cmdline, "xyzzy") == 0) {
+			purple_conversation_write(conv, "", "Nothing happens",
+					PURPLE_MESSAGE_NO_LOG, time(NULL));
+			g_free(cmd);
+			return TRUE;
+		}
+
 		gtk_text_iter_forward_chars(&start, g_utf8_strlen(prefix, -1));
 		gtk_text_buffer_get_end_iter(GTK_IMHTML(gtkconv->entry)->text_buffer, &end);
 		markup = gtk_imhtml_get_markup_range(GTK_IMHTML(gtkconv->entry), &start, &end);


More information about the Commits mailing list