grabHelper: Adjust to property name change

Commit bbfa616f27 renamed _ignoreRelease to _ignoreUntilRelease
in some places, but not others, which broke GrabHelper.ignoreRelease().
Complete the name change to fix the fallout (e.g. app launcher menus
closing on button release).
This commit is contained in:
Florian Müllner 2014-08-28 19:43:05 +02:00
parent 98847f2279
commit d85f97c744

View File

@ -56,7 +56,7 @@ const GrabHelper = new Lang.Class({
this._grabStack = []; this._grabStack = [];
this._actors = []; this._actors = [];
this._ignoreRelease = false; this._ignoreUntilRelease = false;
this._modalCount = 0; this._modalCount = 0;
}, },
@ -215,7 +215,7 @@ const GrabHelper = new Lang.Class({
_popGrabHelper(this); _popGrabHelper(this);
this._ignoreRelease = false; this._ignoreUntilRelease = false;
Main.popModal(this._owner); Main.popModal(this._owner);
global.sync_pointer(); global.sync_pointer();
@ -228,7 +228,7 @@ const GrabHelper = new Lang.Class({
// like the ComboBoxMenu that go away on press, but need to eat // like the ComboBoxMenu that go away on press, but need to eat
// the next release event. // the next release event.
ignoreRelease: function() { ignoreRelease: function() {
this._ignoreRelease = true; this._ignoreUntilRelease = true;
}, },
// ungrab: // ungrab: