Use dedicated assets for ctrlAltTab
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3019>
This commit is contained in:
@ -23,7 +23,7 @@ export class CtrlAltTabManager {
|
||||
this._items = [];
|
||||
this.addGroup(global.window_group,
|
||||
_('Windows'),
|
||||
'focus-windows-symbolic', {
|
||||
'shell-focus-windows-symbolic', {
|
||||
sortGroup: SortGroup.TOP,
|
||||
focusCallback: this._focusWindows.bind(this),
|
||||
});
|
||||
@ -95,7 +95,7 @@ export class CtrlAltTabManager {
|
||||
let icon = null;
|
||||
let iconName = null;
|
||||
if (windows[i].get_window_type() === Meta.WindowType.DESKTOP) {
|
||||
iconName = 'video-display-symbolic';
|
||||
iconName = 'shell-focus-desktop-symbolic';
|
||||
} else {
|
||||
let app = windowTracker.get_window_app(windows[i]);
|
||||
if (app) {
|
||||
|
@ -407,7 +407,7 @@ export const Dash = GObject.registerClass({
|
||||
|
||||
// Translators: this is the name of the dock/favorites area on
|
||||
// the bottom of the overview
|
||||
Main.ctrlAltTabManager.addGroup(this, _('Dash'), 'user-bookmarks-symbolic');
|
||||
Main.ctrlAltTabManager.addGroup(this, _('Dash'), 'shell-focus-dash-symbolic');
|
||||
}
|
||||
|
||||
_onItemDragBegin() {
|
||||
|
@ -398,7 +398,7 @@ class ControlsManager extends St.Widget {
|
||||
Main.ctrlAltTabManager.addGroup(
|
||||
this.appDisplay,
|
||||
_('Apps'),
|
||||
'view-app-grid-symbolic', {
|
||||
'shell-focus-app-grid-symbolic', {
|
||||
proxy: this,
|
||||
focusCallback: () => {
|
||||
this.dash.showAppsButton.checked = true;
|
||||
@ -410,7 +410,7 @@ class ControlsManager extends St.Widget {
|
||||
Main.ctrlAltTabManager.addGroup(
|
||||
this._workspacesDisplay,
|
||||
_('Windows'),
|
||||
'focus-windows-symbolic', {
|
||||
'shell-focus-windows-symbolic', {
|
||||
proxy: this,
|
||||
focusCallback: () => {
|
||||
this.dash.showAppsButton.checked = false;
|
||||
|
@ -679,7 +679,7 @@ class Panel extends St.Widget {
|
||||
|
||||
Main.layoutManager.panelBox.add_child(this);
|
||||
Main.ctrlAltTabManager.addGroup(this,
|
||||
_('Top Bar'), 'focus-top-bar-symbolic',
|
||||
_('Top Bar'), 'shell-focus-top-bar-symbolic',
|
||||
{sortGroup: CtrlAltTab.SortGroup.TOP});
|
||||
|
||||
Main.sessionMode.connect('updated', this._updatePanel.bind(this));
|
||||
|
@ -86,7 +86,7 @@ export const SearchController = GObject.registerClass({
|
||||
|
||||
this._searchResults = new Search.SearchResultsView();
|
||||
this.add_child(this._searchResults);
|
||||
Main.ctrlAltTabManager.addGroup(this._entry, _('Search'), 'edit-find-symbolic');
|
||||
Main.ctrlAltTabManager.addGroup(this._entry, _('Search'), 'shell-focus-search-symbolic');
|
||||
|
||||
// Since the entry isn't inside the results container we install this
|
||||
// dummy widget as the last results container child so that we can
|
||||
|
Reference in New Issue
Block a user