Mailing List Archive

NessusClient/nessus/prefs_dialog prefs_scope_tree.c,1.10,1.11
Update of /usr/local/cvs/NessusClient/nessus/prefs_dialog
In directory raccoon.nessus.org:/tmp/cvs-serv19268/nessus/prefs_dialog

Modified Files:
prefs_scope_tree.c
Log Message:
Extend the meaning of the nessusd_autoconnect preference. Now when you
select a scope, i.e. a context with type CONTEXT_SCOPE, in the scope
tree NessusClient tries to connect immediately.


Index: prefs_scope_tree.c
===================================================================
RCS file: /usr/local/cvs/NessusClient/nessus/prefs_dialog/prefs_scope_tree.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- prefs_scope_tree.c 28 Oct 2005 13:16:16 -0000 1.10
+++ prefs_scope_tree.c 14 Feb 2006 15:51:14 -0000 1.11
@@ -689,6 +689,11 @@
gtk_tree_view_expand_row(gtk_tree_selection_get_tree_view(selection),
path, FALSE);
prefs_context_update(context);
+ if (prefs_get_int(Global, "nessusd_autoconnect") &&
+ (context->type == CONTEXT_SCOPE))
+ {
+ prefs_dialog_auth_connection(context);
+ }
}
return TRUE; /* allow selection state to change */
}

_______________________________________________
Nessus-cvs mailing list
Nessus-cvs@list.nessus.org
http://mail.nessus.org/mailman/listinfo/nessus-cvs