on xenial help sign in
use app name instead of window title for icons
403726bMichael Zanetti
qml/Stage/Stage.qml+1−1
@@ -1240,7 +1240,7 @@ AbstractStage {
1240 WindowInfoItem {
1240 WindowInfoItem {
1241 id: windowInfoItem
1241 id: windowInfoItem
1242 anchors { left: parent.left; top: decoratedWindow.bottom; topMargin: units.gu(1) }
1242 anchors { left: parent.left; top: decoratedWindow.bottom; topMargin: units.gu(1) }
1243− title: decoratedWindow.title
1243+ title: model.application.name
1244 iconSource: model.application.icon
1244 iconSource: model.application.icon
1245 height: spreadItem.appInfoHeight
1245 height: spreadItem.appInfoHeight
1246 opacity: 0
1246 opacity: 0
tests/mocks/Unity/Application/ApplicationInfo.cpp+1−1
@@ -79,7 +79,7 @@ void ApplicationInfo::createSurface()
79{
79{
80 if (state() == ApplicationInfo::Stopped) { return; }
80 if (state() == ApplicationInfo::Stopped) { return; }
81
81
82− QString surfaceName = name();
82+ QString surfaceName = name() + "s window title";
83 if (m_surfaceList->count() > 0) {
83 if (m_surfaceList->count() > 0) {
84 surfaceName.append(QString(" %1").arg(m_surfaceList->count()+1));
84 surfaceName.append(QString(" %1").arg(m_surfaceList->count()+1));
85 }
85 }