Use dedicated icons for top bar/windows in ctrl-alt-tab
The previously used ones were quite a stretch, so now that we got dedicated ones, let's use them.
This commit is contained in:
parent
dc1c31d704
commit
cb3d5c2b51
@ -27,8 +27,8 @@ const CtrlAltTabManager = new Lang.Class({
|
|||||||
_init: function() {
|
_init: function() {
|
||||||
this._items = [];
|
this._items = [];
|
||||||
this.addGroup(global.window_group, _("Windows"),
|
this.addGroup(global.window_group, _("Windows"),
|
||||||
'emblem-documents-symbolic', { sortGroup: SortGroup.TOP,
|
'focus-windows-symbolic', { sortGroup: SortGroup.TOP,
|
||||||
focusCallback: Lang.bind(this, this._focusWindows) });
|
focusCallback: Lang.bind(this, this._focusWindows) });
|
||||||
},
|
},
|
||||||
|
|
||||||
addGroup: function(root, name, icon, params) {
|
addGroup: function(root, name, icon, params) {
|
||||||
|
@ -752,7 +752,7 @@ const Panel = new Lang.Class({
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
Main.layoutManager.panelBox.add(this.actor);
|
Main.layoutManager.panelBox.add(this.actor);
|
||||||
Main.ctrlAltTabManager.addGroup(this.actor, _("Top Bar"), 'emblem-system-symbolic',
|
Main.ctrlAltTabManager.addGroup(this.actor, _("Top Bar"), 'focus-top-bar-symbolic',
|
||||||
{ sortGroup: CtrlAltTab.SortGroup.TOP });
|
{ sortGroup: CtrlAltTab.SortGroup.TOP });
|
||||||
|
|
||||||
Main.sessionMode.connect('updated', Lang.bind(this, this._updatePanel));
|
Main.sessionMode.connect('updated', Lang.bind(this, this._updatePanel));
|
||||||
|
@ -152,7 +152,7 @@ const ViewSelector = new Lang.Class({
|
|||||||
|
|
||||||
this._workspacesDisplay = new WorkspacesView.WorkspacesDisplay();
|
this._workspacesDisplay = new WorkspacesView.WorkspacesDisplay();
|
||||||
this._workspacesPage = this._addPage(this._workspacesDisplay.actor,
|
this._workspacesPage = this._addPage(this._workspacesDisplay.actor,
|
||||||
_("Windows"), 'emblem-documents-symbolic');
|
_("Windows"), 'focus-windows-symbolic');
|
||||||
|
|
||||||
this.appDisplay = new AppDisplay.AppDisplay();
|
this.appDisplay = new AppDisplay.AppDisplay();
|
||||||
this._appsPage = this._addPage(this.appDisplay.actor,
|
this._appsPage = this._addPage(this.appDisplay.actor,
|
||||||
|
Loading…
Reference in New Issue
Block a user