summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-11-27 20:26:28 +0300
committerWolfgang Ulbrich <[email protected]>2015-11-28 00:05:29 +0100
commitdd27fb5ab479ce14d58f8362b6b1e8bd9164b114 (patch)
tree6088695b5ac59defbc683688643acec54cf4d1e1 /src
parent026bbf7f26e802ca4d0b05504ffb1c42c7322bc4 (diff)
downloadmate-system-monitor-dd27fb5ab479ce14d58f8362b6b1e8bd9164b114.tar.bz2
mate-system-monitor-dd27fb5ab479ce14d58f8362b6b1e8bd9164b114.tar.xz
disks: set minimum width for device column
fixes https://github.com/mate-desktop/mate-system-monitor/issues/62
Diffstat (limited to 'src')
-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 */