[#3211|Packaging] Fix missing tray icon
Fixed not including deluge-panel.png in the packaging install.
This commit is contained in:
parent
2c45e59900
commit
b665a4a6f7
|
@ -177,7 +177,7 @@ class GtkUiNotifications(CustomNotifications):
|
|||
return defer.fail(_('libnotify is not installed'))
|
||||
|
||||
if Notify.init('Deluge'):
|
||||
self.note = Notify.Notification.new(title, message, 'deluge-tray')
|
||||
self.note = Notify.Notification.new(title, message, 'deluge-panel')
|
||||
self.note.set_hint('desktop-entry', 'deluge')
|
||||
if not self.note.show():
|
||||
err_msg = _('Failed to popup notification')
|
||||
|
|
8
setup.py
8
setup.py
|
@ -457,12 +457,8 @@ cmdclass = {
|
|||
if not windows_check() and not osx_check():
|
||||
for icon_path in glob.glob('deluge/ui/data/icons/hicolor/*x*'):
|
||||
size = os.path.basename(icon_path)
|
||||
_data_files.append(
|
||||
(
|
||||
'share/icons/hicolor/{}/apps'.format(size),
|
||||
['{}/apps/deluge.png'.format(icon_path)],
|
||||
)
|
||||
)
|
||||
icons = glob.glob(os.path.join(icon_path, 'apps', 'deluge*.png'))
|
||||
_data_files.append(('share/icons/hicolor/{}/apps'.format(size), icons))
|
||||
_data_files.extend(
|
||||
[
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue