Mailing List Archive

NessusClient/nessus/prefs_dialog prefs_dialog_prefs.c,1.2,1.3
Update of /usr/local/cvs/NessusClient/nessus/prefs_dialog
In directory raccoon.nessus.org:/tmp/cvs-serv50887/nessus/prefs_dialog

Modified Files:
prefs_dialog_prefs.c
Log Message:
Put the plugin cache settings into a separate frame in the preferences
dialog. More preference settings will have to be added soon.


Index: prefs_dialog_prefs.c
===================================================================
RCS file: /usr/local/cvs/NessusClient/nessus/prefs_dialog/prefs_dialog_prefs.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- prefs_dialog_prefs.c 3 Feb 2006 21:31:51 -0000 1.2
+++ prefs_dialog_prefs.c 27 Apr 2006 13:49:34 -0000 1.3
@@ -97,7 +97,7 @@
gtk_widget_show(frame);
gtk_box_pack_start_defaults(GTK_BOX(hbox), frame);

- table = gtk_table_new(2, 1, FALSE);
+ table = gtk_table_new(1, 1, FALSE);
gtk_widget_show(table);
gtk_container_add(GTK_CONTAINER(frame), table);
gtk_container_set_border_width(GTK_CONTAINER(table), 4);
@@ -111,10 +111,21 @@
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_autoconnect),
prefs_get_int(Global, "nessusd_autoconnect"));

+ frame = gtk_frame_new(_("Plugin Cache"));
+ gtk_widget_show(frame);
+ gtk_box_pack_start_defaults(GTK_BOX(vbox), frame);
+
+ table = gtk_table_new(1, 1, FALSE);
+ gtk_widget_show(table);
+ gtk_container_add(GTK_CONTAINER(frame), table);
+ gtk_container_set_border_width(GTK_CONTAINER(table), 4);
+ gtk_table_set_row_spacings(GTK_TABLE(table), 8);
+ gtk_table_set_col_spacings(GTK_TABLE(table), 8);
+
check_cacheplugins = gtk_check_button_new_with_mnemonic(
- _("Cache Plugin Information"));
+ _("Cache plugin information when connecting"));
gtk_widget_show(check_cacheplugins);
- gtk_table_attach_defaults(GTK_TABLE(table), check_cacheplugins, 0, 1, 1, 2);
+ gtk_table_attach_defaults(GTK_TABLE(table), check_cacheplugins, 0, 1, 0, 1);
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check_cacheplugins),
prefs_get_int(Global, "cache_plugin_information"));


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