Philipp Hörist pushed to branch master at gajim / gajim


Commits:
e096557e by André Apitzsch at 2020-05-30T11:49:22+02:00
Feature: Remove list header

Information is already provided by window title.

- - - - -


1 changed file:

- gajim/gtk/features.py


Changes:

=====================================
gajim/gtk/features.py
=====================================
@@ -48,7 +48,6 @@ class Features(Gtk.ApplicationWindow):
 
         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 @@ class Features(Gtk.ApplicationWindow):
 
         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()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e096557ec3755fad047b5df232a600d4ca1f911a

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e096557ec3755fad047b5df232a600d4ca1f911a
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to