[Openvas-commits] r2720 - in trunk/openvas-client: . src/gui

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Mar 10 13:09:33 CET 2009


Author: felix
Date: 2009-03-10 13:09:31 +0100 (Tue, 10 Mar 2009)
New Revision: 2720

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/src/gui/nvt_pref_sshlogin.c
   trunk/openvas-client/src/gui/nvt_pref_sshlogin.h
Log:
* src/gui/nvt_pref_sshlogin.c, src/gui/nvt_pref_sshlogin.h
(text_combobox_set_active_text): Made convenient function public,
renamed frame (per-target -> per-host).


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-03-10 12:06:59 UTC (rev 2719)
+++ trunk/openvas-client/ChangeLog	2009-03-10 12:09:31 UTC (rev 2720)
@@ -1,5 +1,11 @@
 2009-03-10  Felix Wolfsteller <felix.wolfsteller at intevation.de>
 
+	* src/gui/nvt_pref_sshlogin.c, src/gui/nvt_pref_sshlogin.h
+	(text_combobox_set_active_text): Made convenient function public,
+	renamed frame (per-target -> per-host).
+
+2009-03-10  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
 	Removed testing-mechanism of global priority switching between NULL
 	and real instantiation.
 	Instead added Checkbox- Menuitem to dis/enable priority filtering.

Modified: trunk/openvas-client/src/gui/nvt_pref_sshlogin.c
===================================================================
--- trunk/openvas-client/src/gui/nvt_pref_sshlogin.c	2009-03-10 12:06:59 UTC (rev 2719)
+++ trunk/openvas-client/src/gui/nvt_pref_sshlogin.c	2009-03-10 12:09:31 UTC (rev 2720)
@@ -96,7 +96,7 @@
  * @param value    String of the active-item-to-be. If NULL, the first item will
  *                 be selected.
  */
-static void
+void
 text_combobox_set_active_text (GtkWidget* combobox, char* value)
 {
   GtkTreeIter iter;
@@ -637,7 +637,7 @@
   GtkWidget* host_key_table;
   struct arglist* targets_gui;
   
-  frame = gtk_frame_new (_("Per-target SSH Key Selection"));
+  frame = gtk_frame_new (_("Per-host SSH Key Selection"));
   host_key_table = gtk_table_new (2, 2, FALSE);
   
   gtk_box_pack_start_defaults (GTK_BOX(vbox), frame);

Modified: trunk/openvas-client/src/gui/nvt_pref_sshlogin.h
===================================================================
--- trunk/openvas-client/src/gui/nvt_pref_sshlogin.h	2009-03-10 12:06:59 UTC (rev 2719)
+++ trunk/openvas-client/src/gui/nvt_pref_sshlogin.h	2009-03-10 12:09:31 UTC (rev 2720)
@@ -47,6 +47,8 @@
 void nvt_pref_sshlogin_update_all_comboboxes (struct context* ctx,
                                               char* newentry);
 
+void text_combobox_set_active_text (GtkWidget* combobox, char*);
+
 gboolean nvt_pref_sshlogin_is_in_use (struct context* ctx, char* login_name);
 
 #endif



More information about the Openvas-commits mailing list