Commit 8af80a61 authored by Philipp Hörist's avatar Philipp Hörist

Dont change mouse cursor on leave event

GTK does this on itself
parent 209154ed
......@@ -843,7 +843,6 @@ class HtmlTextView(Gtk.TextView):
self._changed_cursor = False
self.connect('leave-notify-event', self.__leave_event)
self.connect('realize', self.on_html_text_view_realized)
self.connect('unrealize', self.on_html_text_view_unrealized)
self.connect('copy-clipboard', self.on_html_text_view_copy_clipboard)
......@@ -905,12 +904,6 @@ class HtmlTextView(Gtk.TextView):
self._changed_cursor = False
return False
def __leave_event(self, widget, event):
if self._changed_cursor:
window = widget.get_window(Gtk.TextWindowType.TEXT)
self._changed_cursor = False
def on_open_link_activate(self, widget, kind, text):
helpers.launch_browser_mailer(kind, text)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment