Changeset View
Changeset View
Standalone View
Standalone View
sddm-theme/Main.qml
Show First 20 Lines • Show All 189 Lines • ▼ Show 20 Line(s) | 175 | actionItems: [ | |||
---|---|---|---|---|---|
190 | ActionButton { | 190 | ActionButton { | ||
191 | iconSource: "system-shutdown" | 191 | iconSource: "system-shutdown" | ||
192 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shut Down") | 192 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shut Down") | ||
193 | onClicked: sddm.powerOff() | 193 | onClicked: sddm.powerOff() | ||
194 | enabled: sddm.canPowerOff | 194 | enabled: sddm.canPowerOff | ||
195 | visible: !inputPanel.keyboardActive | 195 | visible: !inputPanel.keyboardActive | ||
196 | }, | 196 | }, | ||
197 | ActionButton { | 197 | ActionButton { | ||
198 | iconSource: "system-switch-user" | 198 | iconSource: "system-user-prompt" | ||
199 | text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "For switching to a username and password prompt", "Other...") | 199 | text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "For switching to a username and password prompt", "Other...") | ||
200 | onClicked: mainStack.push(userPromptComponent) | 200 | onClicked: mainStack.push(userPromptComponent) | ||
201 | enabled: true | 201 | enabled: true | ||
202 | visible: !userListComponent.showUsernamePrompt && !inputPanel.keyboardActive | 202 | visible: !userListComponent.showUsernamePrompt && !inputPanel.keyboardActive | ||
203 | }] | 203 | }] | ||
204 | 204 | | |||
205 | onLoginRequest: { | 205 | onLoginRequest: { | ||
206 | root.notificationMessage = "" | 206 | root.notificationMessage = "" | ||
▲ Show 20 Lines • Show All 156 Lines • ▼ Show 20 Line(s) | 348 | actionItems: [ | |||
363 | ActionButton { | 363 | ActionButton { | ||
364 | iconSource: "system-shutdown" | 364 | iconSource: "system-shutdown" | ||
365 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shut Down") | 365 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","Shut Down") | ||
366 | onClicked: sddm.powerOff() | 366 | onClicked: sddm.powerOff() | ||
367 | enabled: sddm.canPowerOff | 367 | enabled: sddm.canPowerOff | ||
368 | visible: !inputPanel.keyboardActive | 368 | visible: !inputPanel.keyboardActive | ||
369 | }, | 369 | }, | ||
370 | ActionButton { | 370 | ActionButton { | ||
371 | iconSource: "system-switch-user" | 371 | iconSource: "system-user-list" | ||
372 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","List Users") | 372 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel","List Users") | ||
373 | onClicked: mainStack.pop() | 373 | onClicked: mainStack.pop() | ||
374 | visible: !inputPanel.keyboardActive | 374 | visible: !inputPanel.keyboardActive | ||
375 | } | 375 | } | ||
376 | ] | 376 | ] | ||
377 | } | 377 | } | ||
378 | } | 378 | } | ||
379 | 379 | | |||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |