From b643e00f89d7f779337891450bdf4ccec7de188c Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 29 Aug 2013 13:14:22 +0200 Subject: [PATCH] force max width to 250px only when initializing the treeview. Fixes #7446 --- src/advanced_configuration_window.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/advanced_configuration_window.py b/src/advanced_configuration_window.py index c78e6ca03..96f8235ef 100644 --- a/src/advanced_configuration_window.py +++ b/src/advanced_configuration_window.py @@ -117,7 +117,9 @@ class AdvancedConfigurationWindow(object): col.set_cell_data_func(renderer_text, self.cb_value_column_data) col.props.resizable = True + # set max width only for initializing the treeview. col.set_max_width(250) + gobject.idle_add(col.set_max_width, -1) renderer_text = Gtk.CellRendererText() col = Gtk.TreeViewColumn(_('Type'), renderer_text, text = 2)