GNOME Bugzilla – Bug 674587
treemodelsort: allow iter_previous() to go past the second item
Last modified: 2012-04-28 06:00:28 UTC
Created attachment 212569 [details] [review] patch the iter_previous() impl of GtkTreeModelSort does first fetch the previous GSequence element, and then check whether it's the first one, that has to be inverted so it can go as far as the first item
Review of attachment 212569 [details] [review]: Can you add a test that shows the issue ? gtk/tests/sortmodel.c would be the canonical place for such a test, I guess
The following fixes have been pushed: 6764413 treemodelsort: fix iter_previous so it can go back to the first item b3a66c5 WIP: make GtkNotebook window-draggable
Created attachment 213013 [details] [review] treemodelsort: fix iter_previous so it can go back to the first item It was getting the previous element, then checking whether it was the first one, that has to be inverted so it doesn't stop on the second item.
Created attachment 213014 [details] [review] WIP: make GtkNotebook window-draggable https://bugzilla.gnome.org/show_bug.cgi?id=672427