changeset 3749:ddc4bfd2c825

[gaim-migrate @ 3887] [16:57:26] <faceprint> arg. typing is borked (18:15:42) faceprint: that's the bugfix patch, 3-state-typing patch coming in a minute committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 18 Oct 2002 22:20:38 +0000
parents 685104cca276
children ddd9e50e547a
files src/conversation.c src/dialogs.c src/server.c
diffstat 3 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Fri Oct 18 22:07:20 2002 +0000
+++ b/src/conversation.c	Fri Oct 18 22:20:38 2002 +0000
@@ -1097,7 +1097,7 @@
 		return;
 
 	contents = gtk_editable_get_chars(editable, 0, -1);
-	if(start_pos == 0 && end_pos == strlen(contents)) {
+	if(start_pos == 0 && (end_pos == strlen(contents) || end_pos == -1)) {
 		if(c->type_again_timeout)
 			gtk_timeout_remove(c->type_again_timeout);
 		serv_send_typing(c->gc, c->name, NOT_TYPING);
--- a/src/dialogs.c	Fri Oct 18 22:07:20 2002 +0000
+++ b/src/dialogs.c	Fri Oct 18 22:20:38 2002 +0000
@@ -3171,7 +3171,7 @@
 		bgclr[1] = (gdouble)(c->bgcol.green) / 255;
 		bgclr[2] = (gdouble)(c->bgcol.blue) / 255;
 
-		c->bg_color_dialog = gtk_color_selection_dialog_new(_("Select Text Color"));
+		c->bg_color_dialog = gtk_color_selection_dialog_new(_("Select Background Color"));
 		colorsel = GTK_COLOR_SELECTION_DIALOG(c->bg_color_dialog)->colorsel;
 		gtk_color_selection_set_color(GTK_COLOR_SELECTION(colorsel), bgclr);
 		gtk_object_set_user_data(GTK_OBJECT(colorsel), c);
--- a/src/server.c	Fri Oct 18 22:07:20 2002 +0000
+++ b/src/server.c	Fri Oct 18 22:20:38 2002 +0000
@@ -194,7 +194,6 @@
 	if (cnv && cnv->type_again_timeout)
 		gtk_timeout_remove(cnv->type_again_timeout);
 
-	serv_send_typing(gc, name, FALSE);
 	return val;
 }