mirror of
https://github.com/aclist/dztui.git
synced 2025-07-17 13:08:48 +02:00
fix: add missing function definition
This commit is contained in:
parent
3adac2a211
commit
8dc9ad3313
3 changed files with 15 additions and 2 deletions
helpers
|
@ -2435,6 +2435,15 @@ class ModSelectionPanel(Gtk.Box):
|
|||
treeview.get_selection().select_path(path)
|
||||
|
||||
|
||||
def _remove_last_button(self):
|
||||
children = self.get_children()
|
||||
l = len(children)
|
||||
tip = children[l-1]
|
||||
label = tip.get_label()
|
||||
if label == "Select stale":
|
||||
tip.destroy()
|
||||
|
||||
|
||||
def toggle_select_stale_button(self, bool):
|
||||
if bool is True:
|
||||
button = Gtk.Button(label="Select stale")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue