keyboard: Drop dbus naming semantics from Set[Entry|Cursor]Location
Those functions don't proxy dbus method calls anymore, so just drop the uppercase 'S'. https://bugzilla.gnome.org/show_bug.cgi?id=777342
This commit is contained in:
parent
c324395ee6
commit
41baf0fc74
@ -247,8 +247,8 @@ const Keyboard = new Lang.Class({
|
|||||||
if (caretRect.width == 0 && caretRect.height == 0)
|
if (caretRect.width == 0 && caretRect.height == 0)
|
||||||
caretRect = focusRect;
|
caretRect = focusRect;
|
||||||
|
|
||||||
this.SetEntryLocation(focusRect.x, focusRect.y, focusRect.width, focusRect.height);
|
this.setEntryLocation(focusRect.x, focusRect.y, focusRect.width, focusRect.height);
|
||||||
this.SetCursorLocation(caretRect.x, caretRect.y, caretRect.width, caretRect.height);
|
this.setCursorLocation(caretRect.x, caretRect.y, caretRect.width, caretRect.height);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log('Error updating caret position for OSK: ' + e.message);
|
log('Error updating caret position for OSK: ' + e.message);
|
||||||
}
|
}
|
||||||
@ -716,14 +716,14 @@ const Keyboard = new Lang.Class({
|
|||||||
this._showIdleId = 0;
|
this._showIdleId = 0;
|
||||||
},
|
},
|
||||||
|
|
||||||
SetCursorLocation: function(x, y, w, h) {
|
setCursorLocation: function(x, y, w, h) {
|
||||||
if (!this._enableKeyboard)
|
if (!this._enableKeyboard)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// this._setLocation(x, y);
|
// this._setLocation(x, y);
|
||||||
},
|
},
|
||||||
|
|
||||||
SetEntryLocation: function(x, y, w, h) {
|
setEntryLocation: function(x, y, w, h) {
|
||||||
if (!this._enableKeyboard)
|
if (!this._enableKeyboard)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user