Show preferences page when clicking on blocklist statusbar item

This commit is contained in:
Andrew Resch 2008-07-19 23:00:28 +00:00
parent 5ed244cad6
commit f61a8bb023
1 changed files with 2 additions and 2 deletions

View File

@ -126,8 +126,8 @@ class GtkUI(ui.UI):
def _on_button_import_clicked(self, widget):
client.blocklist_import(None)
def _on_status_item_clicked(self):
pass
def _on_status_item_clicked(self, widget, event):
component.get("Preferences").show("Blocklist")
def load_preferences_page(self):
"""Initializes the preferences page and adds it to the preferences dialog"""