# HG changeset patch # User Kosta A. ve7kcy@gmail.com # Date 1632859901 25200 # Tue Sep 28 13:11:41 2021 -0700 # Branch ui-fix # Node ID 2bf6e8155e7edfbe02e51187e9da3d3ca6fce051 # Parent 5aa2294d78ea241c6573dcf1929475b072e73685 Minor UI tweak, do not show empty header in tree view column. Fixes #9397.
diff --git a/chirp/ui/settingsedit.py b/chirp/ui/settingsedit.py --- a/chirp/ui/settingsedit.py +++ b/chirp/ui/settingsedit.py @@ -48,8 +48,9 @@ self._store = gtk.TreeStore(gobject.TYPE_STRING, gobject.TYPE_INT) self._view = gtk.TreeView(self._store) self._view.get_selection().connect("changed", self._view_changed_cb) - self._view.append_column( - gtk.TreeViewColumn("", gtk.CellRendererText(), text=0)) + column = gtk.TreeViewColumn("", gtk.CellRendererText(), text=0) + #column.set_widget(gtk.Label()) + self._view.append_column(column) self._view.show() scrolled_window = gtk.ScrolledWindow() scrolled_window.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)