mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-22 01:59:56 +00:00
* add commit SHA information
* allow to open link in quotes editor * fix bug with no data updates in configuration ui
This commit is contained in:
@ -345,7 +345,7 @@ Item {
|
||||
if (debug) console.debug()
|
||||
|
||||
// init submodule
|
||||
awKeys.initKeys(plasmoid.configuration.text)
|
||||
awKeys.initKeys(plasmoid.configuration.text, plasmoid.configuration.queueLimit)
|
||||
}
|
||||
|
||||
Component.onDestruction: {
|
||||
|
@ -349,11 +349,7 @@ Item {
|
||||
engine: "systemmonitor"
|
||||
connectedSources: systemmonitorDE.sources
|
||||
interval: 5000
|
||||
|
||||
onNewData: {
|
||||
if (debug) console.debug("Update source", sourceName)
|
||||
awKeys.dataUpdateReceived(sourceName, data)
|
||||
}
|
||||
onNewData: awKeys.dataUpdateReceived(sourceName, data)
|
||||
}
|
||||
|
||||
PlasmaCore.DataSource {
|
||||
@ -365,7 +361,6 @@ Item {
|
||||
onNewData: {
|
||||
// even after a disconnect it is possible that we'll receive an update
|
||||
if (sourceName == "update") return
|
||||
if (debug) console.debug("Update source", sourceName)
|
||||
awKeys.dataUpdateReceived(sourceName, data)
|
||||
}
|
||||
}
|
||||
@ -375,11 +370,7 @@ Item {
|
||||
engine: "time"
|
||||
connectedSources: ["Local"]
|
||||
interval: 5000
|
||||
|
||||
onNewData: {
|
||||
if (debug) console.debug("Update source", sourceName)
|
||||
awKeys.dataUpdateReceived(sourceName, data)
|
||||
}
|
||||
onNewData: awKeys.dataUpdateReceived(sourceName, data)
|
||||
}
|
||||
|
||||
|
||||
@ -398,6 +389,7 @@ Item {
|
||||
awKeys.setAggregatorProperty("customUptime", plasmoid.configuration.customUptime)
|
||||
awKeys.setAggregatorProperty("tempUnits", plasmoid.configuration.tempUnits)
|
||||
awKeys.setAggregatorProperty("translate", plasmoid.configuration.translateStrings)
|
||||
awKeys.unlock()
|
||||
}
|
||||
|
||||
onDropSource: {
|
||||
|
Reference in New Issue
Block a user