1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-22 07:38:51 -05:00

Fix sorting problem when using tabs

Fixes #949
This commit is contained in:
Riamse 2014-05-06 21:36:08 -07:00 committed by TingPing
parent 6ef41f7d4f
commit e5f7441bae

View File

@ -388,7 +388,7 @@ tab_add_sorted (chanview *cv, GtkWidget *box, GtkWidget *tab, chan *ch)
if (ch->tag == 0 && cv->cb_compare (a, b) > 0)
{
gtk_box_pack_start (GTK_BOX (box), tab, 0, 0, 0);
gtk_box_reorder_child (GTK_BOX (box), tab, i);
gtk_box_reorder_child (GTK_BOX (box), tab, ++i);
gtk_widget_show (tab);
return;
}