diff src/dialogs.c @ 9594:15d09e546cee

[gaim-migrate @ 10437] I changed the 2 preferences dealing with auto-responses. It's a drop down box. Check it out. I also made Gaim not load .gaimrc committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 25 Jul 2004 22:13:03 +0000
parents a88c8ca91518
children bc2079a32fd9
line wrap: on
line diff
--- a/src/dialogs.c	Sun Jul 25 17:52:22 2004 +0000
+++ b/src/dialogs.c	Sun Jul 25 22:13:03 2004 +0000
@@ -588,6 +588,17 @@
 	away_mess_destroy(NULL, ca);
 }
 
+static gint sort_awaymsg_list(gconstpointer a, gconstpointer b)
+{
+	struct away_message *msg_a;
+	struct away_message *msg_b;
+
+	msg_a = (struct away_message *)a;
+	msg_b = (struct away_message *)b;
+
+	return (strcmp(msg_a->name, msg_b->name));
+}
+
 static struct away_message *save_away_message(struct create_away *ca)
 {
 	struct away_message *am;