[gnome-db] Patch for LDAP checks in GdaBrowser



Please consider to add this patch in order to get compiled lastest

master 10270fd02665df9c6d144eb7f9159b5d731d5cfd


--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)
From dc9fff38059919de865722bbd86e7be760ab7583 Mon Sep 17 00:00:00 2001
From: Daniel Espinosa <esodan gmail com>
Date: Thu, 2 Jun 2011 10:51:52 -0500
Subject: [PATCH] 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
-- 
1.7.5.2



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