Aha, thanks, will apply this one :)
--Dan
On Sep 29, 2021, at 00:10, Kosta A. via chirp_devel chirp_devel@intrepid.danplanet.com wrote:
# 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 62d81b5019d77256fbd77ab762b15188b72f35ee # 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)
chirp_devel mailing list chirp_devel@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_devel Developer docs: http://chirp.danplanet.com/projects/chirp/wiki/Developers