[libgda] Added checks for LDAP on table-columns for GdaBrowser



commit 55df952bab4fd58d8f5594ae629edd1de8c0a9a6
Author: Daniel Espinosa <esodan gmail com>
Date:   Thu Jun 2 10:51:52 2011 -0500

    Added checks for LDAP on table-columns for GdaBrowser

 tools/browser/schema-browser/table-columns.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tools/browser/schema-browser/table-columns.c b/tools/browser/schema-browser/table-columns.c
index aa82b00..96caf8d 100644
--- a/tools/browser/schema-browser/table-columns.c
+++ b/tools/browser/schema-browser/table-columns.c
@@ -117,12 +117,14 @@ table_columns_show_all (GtkWidget *widget)
 {
 	TableColumns *tcolumns = (TableColumns *) widget;
         GTK_WIDGET_CLASS (parent_class)->show_all (widget);
+#ifdef HAVE_LDAP
 	if (browser_connection_is_ldap (tcolumns->priv->bcnc)) {
 		if (! tcolumns->priv->ldap_props_shown) {
 			gtk_widget_hide (tcolumns->priv->ldap_header);
 			gtk_widget_hide (tcolumns->priv->ldap_text);
 		}
 	}
+#endif
 }
 
 GType



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