Skip to content

Commit

Permalink
Merge pull request #986 from cjwatson/fix-notification-received-check
Browse files Browse the repository at this point in the history
Clean up VTE notification-received signal check
  • Loading branch information
mattrose authored Jan 17, 2025
2 parents 4bf3367 + 6367424 commit 5d0a8c5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions terminatorlib/plugins/command_notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@
VERSION = '0.1.0'

### Test for proper signal
try:
Vte.Terminal().connect('notification-received',lambda *args: None,None)
if GObject.signal_lookup('notification-received', Vte.Terminal):
AVAILABLE = ['CommandNotify']
except TypeError as e:
else:
AVAILABLE = []
pass

class CommandNotify(plugin.Plugin):
capabilities = ['command_watch']
Expand Down

0 comments on commit 5d0a8c5

Please sign in to comment.