Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/main.qml
Show First 20 Lines • Show All 132 Lines • ▼ Show 20 Line(s) | 132 | separateLaunchers: { | |||
---|---|---|---|---|---|
133 | if (!iconsOnly && !plasmoid.configuration.separateLaunchers | 133 | if (!iconsOnly && !plasmoid.configuration.separateLaunchers | ||
134 | && plasmoid.configuration.sortingStrategy === 1) { | 134 | && plasmoid.configuration.sortingStrategy === 1) { | ||
135 | return false; | 135 | return false; | ||
136 | } | 136 | } | ||
137 | 137 | | |||
138 | return true; | 138 | return true; | ||
139 | } | 139 | } | ||
140 | 140 | | |||
141 | groupMode: iconsOnly ? TaskManager.TasksModel.GroupApplications | 141 | groupMode: groupModeEnumValue(plasmoid.configuration.groupingStrategy) | ||
142 | : groupModeEnumValue(plasmoid.configuration.groupingStrategy) | | |||
143 | groupInline: !plasmoid.configuration.groupPopups | 142 | groupInline: !plasmoid.configuration.groupPopups | ||
144 | groupingWindowTasksThreshold: (plasmoid.configuration.onlyGroupWhenFull && !iconsOnly | 143 | groupingWindowTasksThreshold: (plasmoid.configuration.onlyGroupWhenFull && !iconsOnly | ||
145 | ? LayoutManager.optimumCapacity(width, height) + 1 : -1) | 144 | ? LayoutManager.optimumCapacity(width, height) + 1 : -1) | ||
146 | 145 | | |||
147 | onLauncherListChanged: { | 146 | onLauncherListChanged: { | ||
148 | layoutTimer.restart(); | 147 | layoutTimer.restart(); | ||
149 | plasmoid.configuration.launchers = launcherList; | 148 | plasmoid.configuration.launchers = launcherList; | ||
150 | } | 149 | } | ||
▲ Show 20 Lines • Show All 360 Lines • Show Last 20 Lines |