[libgda] Browser: LDAP perspective corrections



commit e47fb43dc083925781545532b4dddcd54d1384f4
Author: Vivien Malerba <malerba gnome-db org>
Date:   Tue Dec 2 22:28:31 2014 +0100

    Browser: LDAP perspective corrections

 tools/browser/ldap-browser/entry-properties.c |    2 --
 tools/browser/ldap-browser/filter-editor.c    |    4 ++++
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tools/browser/ldap-browser/entry-properties.c b/tools/browser/ldap-browser/entry-properties.c
index edbc14a..d16c3e6 100644
--- a/tools/browser/ldap-browser/entry-properties.c
+++ b/tools/browser/ldap-browser/entry-properties.c
@@ -926,8 +926,6 @@ entry_info_fetched_done (EntryProperties *eprop, GdaLdapEntry *entry)
 
        if (eprop->priv->text_search && gtk_widget_get_visible (eprop->priv->text_search))
                text_search_rerun (TEXT_SEARCH (eprop->priv->text_search));
-
-       g_object_unref (eprop);
 }
 
 /**
diff --git a/tools/browser/ldap-browser/filter-editor.c b/tools/browser/ldap-browser/filter-editor.c
index 52fd134..9122fe4 100644
--- a/tools/browser/ldap-browser/filter-editor.c
+++ b/tools/browser/ldap-browser/filter-editor.c
@@ -167,18 +167,21 @@ filter_editor_new (TConnection *tcnc)
        gtk_grid_attach (GTK_GRID (grid), label, 0, 3, 1, 1);
        
        entry = gtk_entry_new ();
+       gtk_widget_set_hexpand (entry, TRUE);
        gtk_grid_attach (GTK_GRID (grid), entry, 1, 0, 1, 1);
        feditor->priv->base_dn = entry;
        g_signal_connect (entry, "activate",
                          G_CALLBACK (activated_cb), feditor);
 
        entry = gtk_entry_new ();
+       gtk_widget_set_hexpand (entry, TRUE);
        gtk_grid_attach (GTK_GRID (grid), entry, 1, 1, 1, 1);
        feditor->priv->filter = entry;
        g_signal_connect (entry, "activate",
                          G_CALLBACK (activated_cb), feditor);
 
        entry = gtk_entry_new ();
+       gtk_widget_set_hexpand (entry, TRUE);
        gtk_grid_attach (GTK_GRID (grid), entry, 1, 2, 1, 1);
        feditor->priv->attributes = entry;
        g_signal_connect (entry, "activate",
@@ -211,6 +214,7 @@ filter_editor_new (TConnection *tcnc)
 
        gint cols[] = {1};
        entry = gdaui_combo_new_with_model (model, 1, cols);
+       gtk_widget_set_hexpand (entry, TRUE);
        g_object_unref (model);
        gtk_grid_attach (GTK_GRID (grid), entry, 1, 3, 1, 1);
        feditor->priv->scope = entry;


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