[libgda/gtk3] GdaBrowser: take user preferences more into account



commit 6c7b279f7041f169521bf7ad0a91b045023ad6b8
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sat Nov 27 12:14:24 2010 +0100

    GdaBrowser: take user preferences more into account

 tools/browser/browser-connection.c       |    2 ++
 tools/browser/data-manager/data-source.c |    3 +++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tools/browser/browser-connection.c b/tools/browser/browser-connection.c
index 2ffe328..c695c50 100644
--- a/tools/browser/browser-connection.c
+++ b/tools/browser/browser-connection.c
@@ -2006,6 +2006,8 @@ browser_connection_define_ui_plugins_for_stmt (BrowserConnection *bcnc, GdaState
 				  &data, NULL);
 	
 	gda_sql_statement_free (sqlst);
+
+	/* REM: we also need to handle FK tables to propose a drop down list of possible values */
 }
 
 /**
diff --git a/tools/browser/data-manager/data-source.c b/tools/browser/data-manager/data-source.c
index 3ff38d7..da35bb7 100644
--- a/tools/browser/data-manager/data-source.c
+++ b/tools/browser/data-manager/data-source.c
@@ -1368,6 +1368,9 @@ compute_import_params (DataSource *source)
 #endif
 		}
 
+		browser_connection_define_ui_plugins_for_stmt (source->priv->bcnc, source->priv->stmt,
+							       source->priv->params);
+
 		g_signal_connect (source->priv->params, "holder-changed",
 				  G_CALLBACK (params_changed_cb), source);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]