From 7c3294cdd24cdac198a7e60e61e8cd3217a41bf0 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Fri, 21 Aug 2009 21:28:35 +0000
Subject: [PATCH] made show config with sview up to date

---
 src/sview/popups.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/sview/popups.c b/src/sview/popups.c
index 1c279c62479..117d57b7174 100644
--- a/src/sview/popups.c
+++ b/src/sview/popups.c
@@ -292,16 +292,16 @@ static void _layout_ctl_conf(GtkTreeStore *treestore,
 	add_display_treestore_line_with_font(
 		update, treestore, &iter, 
 		"Configuration data as of", temp_str, "bold");
+	add_display_treestore_line(update, treestore, &iter, 
+				   "AccountingStorageBackupHost", 
+				   slurm_ctl_conf_ptr->
+				   accounting_storage_backup_host);
 	accounting_enforce_string(
 		slurm_ctl_conf_ptr->accounting_storage_enforce,
 		temp_str, sizeof(temp_str));
 	add_display_treestore_line(update, treestore, &iter, 
 				   "AccountingStorageEnforce", 
 				   temp_str);
-	add_display_treestore_line(update, treestore, &iter, 
-				   "AccountingStorageBackupHost", 
-				   slurm_ctl_conf_ptr->
-				   accounting_storage_backup_host);
 	add_display_treestore_line(update, treestore, &iter, 
 				   "AccountingStorageHost", 
 				   slurm_ctl_conf_ptr->accounting_storage_host);
@@ -530,6 +530,11 @@ static void _layout_ctl_conf(GtkTreeStore *treestore,
 		add_display_treestore_line(update, treestore, &iter, 
 					   "MaxMemPerCPU", "UNLIMITED"); 
 	}
+	snprintf(temp_str, sizeof(temp_str), "%u", 
+		 slurm_ctl_conf_ptr->max_tasks_per_node);
+	add_display_treestore_line(update, treestore, &iter, 
+				   "MaxTasksPerNode",
+				   temp_str);
 	snprintf(temp_str, sizeof(temp_str), "%u", 
 		 slurm_ctl_conf_ptr->msg_timeout);
 	add_display_treestore_line(update, treestore, &iter, 
-- 
GitLab