Opened 2 years ago

Closed 2 years ago

#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 2 years ago.
ayatana-detection.patch

Download all attachments as: .zip

Change History (3)

by Pacho Ramos, 2 years ago

Attachment: 1.patch added

ayatana-detection.patch

comment:1 by Pacho Ramos, 2 years ago

Attached patch solves the problem

comment:2 by Calum, 2 years ago

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

Thanks resolved: [dbedf7f63]

Note: See TracTickets for help on using tickets.