mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -76,7 +76,7 @@ class FDONotifier(DBUSNotifier):
|
|||||||
timeout, body, summary = self.get_msg_parms(timeout, body, summary)
|
timeout, body, summary = self.get_msg_parms(timeout, body, summary)
|
||||||
try:
|
try:
|
||||||
self._notify.Notify('calibre', replaces_id, self.ICON, summary, body,
|
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)
|
timeout)
|
||||||
except:
|
except:
|
||||||
import traceback
|
import traceback
|
||||||
|
@ -1039,6 +1039,7 @@ TryExec=calibre
|
|||||||
Exec=calibre --detach %F
|
Exec=calibre --detach %F
|
||||||
Icon=calibre-gui
|
Icon=calibre-gui
|
||||||
Categories=Office;
|
Categories=Office;
|
||||||
|
X-GNOME-UsesNotifications=true
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user