diff src/conversation.c @ 1881:a02584b98823

[gaim-migrate @ 1891] C:) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 23 May 2001 07:59:05 +0000
parents efc899af4912
children c81f3dd0e58e
line wrap: on
line diff
--- a/src/conversation.c	Tue May 22 23:23:28 2001 +0000
+++ b/src/conversation.c	Wed May 23 07:59:05 2001 +0000
@@ -821,6 +821,16 @@
 		}
 	}
 
+	quiet_set(c->bold, FALSE);
+	quiet_set(c->strike, FALSE);
+	quiet_set(c->italic, FALSE);
+	quiet_set(c->underline, FALSE);
+	quiet_set(c->font, FALSE);
+	quiet_set(c->fgcolorbtn, FALSE);
+	quiet_set(c->bgcolorbtn, FALSE);
+	quiet_set(c->link, FALSE);
+	gtk_widget_grab_focus(c->entry);
+
 	{
 		char *buffy = g_strdup(buf);
 		enum gaim_event evnt = c->is_chat ? event_chat_send : event_im_send;
@@ -855,15 +865,6 @@
 		/* no sound because we do that when we receive our message */
 	}
 
-	quiet_set(c->bold, FALSE);
-	quiet_set(c->strike, FALSE);
-	quiet_set(c->italic, FALSE);
-	quiet_set(c->underline, FALSE);
-	quiet_set(c->font, FALSE);
-	quiet_set(c->fgcolorbtn, FALSE);
-	quiet_set(c->bgcolorbtn, FALSE);
-	quiet_set(c->link, FALSE);
-
 	if (general_options & OPT_GEN_BACK_ON_IM) {
 		if (awaymessage != NULL) {
 			do_im_back();
@@ -872,7 +873,6 @@
 		}
 	}
 
-	gtk_widget_grab_focus(c->entry);
 	g_free(buf2);
 	g_free(buf);
 }