Comment 1 for bug 1867746

Revision history for this message
Bryce Harrington (bryce) wrote :

I'm totally unfamiliar with any of the vte code in terminator, and not familiar with vte at all.

However, simple grepping on the deprecated API suggests that these calls:

./terminal.py: self.matches['full_uri'] = self.vte.match_add_gregex(reg, 0)
./terminal.py: self.matches['voip'] = self.vte.match_add_gregex(reg, 0)
./terminal.py: self.matches['addr_only'] = self.vte.match_add_gregex(reg, 0)
./terminal.py: self.matches['email'] = self.vte.match_add_gregex(reg, 0)
./terminal.py: self.matches['nntp'] = self.vte.match_add_gregex(reg, 0)
./terminal.py: self.matches[name] = self.vte.match_add_gregex(reg, 0)
./terminal.py: self.matches[name] = self.vte.match_add_gregex(reg, 0)
./searchbar.py: self.vte.search_set_gregex(self.searchre, 0)

Probably need to be replaced with the equivalent calls of the form:

self.vte.regex_new_for_match(reg, ...)

Need to lookup the python3 vte bindings and see exactly what the corresponding python call signature should be. I.e. what is needed for the '...' part, if any?