[gnome-system-monitor] Fix to remember custom column ordering.



commit dd0e346046b9e069b6e758b2b951b03ddfdf50b3
Author: Chris Kühl <chrisk openismus com>
Date:   Mon Jun 13 23:40:31 2011 +0200

    Fix to remember custom column ordering.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=365101

 src/proctable.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/proctable.cpp b/src/proctable.cpp
index 1c6b897..92d0538 100644
--- a/src/proctable.cpp
+++ b/src/proctable.cpp
@@ -396,7 +396,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);
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]