Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/code/tools.js
Show First 20 Lines • Show All 155 Lines • ▼ Show 20 Line(s) | 155 | case PlasmaCore.Types.TopEdge: | |||
---|---|---|---|---|---|
156 | effectivePrefix = "north-" + prefix; | 156 | effectivePrefix = "north-" + prefix; | ||
157 | break; | 157 | break; | ||
158 | case PlasmaCore.Types.RightEdge: | 158 | case PlasmaCore.Types.RightEdge: | ||
159 | effectivePrefix = "east-" + prefix; | 159 | effectivePrefix = "east-" + prefix; | ||
160 | break; | 160 | break; | ||
161 | default: | 161 | default: | ||
162 | effectivePrefix = "south-" + prefix; | 162 | effectivePrefix = "south-" + prefix; | ||
163 | } | 163 | } | ||
164 | if (!frame.hasElementPrefix(effectivePrefix)) { | 164 | return [effectivePrefix, prefix]; | ||
165 | return prefix; | | |||
166 | } | | |||
167 | return effectivePrefix; | | |||
168 | | ||||
169 | } | 165 | } |