Git commit f9a986f73e0839b0b81730f46883c71a813d878b by Alex Fiestas. Committed on 17/05/2012 at 17:33. Pushed by mklapetek into branch 'master'. Set runnerID icon in case of type=3Drunnerid M +5 -1 jobs/ocreatefile.cpp http://commits.kde.org/kaccounts-providers/f9a986f73e0839b0b81730f46883c71a= 813d878b diff --git a/jobs/ocreatefile.cpp b/jobs/ocreatefile.cpp index ce421e6..4c6d6c4 100644 --- a/jobs/ocreatefile.cpp +++ b/jobs/ocreatefile.cpp @@ -68,7 +68,11 @@ void OCreateFile::createNetAttach() KConfig _desktopFile( path, KConfig::SimpleConfig ); KConfigGroup desktopFile(&_desktopFile, "Desktop Entry"); = - desktopFile.writeEntry("Icon", "owncloud"); + if (m_config.readEntry("type", "") =3D=3D "runnerid") { + desktopFile.writeEntry("Icon", "netrunnerid"); + } else { + desktopFile.writeEntry("Icon", "owncloud"); + } desktopFile.writeEntry("Name", url.host()); desktopFile.writeEntry("Type", "Link"); desktopFile.writeEntry("URL", url.prettyUrl());