#3598 closed bug (Fixed)

deluge-2.1.1: Migration to Ayatana indicators is not complete

Reported by: pacho2 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 pacho2 14 months ago.
ayatana-detection.patch

Download all attachments as: .zip

Change History (3)

Changed 14 months ago by pacho2

ayatana-detection.patch

comment:1 Changed 14 months ago by pacho2

Attached patch solves the problem

comment:2 Changed 14 months ago by Cas

  • Milestone changed from needs verified to 2.1.2
  • Resolution set to Fixed
  • Status changed from new to closed

Thanks resolved: [dbedf7f63]

Note: See TracTickets for help on using tickets.