Skip to content

Commit

Permalink
Fix #1087: Support libnotify 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
friday committed Jul 15, 2022
1 parent 87685d6 commit 5177d8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ulauncher/utils/desktop/notification.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import gi
gi.require_version('Notify', '0.7')
try:
gi.require_version("Notify", "0.7")
except ValueError:
gi.require_version("Notify", "0.8")

# pylint: disable=wrong-import-position
from gi.repository import Notify

Expand Down

0 comments on commit 5177d8a

Please sign in to comment.