mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 07:58:38 +00:00
add deluge icon to libnotify message
This commit is contained in:
parent
7dc82a5983
commit
4f389246e2
1 changed files with 2 additions and 2 deletions
|
@ -89,9 +89,9 @@ class TorrentNotification:
|
||||||
if len(file_info) > 10:
|
if len(file_info) > 10:
|
||||||
filelist += '...'
|
filelist += '...'
|
||||||
|
|
||||||
if pynotify.init("My Application Name"):
|
if pynotify.init("Deluge"):
|
||||||
n = pynotify.Notification(_("Torrent complete"),
|
n = pynotify.Notification(_("Torrent complete"),
|
||||||
_("Files") + ":\n" + filelist)
|
_("Files") + ":\n" + filelist, deluge.common.get_pixmap("deluge32.png"))
|
||||||
n.show()
|
n.show()
|
||||||
else:
|
else:
|
||||||
print "there was a problem initializing the pynotify module"
|
print "there was a problem initializing the pynotify module"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue