[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasmate] /: * Set X-Plasma-API property,
From:       Diego Casella <polentino911 () gmail ! com>
Date:       2011-09-06 18:45:21
Message-ID: 20110906184521.C9DBCA607A () git ! kde ! org
[Download RAW message or body]

Git commit 15129074b9b6f34bdca079d5115f5ab788af9d12 by Diego Casella.
Committed on 06/09/2011 at 20:43.
Pushed by casella into branch 'master'.

* Set X-Plasma-API property, plasmoids won't work otherwise

M  +1    -0    startpage.cpp

http://commits.kde.org/plasmate/15129074b9b6f34bdca079d5115f5ab788af9d12

diff --git a/startpage.cpp b/startpage.cpp
index 4fe287b..859d346 100644
--- a/startpage.cpp
+++ b/startpage.cpp
@@ -499,6 +499,7 @@ void StartPage::createNewProject()
     //FIXME: this must be selectable at creation
     metaDataGroup.writeEntry("X-KDE-PluginInfo-License", "GPL");
     metaDataGroup.writeEntry("X-KDE-PluginInfo-Email", m_ui.emailTextField->text());
+    metaDataGroup.writeEntry("X-Plasma-API", api);
     metaDataGroup.writeEntry("X-Plasma-MainScript", "code/" + mainScriptName);
     metaDataGroup.writeEntry("X-Plasma-DefaultSize", QSize(200, 100));
     metaFile.sync();

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic