src/gtkconv.c

changeset 4415
eca21938871e
parent 4409
a2526adf0f4b
child 4421
51d54d2bfbd8
--- a/src/gtkconv.c	Sat Jan 25 23:20:06 2003 +0000
+++ b/src/gtkconv.c	Sun Jan 26 01:22:02 2003 +0000
@@ -3464,6 +3464,9 @@
 	gtkwin  = GAIM_GTK_WINDOW(win);
 	gtkconv = GAIM_GTK_CONVERSATION(conv);
 
+	if (new_index > gaim_conversation_get_index(conv))
+		new_index--;
+
 	gtk_notebook_reorder_child(GTK_NOTEBOOK(gtkwin->notebook),
 							   gtkconv->tab_cont, new_index);
 }

mercurial