pidgin: beaac32b: Register both spellings for the msgcolou...

qulogic at pidgin.im qulogic at pidgin.im
Fri May 6 02:37:06 EDT 2011


----------------------------------------------------------------------
Revision: beaac32b73f45831c94b8534624ce00063fa8dc4
Parent:   5a5e47924252fa3278b561a9af3557506a240b10
Author:   qulogic at pidgin.im
Date:     05/05/11 02:21:47
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/beaac32b73f45831c94b8534624ce00063fa8dc4

Changelog: 

Register both spellings for the msgcolour command, for people who
spell things correctly. But I don't want an extra string to translate,
so I'll leave that in C locale.

Changes against parent 5a5e47924252fa3278b561a9af3557506a240b10

  patched  finch/gntconv.c

-------------- next part --------------
============================================================
--- finch/gntconv.c	8f20eed2313420bc2b05aecc8d16eb9fc775c75e
+++ finch/gntconv.c	311404c18dc02e5c09fecb58d100c6006530cdfa
@@ -1458,6 +1458,14 @@ void finch_conversation_init()
 				                 "    <foreground/background>: black, red, green, blue, white, gray, darkgray, magenta, cyan, default<br><br>"
 								 "EXAMPLE:<br>    msgcolor send cyan default"),
 			NULL);
+	purple_cmd_register("msgcolour", "www", PURPLE_CMD_P_DEFAULT,
+			PURPLE_CMD_FLAG_CHAT | PURPLE_CMD_FLAG_IM, NULL,
+			cmd_message_color, _("msgcolor <class> <foreground> <background>: "
+				                 "Set the color for different classes of messages in the conversation window.<br>"
+				                 "    <class>: receive, send, highlight, action, timestamp<br>"
+				                 "    <foreground/background>: black, red, green, blue, white, gray, darkgray, magenta, cyan, default<br><br>"
+								 "EXAMPLE:<br>    msgcolor send cyan default"),
+			NULL);
 
 	purple_signal_connect(purple_conversations_get_handle(), "buddy-typing", finch_conv_get_handle(),
 					PURPLE_CALLBACK(update_buddy_typing), NULL);


More information about the Commits mailing list