summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2019-10-31 10:52:11 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2019-10-31 10:56:08 +0000
commit89d62eb509d498becd83d8854d56e5d6581a7cbf (patch)
tree2cdb4dd426d4bfe36ba6cd5e6d457a3ffae9e0b6
parent00176ee2cd7a9bfa267f9544aa22aff3f97cc167 (diff)
downloaddeluge-89d62eb509d498becd83d8854d56e5d6581a7cbf.zip
deluge-89d62eb509d498becd83d8854d56e5d6581a7cbf.tar.gz
deluge-89d62eb509d498becd83d8854d56e5d6581a7cbf.tar.bz2
[GTK] Remove orphaned code
Changes were made to sidebar theming in commit 5a6f202 and this code was forgotten to be removed.
-rw-r--r--deluge/ui/gtk3/filtertreeview.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/deluge/ui/gtk3/filtertreeview.py b/deluge/ui/gtk3/filtertreeview.py
index bd781e0..7ca6a9d 100644
--- a/deluge/ui/gtk3/filtertreeview.py
+++ b/deluge/ui/gtk3/filtertreeview.py
@@ -100,11 +100,6 @@ class FilterTreeView(component.Component):
self.treeview.connect('button-press-event', self.on_button_press_event)
- # colors using current theme.
- style_ctx = component.get('MainWindow').window.get_style_context()
- self.colour_background = style_ctx.get_background_color(Gtk.StateFlags.NORMAL)
- self.colour_foreground = style_ctx.get_color(Gtk.StateFlags.NORMAL)
-
# filtertree menu
builder = Gtk.Builder()
builder.add_from_file(