Mercurial > pidgin
diff src/gtkconv.c @ 4415:c90039137172
[gaim-migrate @ 4688]
Tabs are no longer off to the right one when reordered.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 26 Jan 2003 01:22:02 +0000 |
parents | 0521eec12c33 |
children | 31834b4598eb |
line wrap: on
line diff
--- 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); }