Revision 6dd2ae4...

Go back to digest for 17th November 2013

Features in KDE Base

Frank Reininghaus committed changes in [kde-baseapps/KDE/4.12] dolphin/src/panels/places/placesitem.cpp:

Update the Places Panel entries when switching the language

Before this commit, we stored the translated "Places" in
.kde4/share/apps/kfileplaces/bookmarks.xml. This was not intentional -
it only happened because
PlacesItem::updateBookmarkForRole(const QByteArray& role) always stored
the translated text (returned by PlacesItem::text()) in the KBookmark.

This is be fixed by first checking if the text() is equal to the
translation of the text that is already stored in the KBookmark, and
not updating it in that case.

Note that we have to make sure that all "Places"-related use the same
context "KFile System Bookmarks" to make that work.

Thanks to Burkhard Lück and Albert Astals Cid for helping to fix this
problem!


FIXED-IN: 4.12.0
REVIEW: 113850

File Changes

Modified 1 files
  • dolphin/src/panels/places/placesitem.cpp
1 files changed in total