[libgda] GdaBrowser: set default values for LDAP search filter and attributes
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] GdaBrowser: set default values for LDAP search filter and attributes
- Date: Sat, 10 Mar 2012 13:34:50 +0000 (UTC)
commit 95adf709ad30121c2394dfeb48bd827c5c1c0415
Author: Vivien Malerba <malerba gnome-db org>
Date: Sat Mar 10 12:08:58 2012 +0100
GdaBrowser: set default values for LDAP search filter and attributes
tools/browser/ldap-browser/filter-editor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tools/browser/ldap-browser/filter-editor.c b/tools/browser/ldap-browser/filter-editor.c
index 0008d9f..8aba12b 100644
--- a/tools/browser/ldap-browser/filter-editor.c
+++ b/tools/browser/ldap-browser/filter-editor.c
@@ -240,8 +240,8 @@ filter_editor_set_settings (FilterEditor *fedit,
g_return_if_fail (IS_FILTER_EDITOR (fedit));
gtk_entry_set_text (GTK_ENTRY (fedit->priv->base_dn), base_dn ? base_dn : "");
- gtk_entry_set_text (GTK_ENTRY (fedit->priv->filter), filter ? filter : "");
- gtk_entry_set_text (GTK_ENTRY (fedit->priv->attributes), attributes ? attributes : "");
+ gtk_entry_set_text (GTK_ENTRY (fedit->priv->filter), filter ? filter : "(cn=*)");
+ gtk_entry_set_text (GTK_ENTRY (fedit->priv->attributes), attributes ? attributes : "cn");
gdaui_data_selector_select_row (GDAUI_DATA_SELECTOR (fedit->priv->scope), scope - 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]