diff options
author | monsta <[email protected]> | 2015-11-30 12:00:06 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-11-30 12:24:21 +0300 |
commit | 56fd4ac66dd3b93a51cb545c2ef838125bfd247f (patch) | |
tree | 6499939241ab7829453d62f19d44b562df9c8059 /src | |
parent | 1fb4c47e6dba13f56537727e3550998cedaa3aa7 (diff) | |
download | mate-system-monitor-56fd4ac66dd3b93a51cb545c2ef838125bfd247f.tar.bz2 mate-system-monitor-56fd4ac66dd3b93a51cb545c2ef838125bfd247f.tar.xz |
disks: set minimum width for all columns
Diffstat (limited to 'src')
-rw-r--r-- | src/disks.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/disks.cpp b/src/disks.cpp index 4ad345e..a0159ba 100644 --- a/src/disks.cpp +++ b/src/disks.cpp @@ -365,8 +365,9 @@ create_disk_view(ProcData *procdata) gtk_tree_view_column_pack_start(col, cell, TRUE); gtk_tree_view_column_set_title(col, _(titles[i])); gtk_tree_view_column_set_sort_column_id(col, i); - gtk_tree_view_column_set_resizable(col, TRUE); gtk_tree_view_column_set_reorderable(col, TRUE); + gtk_tree_view_column_set_resizable(col, TRUE); + gtk_tree_view_column_set_min_width (col, 30); gtk_tree_view_column_set_sizing(col, GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_append_column(GTK_TREE_VIEW(disk_tree), col); @@ -406,8 +407,9 @@ create_disk_view(ProcData *procdata) DISK_USED_PERCENTAGE, NULL); gtk_tree_view_column_set_title(col, _(titles[DISK_USED])); gtk_tree_view_column_set_sort_column_id(col, DISK_USED); - gtk_tree_view_column_set_resizable(col, TRUE); gtk_tree_view_column_set_reorderable(col, TRUE); + gtk_tree_view_column_set_resizable(col, TRUE); + gtk_tree_view_column_set_min_width (col, 150); gtk_tree_view_column_set_sizing(col, GTK_TREE_VIEW_COLUMN_FIXED); gtk_tree_view_append_column(GTK_TREE_VIEW(disk_tree), col); |