on xenial help sign in
rename the PanelState signal from maximize() to restore()
commit6c689d22b6ea6cd63625c8c88bae84f02932b21f authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 12 Apr 2016, 11:15 (11 years ago) parent8764069
3 files changed+3−3
qml/Components/PanelState/PanelState.qml+1−1 qml/Panel/Panel.qml+1−1 qml/Stages/DesktopStage.qml+1−1
qml/Components/PanelState/PanelState.qml+1−1
@@ -27,6 +27,6 @@ QtObject {
2727
2828 signal close()
2929 signal minimize()
30− signal maximize()
30+ signal restore()
3131 signal focusMaximizedApp()
3232}
qml/Panel/Panel.qml+1−1
@@ -129,7 +129,7 @@ Item {
129129 windowIsMaximized: true
130130 onClose: PanelState.close()
131131 onMinimize: PanelState.minimize()
132− onMaximize: PanelState.maximize()
132+ onMaximize: PanelState.restore()
133133 }
134134 }
135135
qml/Stages/DesktopStage.qml+1−1
@@ -188,7 +188,7 @@ AbstractStage {
188188 ApplicationManager.stopApplication(ApplicationManager.focusedApplicationId)
189189 }
190190 onMinimize: priv.focusedAppDelegate && priv.focusedAppDelegate.minimize();
191− onMaximize: priv.focusedAppDelegate // don't restore minimized apps when double clicking the panel
191+ onRestore: priv.focusedAppDelegate // don't restore minimized apps when double clicking the panel
192192 && priv.focusedAppDelegate.restoreFromMaximized();
193193 onFocusMaximizedApp: if (priv.foregroundMaximizedAppIndex != -1) {
194194 ApplicationManager.focusApplication(appRepeater.itemAt(priv.foregroundMaximizedAppIndex).appId);