+7
-0
lines changedFilter options
+7
-0
lines changed Original file line number Diff line number Diff line change
@@ -498,6 +498,13 @@ def __init__(self, *args, **kwargs):
498
498
self.set_margin_top(SECTION_MARGIN//2)
499
499
self.listbox = Gtk.ListBox()
500
500
self.listbox.set_selection_mode(Gtk.SelectionMode.NONE)
501
+
502
+
def update_listbox_header(row, before):
503
+
if before and not row.get_header():
504
+
row.set_header(Gtk.Separator(orientation=Gtk.Orientation.HORIZONTAL))
505
+
506
+
self.listbox.set_header_func(update_listbox_header)
507
+
501
508
# self.titlebox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
502
509
self.titlebox = Gtk.Stack()
503
510
self.titlebox.set_margin_bottom(LIST_ITEM_MARGIN)
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4