changeset 9eeaf883fe34 in /home/hg/repos/gajim
author: Denis Fomin fominde@gmail.com branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=9eeaf883fe34 description: Set 'sizing' to Type column in ACE. Make 'Value' column expandable. Fixes #7446
diffstat:
src/advanced_configuration_window.py | 6 +++--- 1 файлов изменено, 3 вставок(+), 3 удалений(-)
различия (20 строк):
diff -r ad3fa8260e5d -r 9eeaf883fe34 src/advanced_configuration_window.py --- a/src/advanced_configuration_window.py Fri Aug 30 23:16:08 2013 +0400 +++ b/src/advanced_configuration_window.py Sat Aug 31 09:57:13 2013 +0400 @@ -116,13 +116,13 @@ 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) + col.set_property('expand',True)
renderer_text = gtk.CellRendererText() - treeview.insert_column_with_attributes(-1, _('Type'), + col = treeview.insert_column_with_attributes(-1, _('Type'), renderer_text, text = 2) + col.set_property('sizing',gtk.TREE_VIEW_COLUMN_AUTOSIZE)
treeview.set_model(self.modelfilter)