changeset 8548:fae482a76700

[gaim-migrate @ 9290] I'm not sure why this fixes things, but it does. Gaim development at its finest. If you have any reasons to protest a Gaim release within the hour speak now or forever hold your peace. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 01 Apr 2004 19:25:11 +0000
parents 9b2f06d7412a
children 1a016d979ce0
files NEWS src/gtkimhtml.c
diffstat 2 files changed, 12 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Thu Apr 01 17:51:28 2004 +0000
+++ b/NEWS	Thu Apr 01 19:25:11 2004 +0000
@@ -1,6 +1,14 @@
 -=[ Gaim ]=-  The Pimpin' Penguin IM Client That's Good For The Soul!
 
 0.76 (04/01/2004):
+	Sean: Yeah, it's been a long time since the last release, and despite
+	what others may tell you, we were just really lazy.  This is pretty
+	much just 0.75 again, but, like, someone changed the "Info" icon and
+	I think, like, the Chinese translation may have been updated.  We did
+	nothing interesting on it at all.  Others may tell you "we haven't just
+	been lazy," or "you guys will find that we've managed to do some neat
+	stuf in this one."  They lie.  All of them.
+	
 	Luke: Okay, normally I wait for Sean to go first, but he said to commit.
 	Its been a few months since the last release, but we haven't just been
 	lazy. A very long ChangeLog for you all. Most notably of course is the
--- a/src/gtkimhtml.c	Thu Apr 01 17:51:28 2004 +0000
+++ b/src/gtkimhtml.c	Thu Apr 01 19:25:11 2004 +0000
@@ -3008,8 +3008,8 @@
 	gtk_text_buffer_get_iter_at_mark(b->buffer, &ib, b->start);
 	/* The -1 here makes it so that if I have two spans that close at the same point, the
 	 * span added second will be closed first, as in <b><i>Hello</i></b>.  Without this,
-	 * it would be <b><i>Hello</b></i> */
-	return gtk_text_iter_compare(&ia, &ib) - 1;
+	 * it would be <b><i>Hello</b></i>  I took it out.  It started breaking things, and I don't know why*/
+	return gtk_text_iter_compare(&ia, &ib);
 }
 
 /* Basic notion here: traverse through the text buffer one-by-one, non-character elements, such
@@ -3064,11 +3064,6 @@
 				 * can't, for some reason.  The warning depends on how much HTML I send
 				 * in my message, kind of.
 				 */
-				/* comment this out until myself or someone else finishes
-				 * it.  This is supposed to apply a tag to selected text,
-				 * i believe...
-				gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &eiter, espan->end);
-				 */
 			}
 			sspan = (GtkIMHtmlFormatSpan*)starters->data;
 			gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &siter, sspan->start);
@@ -3098,8 +3093,9 @@
 					espan = (GtkIMHtmlFormatSpan*)closers->data;
 					if (espan->end)
 						gtk_text_buffer_get_iter_at_mark(imhtml->text_buffer, &eiter, espan->end);
-					else 
+					else {
 						gtk_text_iter_forward_to_end(&eiter);
+					}
 				}
 			}
 			while (gtk_text_iter_equal(&siter, &iter)) {