[libgda/LIBGDA_4.2] Rendering improvements



commit f4b4ac5e01699df0464363e46d0c690f089a658d
Author: Vivien Malerba <malerba gnome-db org>
Date:   Wed May 18 15:17:20 2011 +0200

    Rendering improvements

 libgda-ui/gdaui-basic-form.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libgda-ui/gdaui-basic-form.c b/libgda-ui/gdaui-basic-form.c
index c385d5e..79fa181 100644
--- a/libgda-ui/gdaui-basic-form.c
+++ b/libgda-ui/gdaui-basic-form.c
@@ -374,7 +374,7 @@ popup_menu_cb (G_GNUC_UNUSED GtkWidget *wid, GdauiBasicForm *form)
 }
 
 static gboolean
-button_press_event_cb (G_GNUC_UNUSED GdauiBasicForm *wid, GdkEventButton *event, GdauiBasicForm *form)
+button_press_event_cb (G_GNUC_UNUSED GtkWidget *wid, GdkEventButton *event, GdauiBasicForm *form)
 {
 	if (event->button == 3 && event->type == GDK_BUTTON_PRESS) {
 		do_popup_menu (form, event);
@@ -404,6 +404,7 @@ gdaui_basic_form_init (GdauiBasicForm *wid)
 	wid->priv->mainbox = gtk_vbox_new (FALSE, 0);
 	gtk_widget_show (wid->priv->mainbox);
 	gtk_container_add (GTK_CONTAINER (evbox), wid->priv->mainbox);
+	g_object_set (evbox, "visible-window", FALSE, NULL);
 
 	g_signal_connect (evbox, "popup-menu",
 			  G_CALLBACK (popup_menu_cb), wid);



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