Show preferences page when clicking on blocklist statusbar item
This commit is contained in:
parent
5ed244cad6
commit
f61a8bb023
|
@ -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"""
|
||||||
|
|
Loading…
Reference in New Issue