#3598 closed bug (Fixed)

deluge-2.1.1: Migration to Ayatana indicators is not complete

Reported by: Pacho Ramos Owned by:
Priority: minor Milestone: 2.1.2
Component: GTK UI Version: 2.1.0
Keywords: Cc:

Description

I was wondering about why legacy trayicon was being used on my system. Looking at deluge/ui/gtk3/systemtray.py it seems new AyatanaAppIndicator3 is properly loaded, but the option to use indicator instead of legacy icon is not shown in Preferences.

This is because Preferences is still trying to load the old appindicators implementation:

try:

require_version('AppIndicator3', '0.1') from gi.repository import AppIndicator3 # noqa: F401

except (ImportError, ValueError):

appindicator = False

else:

appindicator = True

at deluge/ui/gtk3/preferences.py

Thanks

Attachments (1)

1.patch (673 bytes ) - added by Pacho Ramos 18 months ago.
ayatana-detection.patch

Download all attachments as: .zip

Change History (3)

by Pacho Ramos, 18 months ago

Attachment: 1.patch added

ayatana-detection.patch

comment:1 by Pacho Ramos, 18 months ago

Attached patch solves the problem

comment:2 by Calum, 18 months ago

Milestone: needs verified2.1.2
Resolution: Fixed
Status: newclosed

Thanks resolved: [dbedf7f63]

Note: See TracTickets for help on using tickets.