mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-13 13:05:37 +00:00
Apply blocklist prefs when the buttons are pressed.
This commit is contained in:
parent
a1a82c96a5
commit
48f445d9a0
@ -138,9 +138,11 @@ class GtkUI(ui.UI):
|
|||||||
client.blocklist.set_config(None, config)
|
client.blocklist.set_config(None, config)
|
||||||
|
|
||||||
def _on_button_check_download_clicked(self, widget):
|
def _on_button_check_download_clicked(self, widget):
|
||||||
|
self._on_apply_prefs()
|
||||||
client.blocklist.import_list(None, True, False)
|
client.blocklist.import_list(None, True, False)
|
||||||
|
|
||||||
def _on_button_force_download_clicked(self, widget):
|
def _on_button_force_download_clicked(self, widget):
|
||||||
|
self._on_apply_prefs()
|
||||||
client.blocklist.import_list(None, True, True)
|
client.blocklist.import_list(None, True, True)
|
||||||
|
|
||||||
def _on_status_item_clicked(self, widget, event):
|
def _on_status_item_clicked(self, widget, event):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user