summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-17 16:06:37 +0100
committerinfirit <[email protected]>2014-12-17 17:23:02 +0100
commit502a570bfeb3c1aa912cd167a17d0c1457d4113b (patch)
treec37154014ee8b0914f80687d1bae39f6f438e12e /src
parent6a7f95cd9e4858ae0c6d1de90e4e3151a4a4d2b4 (diff)
downloadmate-system-monitor-502a570bfeb3c1aa912cd167a17d0c1457d4113b.tar.bz2
mate-system-monitor-502a570bfeb3c1aa912cd167a17d0c1457d4113b.tar.xz
Fix to remember custom column ordering.
Taken from GSM commit: dd0e346046b9e069b6e758b2b951b03ddfdf50b3 From: Chris Kühl <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=365101
Diffstat (limited to 'src')
-rw-r--r--src/proctable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proctable.cpp b/src/proctable.cpp
index ee018bd..b2e8d92 100644
--- a/src/proctable.cpp
+++ b/src/proctable.cpp
@@ -397,7 +397,7 @@ proctable_new (ProcData * const procdata)
/* Override column settings by hiding this column if it's meaningless: */
if (!can_show_security_context_column ()) {
GtkTreeViewColumn *column;
- column = gtk_tree_view_get_column (GTK_TREE_VIEW (proctree), COL_SECURITYCONTEXT);
+ column = my_gtk_tree_view_get_column_with_sort_column_id (GTK_TREE_VIEW (proctree), COL_SECURITYCONTEXT);
gtk_tree_view_column_set_visible (column, FALSE);
}