[accerciser] quick select: fix inspect accessible under mouse
- From: Javier Hernández Antúnez <jhernandez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [accerciser] quick select: fix inspect accessible under mouse
- Date: Mon, 10 Mar 2014 09:07:06 +0000 (UTC)
commit fc11d5ced0c9525ce6931e0bc2bda874c1b76034
Author: Javier Hernández <jhernandez emergya com>
Date: Mon Mar 10 10:02:21 2014 +0100
quick select: fix inspect accessible under mouse
plugins/quick_select.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/quick_select.py b/plugins/quick_select.py
index 3b1e1b9..927296a 100644
--- a/plugins/quick_select.py
+++ b/plugins/quick_select.py
@@ -73,7 +73,7 @@ class QuickSelect(Plugin):
'''
Inspect accessible of widget under mouse.
'''
- display = gdk.Display(gdk.get_display())
+ display = gdk.Display.get_default()
screen, x, y, flags = display.get_pointer()
del screen # A workaround http://bugzilla.gnome.org/show_bug.cgi?id=593732
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]