[#3211|Packaging] Fix missing tray icon

Fixed not including deluge-panel.png in the packaging install.
This commit is contained in:
Calum Lind 2018-11-08 12:29:14 +00:00 committed by Calum Lind
parent 2c45e59900
commit b665a4a6f7
2 changed files with 3 additions and 7 deletions

View File

@ -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')

View File

@ -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(
[
(