https://bugs.kde.org/show_bug.cgi?id=259082
Laurent Montel <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Laurent Montel <montel kde org> 2010-12-09 14:02:58 --- I confirm this bug. I tried to fix it in imap resource but don't understand why it doesn't work Index: setupserver.cpp =================================================================== --- setupserver.cpp (révision 1204707) +++ setupserver.cpp (copie de travail) @@ -48,6 +48,7 @@ #include <akonadi/kmime/specialmailcollections.h> #include <akonadi/kmime/specialmailcollectionsrequestjob.h> #include <akonadi/resourcesettings.h> +#include <akonadi/entitydisplayattribute.h> #include <kemailsettings.h> #include <klocale.h> #include <kpushbutton.h> @@ -277,7 +278,14 @@ Settings::self()->setSieveVacationFilename( m_vacationFileName ); Settings::self()->setTrashCollection( m_ui->folderRequester->collection().id() ); + Akonadi::EntityDisplayAttribute *attribute = m_ui->folderRequester->collection().attribute<Akonadi::EntityDisplayAttribute>( Akonadi::Entity::AddIfMissing ); + attribute->setIconName( QLatin1String( "user-trash" ) ); + Akonadi::CollectionModifyJob *job = new Akonadi::CollectionModifyJob( m_ui->folderRequester->collection() ); + job->start(); -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-bugs
