diff options
author | rbuj <[email protected]> | 2019-04-16 00:59:04 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-04-17 17:27:07 +0200 |
commit | 52532ffb9cea00d1bc8f29f4da14081d475b28ad (patch) | |
tree | 397fd9a27f38ffe7a8a730ea8eff9148ce2b0c17 /src/proctable.cpp | |
parent | 95cee02dfbaa0fc720e61872979e589b76ab62e6 (diff) | |
download | mate-system-monitor-52532ffb9cea00d1bc8f29f4da14081d475b28ad.tar.bz2 mate-system-monitor-52532ffb9cea00d1bc8f29f4da14081d475b28ad.tar.xz |
Use g_format_size or g_format_size_full
- IEC units for RAM
- SI units for storage and network
Diffstat (limited to 'src/proctable.cpp')
-rw-r--r-- | src/proctable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proctable.cpp b/src/proctable.cpp index f2eb3b5..2e0a4ac 100644 --- a/src/proctable.cpp +++ b/src/proctable.cpp @@ -362,7 +362,7 @@ proctable_new (ProcData * const procdata) switch (i) { case COL_MEMXSERVER: gtk_tree_view_column_set_cell_data_func(col, cell, - &procman::size_cell_data_func, + &procman::memory_size_cell_data_func, GUINT_TO_POINTER(i), NULL); break; @@ -372,7 +372,7 @@ proctable_new (ProcData * const procdata) case COL_MEM: case COL_MEMWRITABLE: gtk_tree_view_column_set_cell_data_func(col, cell, - &procman::size_na_cell_data_func, + &procman::memory_size_na_cell_data_func, GUINT_TO_POINTER(i), NULL); break; |