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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 14 09:46:25 CEST 2009


Author: felix
Date: 2009-10-14 09:46:24 +0200 (Wed, 14 Oct 2009)
New Revision: 5532

Modified:
   trunk/openvas-client/ChangeLog
   trunk/openvas-client/src/gui/ssh_keys_dialog.c
Log:
* src/gui/ssh_keys_dialog.c (ssh_keys_dialog_prompt_new) [USE_OMP]
(ssh_keys_dialog_delete_login) [USE_OMP]: When credentials where added
or removed from the lsc credentials manager, update comboboxes in all
Server contexts, too.


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-10-14 07:44:09 UTC (rev 5531)
+++ trunk/openvas-client/ChangeLog	2009-10-14 07:46:24 UTC (rev 5532)
@@ -1,5 +1,12 @@
 2009-10-14  Felix Wolfsteller <felix.wolfsteller at intevation.de>
 
+	* src/gui/ssh_keys_dialog.c (ssh_keys_dialog_prompt_new) [USE_OMP]
+	(ssh_keys_dialog_delete_login) [USE_OMP]: When credentials where added
+	or removed from the lsc credentials manager, update comboboxes in all
+	Server contexts, too.
+
+2009-10-14  Felix Wolfsteller <felix.wolfsteller at intevation.de>
+
 	* src/gui/ssh_keys_dialog.c: Minor cosmetics.
 
 2009-10-13  Matthew Mundell <matthew.mundell at intevation.de>

Modified: trunk/openvas-client/src/gui/ssh_keys_dialog.c
===================================================================
--- trunk/openvas-client/src/gui/ssh_keys_dialog.c	2009-10-14 07:44:09 UTC (rev 5531)
+++ trunk/openvas-client/src/gui/ssh_keys_dialog.c	2009-10-14 07:46:24 UTC (rev 5532)
@@ -176,6 +176,9 @@
 
       // Rebuild the GUIS in scopes
       nvt_pref_sshlogin_rebuild_all (Global);
+#ifdef USE_OMP
+      nvt_pref_sshlogin_rebuild_all (Servers);
+#endif
     }
   // else: Do nothing, user does not want to delete that account.
 }
@@ -265,6 +268,9 @@
 
       ssh_keys_dialog_add_key (NULL, loginfo, notebook);
       nvt_pref_sshlogin_update_all_comboboxes (Global, loginfo->name);
+#ifdef USE_OMP
+      nvt_pref_sshlogin_update_all_comboboxes (Servers, loginfo->name);
+#endif
       break;
       }
     default:



More information about the Openvas-commits mailing list