diff src/protocols/oscar/oscar.c @ 8076:504d98d14c25

[gaim-migrate @ 8775] CTRL+(1 through 8) and SHIFT+CTRL+(1 through 8) no longer insert smileys twice CTRL+(1 through 8) and SHIFT+CTRL+(1 through 8) inserts WYSIWYG smileys instead of text Removed some functions in from gtkconv.c that I don't think we need that I think Chip said were left over from a simpler way of life This may break some key commands or something in the text entry window of convos. Lemme know if it does Love me tender committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 11 Jan 2004 21:36:17 +0000
parents d9e831876c28
children abee07bc573f
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c	Sun Jan 11 20:47:13 2004 +0000
+++ b/src/protocols/oscar/oscar.c	Sun Jan 11 21:36:17 2004 +0000
@@ -278,9 +278,10 @@
 /* for icons */
 static gboolean gaim_icon_timerfunc(gpointer data);
 
-/* prpl actions - remove this at some point */
+/* remove these at some point? */
 /* Because I don't like forward declarations?  I think that was why... */
 static void oscar_set_info(GaimConnection *gc, const char *text);
+static void oscar_set_away(GaimConnection *gc, const char *state, const char *message);
 
 static void oscar_free_name_data(struct name_data *data) {
 	g_free(data->name);
@@ -3811,6 +3812,9 @@
 		aim_locate_setcaps(od->sess, caps_aim);
 	oscar_set_info(gc, gc->account->user_info);
 
+	if (gc->away_state != NULL)
+		oscar_set_away(gc, gc->away_state, gc->away);
+
 	return 1;
 }