Commit fd37bc9a authored by Aaron J. Seigo's avatar Aaron J. Seigo

prevent bad data from the network

parent de88681a
......@@ -14,12 +14,7 @@ function setActive(data)
plasmoid.update()
}
print("EXAMINING FETCHER")
for (i in fetcher) { print("we have: " + i) }
print("EXAMINATION COMPLETE")
fetcher.fetch("http://127.0.0.1/activeprogress", setActive)
//plasmoid.setAction('myAction', i18n('Toggle KDE Logo'), 'plasma')
//http://plasma.kde.org/activestops
plasmoid.paintInterface = function(painter, options, rect)
{
......@@ -31,8 +26,10 @@ plasmoid.paintInterface = function(painter, options, rect)
}
for (i in active) {
if (svg.hasElement(active[i])) {
svg.paint(painter, svg.elementRect(active[i]), active[i])
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment