on xenial help sign in
Pass the scope search hint up to the search line
0f2d872Albert Astals
qml/Components/PageHeader.qml+1
@@ -32,6 +32,7 @@ Item {
32 property bool searchEntryEnabled: false
32 property bool searchEntryEnabled: false
33 property ListModel searchHistory: SearchHistoryModel
33 property ListModel searchHistory: SearchHistoryModel
34 property alias searchQuery: searchTextField.text
34 property alias searchQuery: searchTextField.text
35+ property alias searchHint: searchTextField.placeholderText
35 property bool searchInProgress: false
36 property bool searchInProgress: false
36
37
37 property alias bottomItem: bottomContainer.children
38 property alias bottomItem: bottomContainer.children
qml/Dash/GenericScopeView.qml+1
@@ -394,6 +394,7 @@ FocusScope {
394 objectName: "scopePageHeader"
394 objectName: "scopePageHeader"
395 width: parent.width
395 width: parent.width
396 title: scopeView.scope ? scopeView.scope.name : ""
396 title: scopeView.scope ? scopeView.scope.name : ""
397+ searchHint: scopeView.scope && scopeView.scope.searchHint || i18n.tr("Search")
397 showBackButton: scopeView.hasBackAction
398 showBackButton: scopeView.hasBackAction
398 searchEntryEnabled: true
399 searchEntryEnabled: true
399 searchInProgress: scopeView.scope ? scopeView.scope.searchInProgress : false
400 searchInProgress: scopeView.scope ? scopeView.scope.searchInProgress : false