[libgda/LIBGDA_4.2] Added checks for LDAP on table-columns for GdaBrowser



commit f8042173c2139f65c69502a393fb44e00124ecc6
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 80cdaee..26ad771 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]