summaryrefslogtreecommitdiffstats
path: root/deluge/ui/gtk3/systemtray.py
Commit message (Collapse)AuthorAge
* Upgrade codebase with pyupgrade (>=py3.6)DjLegolas2021-12-29
| | | | | | | | Added pyupgrade utility with manual stage to pre-commit and run on all files. Ref: https://github.com/asottile/pyupgrade Closes: deluge-torrent/deluge#326
* Remove all Python 2 supportdeluge-2.1.0.dev0DjLegolas2021-12-28
| | | | | | | | | * Removed all __future__ imports from code * Removed all six dependencies * Removed all future_builtins imports * Removed all Python 2 related code Closes: deluge-torrent/deluge#325
* [GTKUI] Support using the Ayatana fork of indicators.Unit 1932021-11-24
| | | | | | | As this fork is maintained in Debian, and as of Impish/21.10 is the supported variant in Ubuntu as well. Closes: deluge-torrent/deluge#317
* [GTK] Fix systray popup TypeErrorCalum Lind2018-11-06
| | | | An incorrect number of arguments supplied to GtkMenu.popup
* [GTK3] Migrate to AppIndicator3Calum Lind2018-11-02
| | | | | | | | | Replace the old appindicator imports with AppIndicator3. - Only few changes required due to Enum renaming. - Updated the preference import to include require_version and set a bool. - The password preference needs to be encoded for hashlib on Python3 but also need to keep Python 2 support so attempt decode then encode.
* [GTK3] Fix and remove FIXME commentsCalum Lind2018-11-02
| | | | | | | | - Several of the FIXME comments seem to be outdated so removed. - The status_icon comment was resolved by fixing the arguments supplied to tray_menu.popup(). - The TreePath no longer returns a tuple so cast path to int. - Fix an error with Pixbuf signature.
* [GTK3] Change module structure from ui/gtkui to ui/gtk3Calum Lind2018-11-02
This moves the directory structure so that there is no conflict with the old gtk2 UI. Also changes the conf and state files being loaded.