lakshyacis
3 years ago
No known key found for this signature in database
GPG Key ID: D2C539C8EC63E9EB
1 changed files with
2 additions and
3 deletions
-
src/plugins/notification_notify2.py
|
|
@ -1,7 +1,6 @@ |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
""" |
|
|
|
src/plugins/notification_notify2.py |
|
|
|
=================================== |
|
|
|
Notification plugin using notify2 |
|
|
|
""" |
|
|
|
|
|
|
|
import gi |
|
|
@ -11,7 +10,7 @@ from gi.repository import Notify |
|
|
|
Notify.init('pybitmessage') |
|
|
|
|
|
|
|
|
|
|
|
def connect_plugin(title, subtitle, category, label, icon): |
|
|
|
def connect_plugin(title, subtitle, category, _, icon): |
|
|
|
"""Plugin for notify2""" |
|
|
|
if not icon: |
|
|
|
icon = 'mail-message-new' if category == 2 else 'pybitmessage' |
|
|
|