Skip to content
Snippets Groups Projects
Commit e096557e authored by André's avatar André Committed by Philipp Hörist
Browse files

Feature: Remove list header

Information is already provided by window title.
parent 07fc1dfa
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,6 @@ def __init__(self):
self.feature_listbox = Gtk.ListBox()
self.feature_listbox.set_selection_mode(Gtk.SelectionMode.NONE)
self.feature_listbox.set_header_func(self._header_func, _('Features'))
grid.attach(self.feature_listbox, 0, 0, 1, 1)
......@@ -65,15 +64,6 @@ def __init__(self):
self.show_all()
@staticmethod
def _header_func(row, before, user_data):
if before:
row.set_header(None)
else:
label = Gtk.Label(label=user_data)
label.set_halign(Gtk.Align.START)
row.set_header(label)
def _on_key_press(self, _widget, event):
if event.keyval == Gdk.KEY_Escape:
self.destroy()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment