altTab: Rename AltTabPopup to AppSwitcherPopup
We will add support for a window-based popup in addition to the current application-based one, so use a more descriptive name. https://bugzilla.gnome.org/show_bug.cgi?id=688913
This commit is contained in:
parent
2fb1d707fe
commit
aba46720c0
@ -20,8 +20,8 @@ const THUMBNAIL_FADE_TIME = 0.1; // seconds
|
|||||||
|
|
||||||
const iconSizes = [96, 64, 48, 32, 22];
|
const iconSizes = [96, 64, 48, 32, 22];
|
||||||
|
|
||||||
const AltTabPopup = new Lang.Class({
|
const AppSwitcherPopup = new Lang.Class({
|
||||||
Name: 'AltTabPopup',
|
Name: 'AppSwitcherPopup',
|
||||||
Extends: SwitcherPopup.SwitcherPopup,
|
Extends: SwitcherPopup.SwitcherPopup,
|
||||||
|
|
||||||
_init : function() {
|
_init : function() {
|
||||||
|
@ -617,7 +617,7 @@ const WindowManager = new Lang.Class({
|
|||||||
if (this._workspaceSwitcherPopup != null)
|
if (this._workspaceSwitcherPopup != null)
|
||||||
this._workspaceSwitcherPopup.destroy();
|
this._workspaceSwitcherPopup.destroy();
|
||||||
|
|
||||||
let tabPopup = new AltTab.AltTabPopup();
|
let tabPopup = new AltTab.AppSwitcherPopup();
|
||||||
|
|
||||||
let modifiers = binding.get_modifiers();
|
let modifiers = binding.get_modifiers();
|
||||||
let backwards = modifiers & Meta.VirtualModifier.SHIFT_MASK;
|
let backwards = modifiers & Meta.VirtualModifier.SHIFT_MASK;
|
||||||
|
Loading…
Reference in New Issue
Block a user