@@ -1,5 +1,5 @@
2− * Copyright (C) 2014-2015 Canonical, Ltd.
2+ * Copyright (C) 2014-2016 Canonical, Ltd.
4 * This program is free software; you can redistribute it and/or modify
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
5 * it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@ Row {
24 // to be set from outside
24 // to be set from outside
25 property bool active: false
25 property bool active: false
26− property bool inPanel: false
26+ property bool windowIsMaximized: false
28 signal close()
28 signal close()
29 signal minimize()
29 signal minimize()
@@ -90,7 +90,7 @@ Row {
91 anchors.fill: parent
91 anchors.fill: parent
92 anchors.margins: units.dp(3)
92 anchors.margins: units.dp(3)
93− source: root.inPanel ? "graphics/window-window.svg" : "graphics/window-maximize.svg"
93+ source: root.windowIsMaximized ? "graphics/window-window.svg" : "graphics/window-maximize.svg"
94 color: root.active ? "white" : UbuntuColors.slate
94 color: root.active ? "white" : UbuntuColors.slate