mirror of
https://github.com/aclist/dztui.git
synced 2026-10-29 22:22:52 +01:00
fix: add missing function definition
This commit is contained in:
1 parent
3adac2a211
commit
8dc9ad3313
3 files changed
+15
-2
No files matched your search
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user