Apply blocklist prefs when the buttons are pressed.

This commit is contained in:
Andrew Resch 2008-12-30 03:51:13 +00:00
parent df30d4b5c9
commit 83690d5aaf

View file

@ -138,9 +138,11 @@ class GtkUI(ui.UI):
client.blocklist_set_config(None, config)
def _on_button_check_download_clicked(self, widget):
self._on_apply_prefs()
client.blocklist_import(None, True, False)
def _on_button_force_download_clicked(self, widget):
self._on_apply_prefs()
client.blocklist_import(None, True, True)
def _on_status_item_clicked(self, widget, event):