[libgda] Misc UI corrections



commit f7480bfb97295d20a1b3551c246e5f006e1a12bf
Author: Vivien Malerba <malerba gnome-db org>
Date:   Thu Aug 23 21:17:08 2012 +0200

    Misc UI corrections

 libgda-ui/data-entries/gdaui-entry-shell.c |    2 +-
 libgda-ui/gdaui-server-operation.c         |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libgda-ui/data-entries/gdaui-entry-shell.c b/libgda-ui/data-entries/gdaui-entry-shell.c
index 68497a3..6f3c8b3 100644
--- a/libgda-ui/data-entries/gdaui-entry-shell.c
+++ b/libgda-ui/data-entries/gdaui-entry-shell.c
@@ -205,7 +205,7 @@ gdaui_entry_shell_init (GdauiEntryShell *shell)
 	button = gtk_button_new ();
 	gtk_style_context_add_provider (gtk_widget_get_style_context (button),
 					GTK_STYLE_PROVIDER (css_provider),
-					GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
+					G_MAXUINT);
 
 	gtk_container_add (GTK_CONTAINER (button), arrow);
 	gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, TRUE, 0);
diff --git a/libgda-ui/gdaui-server-operation.c b/libgda-ui/gdaui-server-operation.c
index 090be51..94fa055 100644
--- a/libgda-ui/gdaui-server-operation.c
+++ b/libgda-ui/gdaui-server-operation.c
@@ -420,6 +420,7 @@ fill_create_widget (GdauiServerOperation *form, const gchar *path, gchar **secti
 
 		plist = info_node->plist;
 		plwid = gdaui_basic_form_new (plist);
+		gdaui_basic_form_set_unknown_color (GDAUI_BASIC_FORM (plwid), 0., 0., 0., 0.);
 		g_object_set ((GObject*) plwid, "show-actions", FALSE, NULL);
 
 		if (section_str) {
@@ -523,6 +524,7 @@ fill_create_widget (GdauiServerOperation *form, const gchar *path, gchar **secti
 		plist = gda_set_new (list);
 		g_slist_free (list);
 		plwid = gdaui_basic_form_new (plist);
+		gdaui_basic_form_set_unknown_color (GDAUI_BASIC_FORM (plwid), 0., 0., 0., 0.);
 		g_object_set ((GObject*) plwid, "show-actions", FALSE, NULL);
 		/* we don't need plist anymore */
 		g_object_unref (plist);



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