1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 23:21:37 +03:00

Merge branch 'master' into fix_v0.9

This commit is contained in:
Michail Vourlakos 2019-07-12 14:30:53 +03:00
commit 444daec3a7
2 changed files with 11 additions and 3 deletions

View File

@ -91,7 +91,7 @@ Item{
}
}
function getProperty(appletId, parameter, value) {
function getProperty(appletId, parameter) {
if (parameter === "latteSideColoringEnabled") {
return mainCommunicator.latteSideColoringEnabled;
} else if (parameter === "latteIconOverlayEnabled") {
@ -113,8 +113,8 @@ Item{
//! USAGE: send message to <pluginName>, for <action> command and set its property to <value>
//! EXPLANATION: applets can send messages/commands to other applets
//! in order to communicate with each other
function broadcastToApplet(pluginName, action, value) {
root.broadcastedToApplet(pluginName, action, value);
function broadcastToApplet(receiverPluginId, action, value) {
root.broadcastedToApplet(receiverPluginId, action, value);
}
function version(major, minor, patch) {

View File

@ -46,6 +46,14 @@ Item{
// @since: 0.9
readonly property bool inEditMode: root.inConfigureAppletsMode
// NAME: inPlasmaPanelStyle
// USAGE: read-only
// EXPLANATION: Latte sets it to true when this view behaves as Plasma panel concerning
// drawing background shadows externally and applets can take this into account in order
// to adjust their appearance and behavior
// @since: 0.9
readonly property bool inPlasmaPanelStyle: root.behaveAsPlasmaPanel
// NAME: palette
// USAGE: read-only
// EXPLANATION: Latte updates it to its coloring palette in order for the applet