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