Apply blocklist prefs when the buttons are pressed.

This commit is contained in:
Andrew Resch 2008-12-30 03:51:13 +00:00
parent a1a82c96a5
commit 48f445d9a0
1 changed files with 2 additions and 0 deletions

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_list(None, True, False)
def _on_button_force_download_clicked(self, widget):
self._on_apply_prefs()
client.blocklist.import_list(None, True, True)
def _on_status_item_clicked(self, widget, event):