diff --git a/src/dgtk.py b/src/dgtk.py index 64f89c338..2bec7a82a 100644 --- a/src/dgtk.py +++ b/src/dgtk.py @@ -80,6 +80,7 @@ def add_func_column(view, header, func, data, sortid=None): column.set_clickable(True) column.set_sort_column_id(data) column.set_resizable(True) + column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) column.set_expand(False) column.set_min_width(10) column.set_reorderable(True) @@ -95,6 +96,7 @@ def add_text_column(view, header, cid): column.set_resizable(True) column.set_expand(False) column.set_min_width(10) + column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) column.set_reorderable(True) view.append_column(column) return column @@ -108,6 +110,7 @@ def add_progress_column(view, header, pid, mid): column.set_expand(False) column.set_min_width(10) column.set_reorderable(True) + column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) view.append_column(column) return column @@ -136,6 +139,7 @@ def add_texticon_column(view, header, icon_col, text_col): column.pack_start(render, expand=False) column.add_attribute(render, 'pixbuf', icon_col) render = gtk.CellRendererText() + column.set_sizing(gtk.TREE_VIEW_COLUMN_FIXED) column.pack_start(render, expand=True) column.add_attribute(render, 'text', text_col) view.append_column(column)