mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-02 20:54:21 +02:00
Fix notifications from calibre being displayed as "Others" on the GNOME desktop
Merge branch 'gnome-notifications-fix' of https://github.com/Djaler/calibre
This commit is contained in:
commit
90282f0bf1
2 changed files with 2 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ def __call__(self, body, summary=None, replaces_id=None, timeout=0):
|
|||
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
|
||||
|
|
|
|||
|
|
@ -1039,6 +1039,7 @@ def opts_and_exts(name, op, exts, cover_opts=('--cover',), opf_opts=(),
|
|||
Exec=calibre --detach %F
|
||||
Icon=calibre-gui
|
||||
Categories=Office;
|
||||
X-GNOME-UsesNotifications=true
|
||||
'''
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue