mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
open settings app
close panel when app launches
This commit is contained in:
parent
89f1f1a8af
commit
d93ec09964
4 changed files with 10 additions and 3 deletions
|
|
@ -157,7 +157,7 @@ Item {
|
|||
|
||||
ListModel {
|
||||
id: notificationsModel
|
||||
/* ListElement {
|
||||
ListElement {
|
||||
source: "call1Source"
|
||||
appIcon: "call-start"
|
||||
summary: "Missed call from Joe"
|
||||
|
|
@ -178,7 +178,7 @@ Item {
|
|||
appName: "Message"
|
||||
summary: "July: Hello?"
|
||||
actions: []
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
ListView {
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ Item {
|
|||
text: "Settings"
|
||||
icon: "configure"
|
||||
enabled: false
|
||||
settingsCommand: "plasma-mobile-settings"
|
||||
settingsCommand: "plasma-settings"
|
||||
toggleFunction: ""
|
||||
delegate: ""
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,10 +54,16 @@ FullScreenPanel {
|
|||
}
|
||||
}
|
||||
|
||||
onActiveChanged: {
|
||||
if (!active) {
|
||||
close();
|
||||
}
|
||||
}
|
||||
onVisibleChanged: {
|
||||
if (visible) {
|
||||
window.width = Screen.width;
|
||||
window.height = Screen.height;
|
||||
window.requestActivate();
|
||||
}
|
||||
}
|
||||
SequentialAnimation {
|
||||
|
|
|
|||
|
|
@ -240,6 +240,7 @@ PlasmaCore.ColorScope {
|
|||
property var applet
|
||||
height: applet ? applet.fullRepresentationItem.Layout.maximumHeight : 0
|
||||
property int minimumHeight: applet ? applet.fullRepresentationItem.Layout.minimumHeight : 0
|
||||
onHeightChanged: slidingPanel.updateState();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue