[libgda] Save authentification information when creating DSN in the control center
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Save authentification information when creating DSN in the control center
- Date: Wed, 14 Jul 2010 15:13:28 +0000 (UTC)
commit 6345725892fe27f1b68bb8d8a09a2bda4f414a9a
Author: Vivien Malerba <malerba gnome-db org>
Date: Wed Jul 14 16:35:57 2010 +0200
Save authentification information when creating DSN in the control center
control-center/gdaui-dsn-assistant.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/control-center/gdaui-dsn-assistant.c b/control-center/gdaui-dsn-assistant.c
index f322f3c..1869b4a 100644
--- a/control-center/gdaui-dsn-assistant.c
+++ b/control-center/gdaui-dsn-assistant.c
@@ -193,7 +193,10 @@ assistant_applied_cb (GtkAssistant *assist, gpointer data)
(GDAUI_PROVIDER_SPEC_EDITOR (assistant->priv->provider_detail));
assistant->priv->dsn_info->description =
g_strdup (gtk_entry_get_text (GTK_ENTRY (assistant->priv->general_description)));
- assistant->priv->dsn_info->auth_string = NULL; TO_IMPLEMENT;
+ assistant->priv->dsn_info->auth_string = NULL;
+ if (assistant->priv->auth_detail)
+ assistant->priv->dsn_info->auth_string =
+ _gdaui_provider_auth_editor_get_auth (GDAUI_PROVIDER_AUTH_EDITOR (assistant->priv->auth_detail));
if (gda_config_can_modify_system_config ())
assistant->priv->dsn_info->is_system = gtk_toggle_button_get_active
(GTK_TOGGLE_BUTTON (assistant->priv->general_is_system));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]