This should prevent LP#189116 from crashing Terminator
This commit is contained in:
parent
4930e42729
commit
08486bb4ae
@ -425,8 +425,11 @@ class TerminatorTerm:
|
||||
|
||||
def create_popup_menu (self, event):
|
||||
menu = gtk.Menu ()
|
||||
url = None
|
||||
|
||||
if event:
|
||||
url = self._vte.match_check (int (event.x / self._vte.get_char_width ()), int (event.y / self._vte.get_char_height ()))
|
||||
|
||||
url = self._vte.match_check (int (event.x / self._vte.get_char_width ()), int (event.y / self._vte.get_char_height ()))
|
||||
if url:
|
||||
if url[1] != self.matches['email']:
|
||||
address = url[0]
|
||||
|
Loading…
Reference in New Issue
Block a user