[Openvas-commits] r2827 - in trunk/openvas-client: . nessus/prefs_dialog

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Mar 18 11:16:51 CET 2009


Author: felix
Date: 2009-03-18 11:16:49 +0100 (Wed, 18 Mar 2009)
New Revision: 2827

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/nessus/prefs_dialog/prefs_scope_tree.c
Log:
Update the report detail view (GUI, right side if report is selected)
together with the scope tree (GUI, left side), so that when
severity_overrides were applied / undone it is updated with eventually
changed values as well.

* nessu/prefs_dialog/prefs_scope_tree.c (prefs_scope_tree_update_report):
Update the report view.


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-03-18 09:43:43 UTC (rev 2826)
+++ trunk/openvas-client/ChangeLog	2009-03-18 10:16:49 UTC (rev 2827)
@@ -1,5 +1,15 @@
 2009-03-18  Felix Wolfsteller <felix.wolfsteller at intevation.de>
 
+	Update the report detail view (GUI, right side if report is selected)
+	together with the scope tree (GUI, left side), so that when
+	severity_overrides were applied / undone it is updated with eventually
+	changed values as well.
+	
+	* nessu/prefs_dialog/prefs_scope_tree.c (prefs_scope_tree_update_report):
+	Update the report view.
+
+2009-03-18  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
 	First tests for new feature that allows rpm export of credentials for
 	LSC (conditioned on DEBUG flag, configure with --enable-debug to test).
 	

Modified: trunk/openvas-client/nessus/prefs_dialog/prefs_scope_tree.c
===================================================================
--- trunk/openvas-client/nessus/prefs_dialog/prefs_scope_tree.c	2009-03-18 09:43:43 UTC (rev 2826)
+++ trunk/openvas-client/nessus/prefs_dialog/prefs_scope_tree.c	2009-03-18 10:16:49 UTC (rev 2827)
@@ -30,6 +30,7 @@
 #include "prefs_context.h"
 #include "prefs_dialog.h"
 #include "prefs_dialog_auth.h"
+#include "prefs_report.h"
 #include "prefs_scope_tree.h"
 #include "severity_filter.h"
 #include "error_dlg.h"
@@ -839,6 +840,7 @@
       int be = backend_import_report (fname);
       // Manually call counter update
       scopetreestore_counters_update (GTK_TREE_STORE(model), iter, be, NULL);
+      prefs_report_update (arg_get_value (MainDialog, "REPORT"), TRUE);
     }
 }
 



More information about the Openvas-commits mailing list