Commit e162eae8 authored by Roman Alifanov's avatar Roman Alifanov

fix ButtonWidget

parent 81c63701
...@@ -6,13 +6,10 @@ class ButtonWidget(BaseWidget): ...@@ -6,13 +6,10 @@ class ButtonWidget(BaseWidget):
def create_row(self): def create_row(self):
self.row = Adw.ButtonRow( self.row = Adw.ButtonRow(
title=self.setting.name, title=self.setting.name,
subtitle=self.setting.help,
) )
self.row.connect("activated", self._on_button_clicked) self.row.connect("activated", self._on_button_clicked)
self.row.add_suffix(self.button)
return self.row return self.row
def _on_button_clicked(self, button): def _on_button_clicked(self, button):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment