Merge pull request #266 from mattrose/issue264_1

suppress warning if the vte capability is not there
This commit is contained in:
Matt Rose 2020-10-30 15:18:44 -04:00 committed by GitHub
commit e9ee7d4409
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,8 +24,10 @@ VERSION = '0.1.0'
### Test for proper signal
try:
Vte.Terminal().connect('notification-received',lambda *args: None,None)
AVAILABLE = ['CommandNotify']
# AVAILABLE = ['CommandNotify']
AVAILABLE = []
except TypeError as e:
AVAILABLE = []
pass
class CommandNotify(plugin.Plugin):