[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bkdepim-runtime=5D_resources/kolabproxy=3A_Handle_co?=
From: Volker Krause <vkrause () kde ! org>
Date: 2011-04-30 12:10:57
Message-ID: 20110430121057.86F8CA60A4 () git ! kde ! org
[Download RAW message or body]
Git commit 41b39beef4edb98e9ba889e01ec6ec7068ca1503 by Volker Krause.
Committed on 30/04/2011 at 14:09.
Pushed by vkrause into branch 'master'.
Handle collection name changes via the display attribute.
This makes note book renames in KJots persist with notes on a Kolab server.
M +4 -1 resources/kolabproxy/kolabproxyresource.cpp
http://commits.kde.org/kdepim-runtime/41b39beef4edb98e9ba889e01ec6ec7068ca1503
diff --git a/resources/kolabproxy/kolabproxyresource.cpp \
b/resources/kolabproxy/kolabproxyresource.cpp index e69d1d7..d8fde5b 100644
--- a/resources/kolabproxy/kolabproxyresource.cpp
+++ b/resources/kolabproxy/kolabproxyresource.cpp
@@ -424,9 +424,12 @@ void KolabProxyResource::applyAttributesToImap( Collection \
&imapCollection, cons
// Don't propagate HIDDEN because that would hide collections in korg, kab \
too. continue;
- if ( attr->type() == eda.type() )
+ if ( attr->type() == eda.type() ) {
// Don't propagate DISPLAYATTRIBUTE because that would cause icons from the \
imap resource to use kolab icons. + EntityDisplayAttribute *imapEda = \
imapCollection.attribute<EntityDisplayAttribute>( Entity::AddIfMissing ); + \
imapEda->setDisplayName( static_cast<const EntityDisplayAttribute*>( attr \
)->displayName() ); continue;
+ }
if ( attr->type() == "AccessRights" )
continue;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic