@@ -1,5 +1,5 @@
11/*
2− * Copyright (C) 2014-2015 Canonical, Ltd.
2+ * Copyright (C) 2014-2016 Canonical, Ltd.
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@ Row {
2323
2424 // to be set from outside
2525 property bool active: false
26− property bool inPanel: false
26+ property bool windowIsMaximized: false
2727
2828 signal close()
2929 signal minimize()
@@ -90,7 +90,7 @@ Row {
9090 Icon {
9191 anchors.fill: parent
9292 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"
9494 color: root.active ? "white" : UbuntuColors.slate
9595 }
9696 }