[gnome-db] Patch for LDAP checks in GdaBrowser

Daniel Espinosa <[email protected]>
Newsgroups gmane.comp.gnome.db
Message-ID <[email protected]>
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)

_______________________________________________
gnome-db-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-db-list
0001-Added-checks-for-LDAP-on-table-columns-for-GdaBrowse.patch (text/x-patch, 1014 B)
From dc9fff38059919de865722bbd86e7be760ab7583 Mon Sep 17 00:00:00 2001
From: Daniel Espinosa <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.