[Deluge] #3598: deluge-2.1.1: Migration to Ayatana indicators is not complete

0 views
Skip to first unread message

Deluge

unread,
Apr 15, 2023, 8:37:09 PM4/15/23
to delug...@googlegroups.com
#3598: deluge-2.1.1: Migration to Ayatana indicators is not complete
----------------------------+--------------------
Reporter: pacho2 | Type: bug
Status: new | Priority: minor
Milestone: needs verified | Component: GTK UI
Version: 2.1.0 | Keywords:
----------------------------+--------------------
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

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3598>
Deluge <https://deluge-torrent.org/>
Deluge Project

Deluge

unread,
Apr 19, 2023, 9:15:06 AM4/19/23
to delug...@googlegroups.com
#3598: deluge-2.1.1: Migration to Ayatana indicators is not complete
---------------------+----------------------------
Reporter: pacho2 | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.1.0
Resolution: | Keywords:
---------------------+----------------------------
Changes (by pacho2):

* Attachment "1.patch" added.

ayatana-detection.patch

Deluge

unread,
Apr 19, 2023, 9:15:37 AM4/19/23
to delug...@googlegroups.com
#3598: deluge-2.1.1: Migration to Ayatana indicators is not complete
---------------------+----------------------------
Reporter: pacho2 | Owner:

Type: bug | Status: new
Priority: minor | Milestone: needs verified
Component: GTK UI | Version: 2.1.0
Resolution: | Keywords:
---------------------+----------------------------

Comment (by pacho2):

Attached patch solves the problem

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3598#comment:1>

Deluge

unread,
Apr 23, 2023, 1:19:16 PM4/23/23
to delug...@googlegroups.com
#3598: deluge-2.1.1: Migration to Ayatana indicators is not complete
---------------------+--------------------
Reporter: pacho2 | Owner:
Type: bug | Status: closed
Priority: minor | Milestone: 2.1.2

Component: GTK UI | Version: 2.1.0
Resolution: Fixed | Keywords:
---------------------+--------------------
Changes (by Cas):

* status: new => closed
* resolution: => Fixed
* milestone: needs verified => 2.1.2


Comment:

Thanks resolved: [dbedf7f63]

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3598#comment:2>

Reply all
Reply to author
Forward
0 new messages