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
1 changed files with 3 additions and 1 deletions

View File

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