]> cloud.milkyroute.net Git - dolphin.git/commit
Small fixes, but that have an impact of how things are visualized.
authorRafael Fernández López <ereslibre@kde.org>
Sat, 23 Jun 2007 00:43:20 +0000 (00:43 +0000)
committerRafael Fernández López <ereslibre@kde.org>
Sat, 23 Jun 2007 00:43:20 +0000 (00:43 +0000)
commit126c14b3ba6e165e94727b448bdaf1f0c48502f7
treee169cfc35030eda0d154cf56368033b044696467
parent743590a944bfce0d886a372a0e8a99e6a88593b3
Small fixes, but that have an impact of how things are visualized.

* Move "not tagged" elements to the end. We sort the rest (when they have tags), but keep untagged elements (the category) at the end of the view, since the user had
"less" interest on them.

* Break the law again of "dirs first". If we have on a folder only a tagged file (and is a file) and the rest are folders, that file goes first, since it was tagged.

* If we are on the same category, dirs go first. Here we make them citizens of first class.

* Commas instead of spaces when building categories for tags, they make it more readable and less error-prone (we can have tags "a", "dog" and "a dog" as tags, right?,
so spaces here make the thing a bit hard to distinguish, I have two tags "a", "dog", or the tag "a dog") ;)

* Return an empty string when the item is not tagged at the method tagsForIndex. This way we always show untagged items the latest ones very easily (without nasty string
checks). We will let the categorizer put a fancy name for them, if the returned string was empty.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=679097
src/dolphinitemcategorizer.cpp
src/dolphinsortfilterproxymodel.cpp