From 9a5a4b27cb3c911f0c8ea622f183038b409de792 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 10 Dec 2023 12:13:08 +0100 Subject: Merging upstream version 2.1.2~dev0+20231127. Signed-off-by: Daniel Baumann --- deluge/plugins/Stats/deluge_stats/gtkui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'deluge/plugins/Stats/deluge_stats/gtkui.py') diff --git a/deluge/plugins/Stats/deluge_stats/gtkui.py b/deluge/plugins/Stats/deluge_stats/gtkui.py index c088060..39c1d4c 100644 --- a/deluge/plugins/Stats/deluge_stats/gtkui.py +++ b/deluge/plugins/Stats/deluge_stats/gtkui.py @@ -9,10 +9,13 @@ # This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with # the additional special exception to link portions of this program with the OpenSSL library. # See LICENSE for more details. -# import logging +import gi # isort:skip (Required before Gtk import). + +gi.require_version('Gtk', '3.0') + from gi.repository import Gtk from gi.repository.Gdk import RGBA -- cgit v1.2.3