summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind@gmail.com>2018-11-06 10:47:17 +0000
committerCalum Lind <calumlind@gmail.com>2018-11-06 10:47:17 +0000
commit39783c7703af1e4093a26c2f961f577db95ab51b (patch)
tree4d2c5735f277462c304a71803408978993a13905
parent9f9f564e62e39e55a63a34ffe8d1e48fe883dc1f (diff)
downloaddeluge-39783c7703af1e4093a26c2f961f577db95ab51b.tar.gz
deluge-39783c7703af1e4093a26c2f961f577db95ab51b.tar.bz2
deluge-39783c7703af1e4093a26c2f961f577db95ab51b.zip
[GTK] Fix systray popup TypeError
An incorrect number of arguments supplied to GtkMenu.popup
-rw-r--r--deluge/ui/gtk3/systemtray.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/gtk3/systemtray.py b/deluge/ui/gtk3/systemtray.py
index 390f4b98e..f851f3275 100644
--- a/deluge/ui/gtk3/systemtray.py
+++ b/deluge/ui/gtk3/systemtray.py
@@ -354,7 +354,7 @@ class SystemTray(component.Component):
popup_function = None
button = 0
self.tray_menu.popup(
- None, None, None, popup_function, status_icon, button, activate_time
+ None, None, popup_function, status_icon, button, activate_time
)
def on_menuitem_show_deluge_activate(self, menuitem):