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): def _on_button_import_clicked(self, widget):
client.blocklist_import(None) client.blocklist_import(None)
def _on_status_item_clicked(self): def _on_status_item_clicked(self, widget, event):
pass component.get("Preferences").show("Blocklist")
def load_preferences_page(self): def load_preferences_page(self):
"""Initializes the preferences page and adds it to the preferences dialog""" """Initializes the preferences page and adds it to the preferences dialog"""