[polari] chatView: Fix hover cursor
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] chatView: Fix hover cursor
- Date: Wed, 28 Sep 2016 10:41:40 +0000 (UTC)
commit e89f10e5106eabf16a0ab1da2ccce986c9ab1b66
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Sep 28 12:23:29 2016 +0200
chatView: Fix hover cursor
The expected cursor on hover is HAND2 rather than HAND1, but instead
of updating it, take this opportunity to switch to the recommended
new_from_name() API which is less error-prone with its readable names.
https://bugzilla.gnome.org/show_bug.cgi?id=772068
src/chatView.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/chatView.js b/src/chatView.js
index 8f7b997..d8bde62 100644
--- a/src/chatView.js
+++ b/src/chatView.js
@@ -321,7 +321,8 @@ const ChatView = new Lang.Class({
this._app.connect('room-focus-changed',
Lang.bind(this, this._checkMessages));
- this._hoverCursor = Gdk.Cursor.new(Gdk.CursorType.HAND1);
+ this._hoverCursor = Gdk.Cursor.new_from_name(this.get_display(),
+ 'pointer');
this._channelSignals = [];
this._channel = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]