[libgda] Misc UI improvements
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Misc UI improvements
- Date: Wed, 22 Aug 2012 19:53:13 +0000 (UTC)
commit 8e41f7cc3cf3663edfb3a16c54d6d936df82278d
Author: Vivien Malerba <malerba gnome-db org>
Date: Wed Aug 22 21:47:54 2012 +0200
Misc UI improvements
libgda-ui/data-entries/gdaui-entry-shell.c | 6 ++----
libgda-ui/gdaui-basic-form.c | 1 +
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/libgda-ui/data-entries/gdaui-entry-shell.c b/libgda-ui/data-entries/gdaui-entry-shell.c
index 9af330c..68497a3 100644
--- a/libgda-ui/data-entries/gdaui-entry-shell.c
+++ b/libgda-ui/data-entries/gdaui-entry-shell.c
@@ -194,12 +194,10 @@ gdaui_entry_shell_init (GdauiEntryShell *shell)
GTK_STYLE_PROVIDER (css_provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
gtk_box_pack_start (GTK_BOX (hbox), shell->priv->embedder, TRUE, TRUE, 0);
- gtk_widget_show (shell->priv->embedder);
-
-
+ gtk_widget_show (shell->priv->embedder);
/* button to change the entry's state and to display that state */
- arrow = gtk_arrow_new (GTK_ARROW_RIGHT, GTK_SHADOW_NONE);
+ arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
gtk_style_context_add_provider (gtk_widget_get_style_context (arrow),
GTK_STYLE_PROVIDER (css_provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
diff --git a/libgda-ui/gdaui-basic-form.c b/libgda-ui/gdaui-basic-form.c
index 64cf9f2..df83568 100644
--- a/libgda-ui/gdaui-basic-form.c
+++ b/libgda-ui/gdaui-basic-form.c
@@ -1051,6 +1051,7 @@ create_entry_widget (SingleEntry *sentry)
gtk_widget_set_tooltip_text (sentry->label, title);
}
+ gtk_widget_set_hexpand (sentry->label, FALSE);
sentry->entry = GDAUI_DATA_ENTRY (entry);
g_object_ref_sink (sentry->entry);
gdaui_data_entry_set_editable (sentry->entry, editable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]