This commit is contained in:
fgerlits 2006-02-03 18:26:47 +00:00
parent 11350d6b97
commit e7b267fa8c

View file

@ -608,10 +608,10 @@ Ptr<Glib::ustring>::Ref
ScratchpadWindow :: contents(void) throw ()
{
std::ostringstream contentsStream;
Gtk::TreeModel::const_iterator it;
Gtk::TreeModel::const_reverse_iterator it;
for (it = treeModel->children().begin();
it != treeModel->children().end(); ++it) {
for (it = treeModel->children().rbegin();
it != treeModel->children().rend(); ++it) {
Gtk::TreeRow row = *it;
Ptr<Playable>::Ref playable = row[modelColumns.playableColumn];
contentsStream << playable->getId()->getId() << " ";