@@ -76,12 +76,12 @@ ScopesOverviewCategories::data(const QModelIndex& index, int role) const
76 return QVariant();
76 return QVariant();
79− const QString categoryId = index.row() == 0 ? "favorites" : "all";
79+ const QString categoryId = index.row() == 0 ? "favorites" : "nonfavorites";
81 unity::shell::scopes::ResultsModelInterface *resultsModel = m_resultsModels[index.row()];
81 unity::shell::scopes::ResultsModelInterface *resultsModel = m_resultsModels[index.row()];
82 if (!resultsModel) {
82 if (!resultsModel) {
83 QObject *that = const_cast<ScopesOverviewCategories*>(this);
83 QObject *that = const_cast<ScopesOverviewCategories*>(this);
84− QList<Scope*> scopes = index.row() == 0 ? m_scopes->scopes() : m_scopes->allScopes();
84+ QList<Scope*> scopes = index.row() == 0 ? m_scopes->favScopes() : m_scopes->nonFavScopes();
85 resultsModel = new ScopesOverviewResultsModel(scopes, categoryId, that);
85 resultsModel = new ScopesOverviewResultsModel(scopes, categoryId, that);
86 m_resultsModels[index.row()] = resultsModel;
86 m_resultsModels[index.row()] = resultsModel;
@@ -89,7 +89,7 @@ ScopesOverviewCategories::data(const QModelIndex& index, int role) const
89 case RoleCategoryId:
89 case RoleCategoryId:
90 return categoryId;
90 return categoryId;
91 case RoleName:
91 case RoleName:
92− return index.row() == 0 ? "Favorites" : "All";
92+ return index.row() == 0 ? "Favorites" : "Non Favorites";
93 case RoleIcon:
93 case RoleIcon:
94 return QVariant();
94 return QVariant();
95 case RoleRawRendererTemplate:
95 case RoleRawRendererTemplate: