[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kaccounts-providers] jobs: Set runnerID icon in case of type=runnerid
From: Alex Fiestas <afiestas () kde ! org>
Date: 2015-10-15 21:01:25
Message-ID: E1ZmpeP-0000yK-Q1 () scm ! kde ! org
[Download RAW message or body]
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=runnerid
M +5 -1 jobs/ocreatefile.cpp
http://commits.kde.org/kaccounts-providers/f9a986f73e0839b0b81730f46883c71a813d878b
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", "") == "runnerid") {
+ desktopFile.writeEntry("Icon", "netrunnerid");
+ } else {
+ desktopFile.writeEntry("Icon", "owncloud");
+ }
desktopFile.writeEntry("Name", url.host());
desktopFile.writeEntry("Type", "Link");
desktopFile.writeEntry("URL", url.prettyUrl());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic