mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-26 18:03:42 +03:00
fix property name
This commit is contained in:
parent
4c5c96084c
commit
315568909b
@ -39,7 +39,7 @@ Item {
|
|||||||
readonly property LaunchersPart.Syncer syncer: LaunchersPart.Syncer{}
|
readonly property LaunchersPart.Syncer syncer: LaunchersPart.Syncer{}
|
||||||
readonly property LaunchersPart.Validator validator: LaunchersPart.Validator{}
|
readonly property LaunchersPart.Validator validator: LaunchersPart.Validator{}
|
||||||
|
|
||||||
readonly property string NULLACTIVITYID: "00000000-0000-0000-0000-000000000000"
|
readonly property string _NULLACTIVITYID_: "00000000-0000-0000-0000-000000000000"
|
||||||
|
|
||||||
function inUniqueGroup() {
|
function inUniqueGroup() {
|
||||||
return group === LatteCore.Types.UniqueLaunchers;
|
return group === LatteCore.Types.UniqueLaunchers;
|
||||||
@ -144,7 +144,7 @@ Item {
|
|||||||
function inCurrentActivity(launcherUrl) {
|
function inCurrentActivity(launcherUrl) {
|
||||||
var activities = _launchers.tasksModel.launcherActivities(launcherUrl);
|
var activities = _launchers.tasksModel.launcherActivities(launcherUrl);
|
||||||
|
|
||||||
if (activities.length === 0 || activities.indexOf(NULLACTIVITYID) !== -1 || activities.indexOf(activityInfo.currentActivity) !== -1) {
|
if (activities.length === 0 || activities.indexOf(_NULLACTIVITYID_) !== -1 || activities.indexOf(activityInfo.currentActivity) !== -1) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -153,7 +153,7 @@ Item {
|
|||||||
|
|
||||||
function isOnAllActivities(launcherUrl) {
|
function isOnAllActivities(launcherUrl) {
|
||||||
var activities = _launchers.tasksModel.launcherActivities(url);
|
var activities = _launchers.tasksModel.launcherActivities(url);
|
||||||
return (activities.indexOf(NULLACTIVITYID) >= 0)
|
return (activities.indexOf(_NULLACTIVITYID_) >= 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
function childAtLayoutIndex(position) {
|
function childAtLayoutIndex(position) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user