From 5707241595ea59bb6a1c14a8d6379ba79d8f8a6e Mon Sep 17 00:00:00 2001 From: Kirill Romanov Date: Mon, 1 Oct 2018 20:55:16 +0300 Subject: [PATCH] Set notification desktop entry hint --- src/calibre/gui2/notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/notify.py b/src/calibre/gui2/notify.py index 67efef565a..ae06954641 100644 --- a/src/calibre/gui2/notify.py +++ b/src/calibre/gui2/notify.py @@ -76,7 +76,7 @@ class FDONotifier(DBUSNotifier): timeout, body, summary = self.get_msg_parms(timeout, body, summary) try: self._notify.Notify('calibre', replaces_id, self.ICON, summary, body, - self.dbus.Array(signature='s'), self.dbus.Dictionary(signature='sv'), + self.dbus.Array(signature='s'), self.dbus.Dictionary({"desktop-entry": "calibre-gui"}, signature='sv'), timeout) except: import traceback