Philipp Hörist pushed to branch master at gajim / gajim
Commits:
69a0456d by André Apitzsch at 2020-05-30T20:32:30+02:00
Server Info: Remove list header
Information is already provided by tab title.
- - - - -
1 changed file:
- gajim/gtk/server_info.py
Changes:
=====================================
gajim/gtk/server_info.py
=====================================
@@ -78,7 +78,6 @@ class ServerInfo(Gtk.ApplicationWindow, EventHelper):
self.feature_listbox = Gtk.ListBox()
self.feature_listbox.set_name('ServerInfo')
self.feature_listbox.set_selection_mode(Gtk.SelectionMode.NONE)
- self.feature_listbox.set_header_func(self.header_func, 'Features')
self._ui.features_scrolled.add(self.feature_listbox)
for feature in self.get_features():
self.add_feature(feature)
@@ -90,15 +89,6 @@ class ServerInfo(Gtk.ApplicationWindow, EventHelper):
if event.keyval == Gdk.KEY_Escape:
self.destroy()
- @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 _add_connection_info(self):
# Connection type
client = app.connections[self.account].connection
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/69a0456dfcf33c6a797ff3b3977ef8517f140f58
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/69a0456dfcf33c6a797ff3b3977ef8517f140f58
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