changeset 5b8870f9fe3a in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=5b8870f9fe3a description: force max width to 250px only when initializing the treeview. Fixes #7446
diffstat:
src/advanced_configuration_window.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r d2d03f318540 -r 5b8870f9fe3a src/advanced_configuration_window.py --- a/src/advanced_configuration_window.py Wed Aug 28 18:33:27 2013 +0400 +++ b/src/advanced_configuration_window.py Thu Aug 29 13:14:22 2013 +0200 @@ -116,7 +116,9 @@ 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() treeview.insert_column_with_attributes(-1, _('Type'),