summaryrefslogtreecommitdiff
path: root/src/disks.cpp
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-11-27 20:26:28 +0300
committerWolfgang Ulbrich <[email protected]>2015-11-28 00:01:38 +0100
commit8c4f77b4fc9b70d75141708d39894c14d06e9e2b (patch)
tree6088695b5ac59defbc683688643acec54cf4d1e1 /src/disks.cpp
parenteebc190a5aeb6ebaf5c3a868b68434679adddc74 (diff)
downloadmate-system-monitor-8c4f77b4fc9b70d75141708d39894c14d06e9e2b.tar.bz2
mate-system-monitor-8c4f77b4fc9b70d75141708d39894c14d06e9e2b.tar.xz
disks: set minimum width for device column
fixes https://github.com/mate-desktop/mate-system-monitor/issues/62
Diffstat (limited to 'src/disks.cpp')
-rw-r--r--src/disks.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/disks.cpp b/src/disks.cpp
index 9b865fa..3c965f1 100644
--- a/src/disks.cpp
+++ b/src/disks.cpp
@@ -353,6 +353,7 @@ create_disk_view(ProcData *procdata)
gtk_tree_view_column_set_sort_column_id(col, DISK_DEVICE);
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_append_column(GTK_TREE_VIEW(disk_tree), col);
/* sizes - used */